Skip to content

Commit fc4040f

Browse files
done
1 parent 1f4c8dd commit fc4040f

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

index.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ The IntersectionObserverCallback</h3>
180180
callback IntersectionObserverCallback = undefined (sequence&lt;IntersectionObserverEntry> entries, IntersectionObserver observer);
181181
</pre>
182182

183-
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
184184
intersection with the <a>intersection root</a>, as per the
185185
<a>processing model</a>.
186186

@@ -202,7 +202,7 @@ and it can observe any <a for="IntersectionObserver">target</a> {{Element}} that
202202
{{IntersectionObserver/root}} in the <a>containing block chain</a>.
203203
An {{IntersectionObserver}} with a <code>null</code> {{IntersectionObserver/root}}
204204
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
206206
any {{Element}} in the <a>top-level browsing context</a>,
207207
as well as any {{Element}} in any <a>nested browsing context</a>
208208
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:
748748
<h4 id='calculate-visibility-algo'>
749749
Compute whether a Target is unoccluded, untransformed, unfiltered, and opaque.</h4>
750750

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:
752752
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.
757757

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.
759759

760760
6. Return true.
761761

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:
764764
1. Let |matrix| be the <a>serialization</a> of the <a>identity transform function</a>.
765765
2. Let |container| be the target.
766766
3. While |container| is not the <a>intersection root</a>:

0 commit comments

Comments
 (0)