Skip to content

Commit

Permalink
Fix step placement
Browse files Browse the repository at this point in the history
Step should happen within "If documentIsNew" block like
fragment-scroll.
  • Loading branch information
David Awogbemila committed Nov 15, 2024
1 parent b5b44c8 commit ae81ba7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -103721,12 +103721,13 @@ location.href = '#foo';</code></pre>
</ol>
</li>

<li><span>Update the initial scroll positions for scroll containers</span> in <var>document</var>.</li>

<li>
<p>If <var>documentIsNew</var> is true, then:

<ol>
<li><p><span>Update the initial scroll positions for scroll containers</span> in
<var>document</var>.</p></li>

<li><p><span>Try to scroll to the fragment</span> for <var>document</var>.</p></li>

<li><p>At this point <dfn>scripts may run for the newly-created document</dfn>
Expand Down

0 comments on commit ae81ba7

Please sign in to comment.