Skip to content

Commit

Permalink
Inert acts on the flat tree, not shadow-including descendants.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Boxhall committed Nov 15, 2019
1 parent c999727 commit f538a12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<ul class="brief">
<li><dfn data-x-href="https://w3c.github.io/touch-events/#touch-interface"><code>Touch</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/touch-events/#dfn-touch-point">Touch point</dfn> concept</li>
<li><dfn data-x="event-touchstart" data-x-href="https://w3c.github.io/touch-events/#event-touchstart"><code>touchstart</code></dfn> event</li>
<li><dfn data-x="event-touchend" data-x-href="https://w3c.github.io/touch-events/#event-touchend"><code>touchend</code></dfn> event</li>
</ul>

Expand Down Expand Up @@ -3926,7 +3925,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<p>The following terms are defined in the <cite>CSS Scoping</cite>: <ref spec=CSSSCOPING></p>

<ul class="brief">
<li><dfn data-x-href="https://drafts.csswg.org/css-scoping/#flat-tree">flat tree</dfn></li>
<li><dfn id="flat-tree" data-x-href="https://drafts.csswg.org/css-scoping/#flat-tree">flat tree</dfn></li>
</ul>

</dd>
Expand Down Expand Up @@ -73265,7 +73264,7 @@ END:VCARD</pre>
<li><p>Let <var>ineligible</var> be an empty list.</p></li>
<li>
<p>While <var>candidate</var> is <span>inert</span>, or <var>candidate</var> is not an an
ancestor of <var>originalElement</var>:</p>
ancestor of <var>originalElement</var> in the <span>flat tree</span>:</p>
<ol>
<li><p>Add <var>candidate</var> to <var>ineligible</var>.</p></li>
<li><p>Set <var>candidate</var> to the element which would be the <span
Expand Down Expand Up @@ -73332,7 +73331,8 @@ END:VCARD</pre>
made <span>inert</span>.</p>

<p w-nodev>While an element has an <code data-x="attr-inert">inert</code> attribute, the user
agent must mark that element and all its shadow-including descendants as <span>inert</span>.</p>
agent must mark that element and all its <span>flat tree</span> descendants as
<span>inert</span>.</p>

<p class="note">By default, there is no persistent visual indication of a subtree being inert.
Authors are encouraged to clearly mark what parts of their document are active and which are
Expand Down

0 comments on commit f538a12

Please sign in to comment.