Skip to content

Commit

Permalink
Editorial: pass a settings object as needed when revealing a document
Browse files Browse the repository at this point in the history
These algorithm expect to be called with a settings object, not a document.
  • Loading branch information
Ms2ger committed Sep 26, 2024
1 parent 9a9eb43 commit 1396a63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -103317,11 +103317,13 @@ location.href = '#foo';</code></pre>
<p>If <var>transition</var> is not null, then:</p>

<ol>
<li><p><span>Prepare to run script</span> given <var>document</var>.</p></li>
<li><p><span>Prepare to run script</span> given <var>document</var>'s
<span>relevant settings object</span>.</p></li>

<li><p><span data-x="activate view transition">Activate</span> <var>transition</var>.</p></li>

<li><p><span>Clean up after running script</span> given <var>document</var>.</p></li>
<li><p><span>Clean up after running script</span> given <var>document</var>'s
<span>relevant settings object</span>.</p></li>
</ol>

<p class="note">Activating a view transition might resolve/reject promises, so by wrapping the
Expand Down

0 comments on commit 1396a63

Please sign in to comment.