You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This callback will be invoked when there are changes to <a for="IntersectionObserver">target</a>'s
183
+
This callback will be invoked when there are changes to a <a for="IntersectionObserver">target</a>'s
184
184
intersection with the <a>intersection root</a>, as per the
185
185
<a>processing model</a>.
186
186
@@ -202,7 +202,7 @@ and it can observe any <a for="IntersectionObserver">target</a> {{Element}} that
202
202
{{IntersectionObserver/root}} in the <a>containing block chain</a>.
203
203
An {{IntersectionObserver}} with a <code>null</code>{{IntersectionObserver/root}}
204
204
is referred to as an <dfn for="IntersectionObserver">implicit root observer</dfn>.
205
-
Valid <a for="IntersectionObserver">targets</a> for an <a>implicit root observer</a> include
205
+
Valid <a for="IntersectionObserver">target</a>s for an <a>implicit root observer</a> include
206
206
any {{Element}} in the <a>top-level browsing context</a>,
207
207
as well as any {{Element}} in any <a>nested browsing context</a>
208
208
which is in the <a>list of the descendant browsing contexts</a> of the <a>top-level browsing context</a>.
@@ -748,19 +748,19 @@ run these steps:
748
748
<h4 id='calculate-visibility-algo'>
749
749
Compute whether a Target is unoccluded, untransformed, unfiltered, and opaque.</h4>
750
750
751
-
To compute the <dfn>visibility</dfn> of a {{IntersectionObserver/target}}, run these steps:
751
+
To compute the <dfn>visibility</dfn> of a <a for="IntersectionObserver">target</a>, run these steps:
752
752
1. If the |observer|'s {{IntersectionObserver/trackVisibility}} attribute is false, return true.
753
-
2. If the {{IntersectionObserver/target}} has an <a>effective transformation matrix</a> other than a 2D translation or proportional 2D upscaling, return false.
754
-
3. If the {{IntersectionObserver/target}}, or any element in its <a>containing block chain</a>, has an effective opacity other than 100%, return false.
755
-
4. If the {{IntersectionObserver/target}}, or any element in its <a>containing block chain</a>, has any filters applied, return false.
756
-
5. If the implementation cannot guarantee that the {{IntersectionObserver/target}} is completely unoccluded by other page content, return false.
753
+
2. If the <a for="IntersectionObserver">target</a> has an <a>effective transformation matrix</a> other than a 2D translation or proportional 2D upscaling, return false.
754
+
3. If the <a for="IntersectionObserver">target</a>, or any element in its <a>containing block chain</a>, has an effective opacity other than 100%, return false.
755
+
4. If the <a for="IntersectionObserver">target</a>, or any element in its <a>containing block chain</a>, has any filters applied, return false.
756
+
5. If the implementation cannot guarantee that the <a for="IntersectionObserver">target</a> is completely unoccluded by other page content, return false.
757
757
758
-
Note: Implementations should use the <a>ink overflow rectangle</a> of page content when determining whether a {{IntersectionObserver/target}} is occluded. For blur effects, which have theoretically infinite extent, the <a>ink overflow rectangle</a> is defined by the finite-area approximation described for the <a>blur</a> filter function.
758
+
Note: Implementations should use the <a>ink overflow rectangle</a> of page content when determining whether a <a for="IntersectionObserver">target</a> is occluded. For blur effects, which have theoretically infinite extent, the <a>ink overflow rectangle</a> is defined by the finite-area approximation described for the <a>blur</a> filter function.
759
759
760
760
6. Return true.
761
761
762
-
<h4 id='calculate-effective-transformation-matrix'>Calculate a {{IntersectionObserver/target}}'s Effective Transformation Matrix</h4>
763
-
To compute the <dfn>effective transformation matrix</dfn> of a {{IntersectionObserver/target}}, run these steps:
762
+
<h4 id='calculate-effective-transformation-matrix'>Calculate a <a for="IntersectionObserver">target</a>'s Effective Transformation Matrix</h4>
763
+
To compute the <dfn>effective transformation matrix</dfn> of a <a for="IntersectionObserver">target</a>, run these steps:
764
764
1. Let |matrix| be the <a>serialization</a> of the <a>identity transform function</a>.
765
765
2. Let |container| be the target.
766
766
3. While |container| is not the <a>intersection root</a>:
0 commit comments