From fc4040fe5dcb3312c17046299d6de7eea59dba04 Mon Sep 17 00:00:00 2001 From: Stefan Zager Date: Wed, 20 Mar 2024 14:28:18 -0700 Subject: [PATCH] done --- index.bs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/index.bs b/index.bs index 2a8d71d..5570f43 100644 --- a/index.bs +++ b/index.bs @@ -180,7 +180,7 @@ The IntersectionObserverCallback callback IntersectionObserverCallback = undefined (sequence<IntersectionObserverEntry> entries, IntersectionObserver observer); -This callback will be invoked when there are changes to target's +This callback will be invoked when there are changes to a target's intersection with the intersection root, as per the processing model. @@ -202,7 +202,7 @@ and it can observe any target {{Element}} that {{IntersectionObserver/root}} in the containing block chain. An {{IntersectionObserver}} with a null {{IntersectionObserver/root}} is referred to as an implicit root observer. -Valid targets for an implicit root observer include +Valid targets for an implicit root observer include any {{Element}} in the top-level browsing context, as well as any {{Element}} in any nested browsing context which is in the list of the descendant browsing contexts of the top-level browsing context. @@ -748,19 +748,19 @@ run these steps:

Compute whether a Target is unoccluded, untransformed, unfiltered, and opaque.

-To compute the visibility of a {{IntersectionObserver/target}}, run these steps: +To compute the visibility of a target, run these steps: 1. If the |observer|'s {{IntersectionObserver/trackVisibility}} attribute is false, return true. -2. If the {{IntersectionObserver/target}} has an effective transformation matrix other than a 2D translation or proportional 2D upscaling, return false. -3. If the {{IntersectionObserver/target}}, or any element in its containing block chain, has an effective opacity other than 100%, return false. -4. If the {{IntersectionObserver/target}}, or any element in its containing block chain, has any filters applied, return false. -5. If the implementation cannot guarantee that the {{IntersectionObserver/target}} is completely unoccluded by other page content, return false. +2. If the target has an effective transformation matrix other than a 2D translation or proportional 2D upscaling, return false. +3. If the target, or any element in its containing block chain, has an effective opacity other than 100%, return false. +4. If the target, or any element in its containing block chain, has any filters applied, return false. +5. If the implementation cannot guarantee that the target is completely unoccluded by other page content, return false. -Note: Implementations should use the ink overflow rectangle of page content when determining whether a {{IntersectionObserver/target}} is occluded. For blur effects, which have theoretically infinite extent, the ink overflow rectangle is defined by the finite-area approximation described for the blur filter function. +Note: Implementations should use the ink overflow rectangle of page content when determining whether a target is occluded. For blur effects, which have theoretically infinite extent, the ink overflow rectangle is defined by the finite-area approximation described for the blur filter function. 6. Return true. -

Calculate a {{IntersectionObserver/target}}'s Effective Transformation Matrix

-To compute the effective transformation matrix of a {{IntersectionObserver/target}}, run these steps: +

Calculate a target's Effective Transformation Matrix

+To compute the effective transformation matrix of a target, run these steps: 1. Let |matrix| be the serialization of the identity transform function. 2. Let |container| be the target. 3. While |container| is not the intersection root: