@@ -1994,6 +1994,18 @@ Suppressing An Element's Contents Entirely: the 'content-visibility' property {#
19941994 When the element becomes disconnected, the element's [=proximity to the viewport=] becomes [=not determined=] .
19951995 </div>
19961996
1997+ <div>
1998+ All elements have a <dfn>currently relevant to the user</dfn> flag, initially false.
1999+ </div>
2000+
2001+ <div algorithm="update content relevancy for a document">
2002+ To <dfn export>update content relevancy for a document</dfn> <var> doc</var> :
2003+
2004+ 1. For each <var> element</var> [=connected=] to doc with ''auto'' used value of ''content-visibility''
2005+ 1. If <var> element</var> is [=relevant to the user=] , then set <var> element</var> 's [=currently relevant to the user=] flag to true.
2006+ 1. Otherwise, set <var> element</var> 's [=currently relevant to the user=] flag to false.
2007+ </div>
2008+
19972009 <div algorithm>
19982010 An element is <dfn export>relevant to the user</dfn>
19992011 if <strong> any</strong> of the following conditions are true:
@@ -2308,14 +2320,7 @@ Restrictions and Clarifications {#cv-notes}
23082320 </wpt>
23092321
231023223. If an element starts or stops [=skipped contents|skipping its contents=] ,
2311- this change happens
2312- after the requestAnimationFrame callbacks
2313- of the frame that renders the effects of the change
2314- have run.
2315- Specifically, such changes will take effect between steps 13 and 14
2316- of [=update the rendering=] step of the Processing Model
2317- (between “run the animation frame callbacks”
2318- and “run the update intersection observations steps”).
2323+ this change happens when [=update content relevancy for a document=] runs.
23192324
23202325 <div class=note>
23212326 Determining the viewport intersection of the element
0 commit comments