Skip to content

Commit

Permalink
Clarify that <details> toggle events happen during parsing
Browse files Browse the repository at this point in the history
Closes #4500.
  • Loading branch information
domenic committed Nov 1, 2023
1 parent 3fa726a commit 8ff99f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -60154,6 +60154,9 @@ interface <dfn interface>HTMLDetailsElement</dfn> : <span>HTMLElement</span> {
<var>insertedNode</var>.</p></li>
</ol>

<p class="note">To be clear, these attribute change and insertion steps also run when an attribute
or element is inserted via the parser.</p>

<p>To <dfn>queue a details toggle event task</dfn> given a <code>details</code> element
<var>element</var>, a string <var>oldState</var>, and a string <var>newState</var>:

Expand Down

0 comments on commit 8ff99f8

Please sign in to comment.