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.
Tests: web-platform-tests/wpt#16244

Also moves the task source inline, per #4506.
  • Loading branch information
domenic committed Apr 26, 2019
1 parent b1b08e1 commit 87ba779
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 @@ -56959,9 +56959,9 @@ interface <dfn>HTMLDetailsElement</dfn> : <span>HTMLElement</span> {
affordance.</p>

<p>Whenever the <code data-x="attr-details-open">open</code> attribute is added to or removed from
a <code>details</code> element, the user agent must <span>queue a task</span> that runs the
following steps, which are known as the <dfn>details notification task steps</dfn>, for this
<code>details</code> element:</p>
a <code>details</code> element, the user agent must <span>queue a task</span> on the <span>DOM
manipulation task source</span> to run the following steps, which are known as the <dfn>details
notification task steps</dfn>, for this <code>details</code> element:</p>

<ol>

Expand All @@ -56982,8 +56982,7 @@ interface <dfn>HTMLDetailsElement</dfn> : <span>HTMLElement</span> {

</ol>

<p>The <span>task source</span> for this task must be the <span>DOM manipulation task
source</span>.</p>
<p class="note">To be clear, this also happens when the attribute is added via the parser.</p>

<p>The <dfn><code data-x="dom-details-open">open</code></dfn> IDL attribute must
<span>reflect</span> the <code data-x="attr-details-open">open</code> content attribute.</p>
Expand Down

0 comments on commit 87ba779

Please sign in to comment.