diff --git a/source b/source index f5417730b87..f2a2180be1c 100644 --- a/source +++ b/source @@ -4045,8 +4045,11 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
Recalculate styles and update layout for doc.
Let depth be 0.
Gather active resize observations at depth depth for - doc.
Let resizeObserverDepth be 0.
While doc has active resize observations:
+While true:
Set depth to the result of - broadcasting active resize - observations given doc.
Recalculate styles and update layout for doc.
Gather active resize observations at depth depth for +
Let hadInitialVisibleContentVisibilityDetermination be false.
For each element element with 'auto' used value of 'content-visibility':
+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 element.
If checkForInitialDetermination is true and element is now relevant to the user, + then set hadInitialVisibleContentVisibilityDetermination to true.
If hadInitialVisibleContentVisibilityDetermination is true, then continue.
+ +Gather active resize observations at depth resizeObserverDepth for doc.
If doc has active resize observations:
+ +Set resizeObserverDepth to the result of + broadcasting active resize + observations given doc.