Skip to content

Commit

Permalink
Disallow interactive content in <summary>.
Browse files Browse the repository at this point in the history
This changes the content model for <summary> to have the same restriction on interactive content that is present for the content model of <button>.  This affects conformance for documents but not for user agents.

Fixes whatwg#2272.
  • Loading branch information
dbaron committed Jun 1, 2023
1 parent 41a2b50 commit a7081ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -59639,7 +59639,9 @@ interface <dfn interface>HTMLDetailsElement</dfn> : <span>HTMLElement</span> {
<dt><span data-x="concept-element-contexts">Contexts in which this element can be used</span>:</dt>
<dd>As the <span>first child</span> of a <code>details</code> element.</dd>
<dt><span data-x="concept-element-content-model">Content model</span>:</dt>
<dd><span>Phrasing content</span>, optionally intermixed with <span>heading content</span>.</dd>
<dd><span>Phrasing content</span>, optionally intermixed with <span>heading content</span>,
but there must be no <span>interactive content</span> descendant and no descendant with the
<code data-x="attr-tabindex">tabindex</code> attribute specified.</dd>
<dt><span data-x="concept-element-attributes">Content attributes</span>:</dt>
<dd><span>Global attributes</span></dd>
<dt><span
Expand Down

0 comments on commit a7081ca

Please sign in to comment.