Skip to content

Commit

Permalink
Remove list of forbidden events, and clarify behaviour for shadow tre…
Browse files Browse the repository at this point in the history
…es and iframes
  • Loading branch information
Alice Boxhall committed Apr 12, 2019
1 parent 42fe0c2 commit 2dacebe
Showing 1 changed file with 9 additions and 41 deletions.
50 changes: 9 additions & 41 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -72475,39 +72475,7 @@ END:VCARD</pre>

<ul>
<li>
<p>The user agent must not fire any of the following events on the node:</p>
<ul>
<li><p><code data-x="event-blur">blur</code></p></li>
<li><p><code data-x="event-focus">focus</code></p></li>
<li><p><code data-x="event-focusin">focusin</code></p></li>
<li><p><code data-x="event-focusout">focusout</code></p></li>
<li><p><code data-x="event-auxclick">auxclick</code></p></li>
<li><p><code data-x="event-click">click</code></p></li>
<li><p><code data-x="event-dblclick">dblclick</code></p></li>
<li><p><code data-x="event-mousedown">mousedown</code></p></li>
<li><p><code data-x="event-mouseenter">mouseenter</code></p></li>
<li><p><code data-x="event-mouseleave">mouseleave</code></p></li>
<li><p><code data-x="event-mousemove">mousemove</code></p></li>
<li><p><code data-x="event-mouseout">mouseout</code></p></li>
<li><p><code data-x="event-mouseover">mouseover</code></p></li>
<li><p><code data-x="event-mouseup">mouseup</code></p></li>
<li><p><code data-x="event-touchstart">touchstart</code></p></li>
<li><p><code data-x="event-touchend">touchend</code></p></li>
<li><p><code data-x="event-touchmove">touchmove</code></p></li>
<li><p><code data-x="event-touchcancel">touchcancel</code></p></li>
<li><p><code data-x="event-wheel">wheel</code></p></li>
<li><p><code data-x="event-beforeinput">beforeinput</code></p></li>
<li><p><code data-x="event-input">input</code></p></li>
<li><p><code data-x="event-keydown">keydown</code></p></li>
<li><p><code data-x="event-keyup">keyup</code></p></li>
<li><p><code data-x="event-compositionstart">compositionstart</code></p></li>
<li><p><code data-x="event-compositionupdate">compositionupdate</code></p></li>
<li><p><code data-x="event-compositionend">compositionend</code></p></li>
</ul>
</li>

<li>
<p>If one of the following events would be fired as a result of user input, such that the
<p>If an event would be fired as a result of user input, such that the
<span>inert</span> element would be the <span data-x="topmost-event-target">topmost event
target</span>, an alternative <span data-x="event-target">event target</span> must be found as
follows:</p>
Expand Down Expand Up @@ -72577,11 +72545,11 @@ END:VCARD</pre>
<h4>The <dfn data-x="attr-inert"><code>inert</code></dfn> attribute</h4>

<p>The <code data-x="attr-inert">inert</code> attribute is a <span>boolean attribute</span> that
indicates, by its presence, that the element and all its descendants is to be made
<span>inert</span>.</p>
indicates, by its presence, that the element and all its shadow-including descendants is to be
made <span>inert</span>.</p>

<p w-nodev>When an element has an <code data-x="attr-inert">inert</code> attribute, the user agent
must mark that element and all its descendants as <span>inert</span>.</p>
must mark that element and all its shadow-including 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 Expand Up @@ -73682,11 +73650,11 @@ END:VCARD</pre>

<li>

<p>If <var>candidate</var> is a <span>browsing context container</span> with a non-null
<span>nested browsing context</span>, then let <var>new candidate</var> be the result of running
the <span>sequential navigation search algorithm</span> with <var>candidate</var>'s <span>nested
browsing context</span> as the first argument, <var>direction</var> as the second, and
<i>sequential</i> <!-- shift-tab from the end in
<p>If <var>candidate</var> is a non-<span>inert</span> <span>browsing context container</span>
with a non-null <span>nested browsing context</span>, then let <var>new candidate</var> be the
result of running the <span>sequential navigation search algorithm</span> with
<var>candidate</var>'s <span>nested browsing context</span> as the first argument,
<var>direction</var> as the second, and <i>sequential</i> <!-- shift-tab from the end in
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2855 --> as the third.</p>

<p>If <var>new candidate</var> is null, then let <var>starting point</var>
Expand Down

0 comments on commit 2dacebe

Please sign in to comment.