Skip to content

Commit

Permalink
Iterate flat tree with tree order
Browse files Browse the repository at this point in the history
  • Loading branch information
David Awogbemila committed Jan 20, 2025
1 parent 50a9b55 commit aef780c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -104738,13 +104738,12 @@ location.href = '#foo';</code></pre>
<code>Document</code> <var>document</var>:</p>

<ol>
<li><p>Let <var>scrollers</var> be a <span>list</span> of every element which is a
<span>flat tree</span> descendant of <var>document</var>
and establishes a <span data-x="scrolling box">scrolling box</span>.</p></li>
<li><p>Let <var>scrollers</var> be the <span>list</span> obtained by performing a
<span>tree order</span> traversal of <var>document</var>'s <span>flat tree</span>, and filtering
to keep only the elements that establish a <span>scrolling box</span>.</p></li>

<li>
<p><span data-x="list iterate">For each</span> <var>scroller</var> of <var>scrollers</var>, in
<span>shadow-including tree order</span>:</p>
<p><span data-x="list iterate">For each</span> <var>scroller</var> of <var>scrollers</var>:</p>

<ol>
<li><p><span>Update the initial scroll position</span> for <var>scroller</var>.</p></li>
Expand Down

0 comments on commit aef780c

Please sign in to comment.