diff --git a/source b/source index 6dfd456974a..ae535a1eebc 100644 --- a/source +++ b/source @@ -4063,6 +4063,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
resize eventscroll eventscrollend eventLet resizeObserverDepth be 0.
Let didRunSnapshotPostLayoutStateSteps be false.
While true:
@@ -114579,37 +114581,17 @@ import "https://example.com/foo/../module2.mjs";Recalculate styles and update layout for doc.
Let hadInitialVisibleContentVisibilityDetermination be false.
For each element element with 'auto' used value of - 'content-visibility':
- +If didRunSnapshotPostLayoutStateSteps is false:
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.
Run snapshot post-layout state steps for doc. CSSOMVIEW
Determine proximity to the viewport for element.
Set didRunSnapshotPostLayoutStateSteps to true
If checkForInitialDetermination is true and element is now - relevant to the user, then set - hadInitialVisibleContentVisibilityDetermination to true.
If any snapshotted state changed, then continue.
If hadInitialVisibleContentVisibilityDetermination is true, then - continue.
- -The intent of this step is for the initial viewport proximity - determination, which takes effect immediately, to be reflected in the style and layout - calculation which is carried out in a previous step of this loop. Proximity - determinations other than the initial one take effect at the next rendering - opportunity. CSSCONTAIN
-Set didRunSnapshotPostLayoutStateSteps to false.
Gather active resize observations at depth resizeObserverDepth for doc.