@@ -1999,15 +1999,13 @@ Suppressing An Element's Contents Entirely: the 'content-visibility' property {#
19991999 </div>
20002000
20012001 <div algorithm="update content relevancy for a document">
2002- To <dfn export>update content relevancy for a document</dfn> given a document <var> doc</var> , and a boolean <var> isFirstIteration </var> :
2002+ To <dfn export>update content relevancy for a document</dfn> given a document <var> doc</var> , and a boolean <var> updateNonInitial </var> :
20032003
20042004 1. Let <var> changed</var> be false.
20052005 1. For each <var> element</var> [=connected=] to doc with ''auto'' used value of ''content-visibility''
2006- 1. Determine proximity to the viewport for <var> element</var> .
2007- 1. If <var> element</var> is not [=currently relevant to the user=] and <var> element</var> is [=relevant to the user=] , then:
2008- 2. Set <var> changed</var> to true.
2009- 2. Set <var> element</var> 's [=currently relevant to the user=] flag to true.
2010- 1. If <var> isFirstIteration</var> is false, then [=continue=] .
2006+ 1. Let <var> isInitialDetermination</var> be true if <var> element</var> 's [=proximity to the viewport=] is [=not determined=] , otherwise false.
2007+ 1. Determine [=proximity to the viewport=] for <var> element</var> .
2008+ 1. If <var> updateNonInitial</var> is false and <var> isInitialDetermination</var> is false, then [=continue=] .
20112009 1. If <var> element</var> is [=relevant to the user=] , then:
20122010 1. If <var> element</var> 's [=currently relevant to the user=] flag is false, set <var> changed</var> to true.
20132011 1. Set <var> element</var> 's [=currently relevant to the user=] flag to true.
@@ -2017,10 +2015,12 @@ Suppressing An Element's Contents Entirely: the 'content-visibility' property {#
20172015 1. return <var> changed</var> .
20182016
20192017 <div class=note>
2020- The intent of the <var> changed</var> variable is for the initial viewport
2021- proximity determination, which takes effect immediately, to be reflected in
2022- the style and layout calculation which is carried out in a previous step of
2023- this loop. Proximity determinations other than the initial one take effect
2018+ The intent of the <var> changed</var> and <var> updateNonInitial</var>
2019+ variables is for the initial viewport proximity determination, which takes
2020+ effect immediately, to be reflected in the style and layout calculation
2021+ this frame.
2022+
2023+ Proximity determinations other than the initial one take effect
20242024 at the next rendering opportunity.
20252025 </div>
20262026 </div>
0 commit comments