From 29a66440da4f2f91ca6c77f8915c10915e61f38b Mon Sep 17 00:00:00 2001
From: Vladimir Levin
Recalculate styles and update layout for doc.
Let resize observer depth be 0.
Let depth be 0.
While true:
-Gather active resize observations at depth depth for - doc.
Recalculate styles and update layout for doc.
While doc has active resize observations:
+If there are elements with content-visibility
+ used value of auto
whose viewport proximity has not been
+ previously determined for the purposes of being
+ relevant to the user.:
-
Set depth to the result of - broadcasting active resize - observations given doc.
Synchronously determine viewport proximity of all such elements.
Recalculate styles and update layout for doc.
If any such determination resulted in an element being relevant to the user, continue.
Gather active resize observations at depth depth for +
Gather active resize observations at depth resize observer depth for doc.
If doc has active resize observations:
+ +Set resize observer depth to the result of + broadcasting active resize + observations given doc.
continue
break
If doc has skipped resize observations, then deliver - resize loop error given doc.
If doc has skipped resize observations, then deliver + resize loop error given doc.
For each fully active Document
in docs, if the focused area of that Document
is
From bd8fb54daadffce90a374278c0714d95d4f23fc7 Mon Sep 17 00:00:00 2001
From: Vladimir Levin
Let resize observer depth be 0.
Let resizeObserverDepth be 0.
While true:
+While true:
Recalculate styles and update layout for doc.
If there are elements with content-visibility
- used value of auto
whose viewport proximity has not been
- previously determined for the purposes of being
+
If there are elements with 'content-visibility' used value of + 'auto' whose viewport proximity has not been previously determined for + the purposes of being relevant to the user.:
Synchronously determine viewport proximity of all such elements.
Determine viewport proximity of all such elements.
If any such determination resulted in an element being relevant to the user, continue.
If any such determination resulted in an element being relevant to the user, continue.
Gather active resize observations at depth resize observer depth for +
Gather active resize observations at depth resizeObserverDepth for doc.
If doc has active resize observations:
Set resize observer depth to the result of +
Set resizeObserverDepth to the result of broadcasting active resize observations given doc.
continue
break
Determine viewport proximity of all such elements.
Determine viewport proximity of all such elements.
If any such determination resulted in an element being relevant to the user, continue.
If any such determination resulted in an element being relevant to the user, continue.
Gather active resize observations at depth resizeObserverDepth for @@ -101843,25 +101843,24 @@ import "https://example.com/foo/../module2.mjs";
If doc has active resize observations:
-Set resizeObserverDepth to the result of - broadcasting active resize - observations given doc.
Set resizeObserverDepth to the result of + broadcasting active resize + observations given doc.
If doc has skipped resize observations, then deliver - resize loop error given doc.
If doc has skipped resize observations, then deliver + resize loop error given doc.
For each fully active Recalculate styles and update layout for doc. If there are elements with 'content-visibility' used value of
- 'auto' whose viewport proximity has not been previously determined for
+ If there are elements with 'auto' computed value of 'content-visibility'
+ whose viewport proximity has not been previously determined for
the purposes of being
- relevant to the user.:
+ relevant to the user:
Determine viewport proximity of all such elements. If any such determination resulted in an element being relevant to the user, continue. If any such determination resulted in an element being relevant to the user, Continue.Document
in docs, if the focused area of that Document
is
From 7514d0d00d51f874a0ec8629b27535cc8450b43c Mon Sep 17 00:00:00 2001
From: Vladimir Levin
Recalculate styles and update layout for doc.
If there are elements with 'auto' computed value of 'content-visibility' - whose viewport proximity has not been previously determined for - the purposes of being - relevant to the user: +
Let hadInitialVisibleContentVisibilityDetermination be false.
For each element with 'auto' used value of 'content-visibility':
Determine viewport proximity of all such elements.
Determine proximity to the viewport for the element.
If any such determination resulted in an element being relevant to the user, Continue.
If prior to this determination, the element's proximity + to the viewport was not determined and it was not relevant + to the user and now the element is relevant to the + user, set + hadInitialVisibleContentVisibilityDetermination to true.
If hadInitialVisibleContentVisibilityDetermination is true, Continue. + +
Gather active resize observations at depth resizeObserverDepth for doc.
Determine proximity to the viewport for the element.
If prior to this determination, the element's proximity - to the viewport was not determined and it was not relevant - to the user and now the element is relevant to the - user, set - hadInitialVisibleContentVisibilityDetermination to true. +
If the element is now relevant to the user:
+If prior to this determination, the element's proximity + to the viewport was not determined and it was not relevant + to the user:
+Set hadInitialVisibleContentVisibilityDetermination to true.
For each element with 'auto' used value of 'content-visibility':
Let checkForInitialDetermination be true if the element's + proximity to the viewport is not determined and it is not relevant to the user. + Otherwise, let checkForInitialDetermination be false.
Determine proximity to the viewport for the element.
If the element is now relevant to the user:
-If prior to this determination, the element's proximity - to the viewport was not determined and it was not relevant - to the user:
-Set hadInitialVisibleContentVisibilityDetermination to true.
If checkForInitialDetermination is true and the element is now relevant to the user, + then set hadInitialVisibleContentVisibilityDetermination to true.
Determine proximity to the viewport for the element.
If checkForInitialDetermination is true and the element is now relevant to the user, - then set hadInitialVisibleContentVisibilityDetermination to true.
Let hadInitialVisibleContentVisibilityDetermination be false.
For each element with 'auto' used value of 'content-visibility': +
For each element element with 'auto' used value of 'content-visibility':
Let checkForInitialDetermination be true if the element's +
Let checkForInitialDetermination be true if element's proximity to the viewport is not determined and it is not relevant to the user. Otherwise, let checkForInitialDetermination be false.
Determine proximity to the viewport for the element.
Determine proximity to the viewport for element.
If checkForInitialDetermination is true and the element is now relevant to the user, +
If checkForInitialDetermination is true and element is now relevant to the user, then set hadInitialVisibleContentVisibilityDetermination to true.
If hadInitialVisibleContentVisibilityDetermination is true, Continue. +
If hadInitialVisibleContentVisibilityDetermination is true, then continue.
-Gather active resize observations at depth resizeObserverDepth for doc.