Skip to content

Commit

Permalink
Address Anne's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Boxhall committed May 2, 2019
1 parent 23d6caa commit e6638e8
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3286,15 +3286,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="event-keypress" data-x-href="https://w3c.github.io/uievents/#event-type-keypress"><code>keypress</code></dfn> event</li>
<li><dfn data-x="event-keyup" data-x-href="https://w3c.github.io/uievents/#event-type-keyup"><code>keyup</code></dfn> event</li>

<li><dfn data-x="event-focusin" data-x-href="https://w3c.github.io/uievents/#event-type-focusin"><code>focusin</code></dfn> event</li>
<li><dfn data-x="event-focusout" data-x-href="https://w3c.github.io/uievents/#event-type-focusout"><code>focusout</code></dfn> event</li>

<li><dfn data-x="event-beforeinput" data-x-href="https://w3c.github.io/uievents/#event-type-beforeinput"><code>beforeinput</code></dfn> event</li>

<li><dfn data-x="event-compositionstart" data-x-href="https://w3c.github.io/uievents/#event-type-compositionstart"><code>compositionstart</code></dfn> event</li>
<li><dfn data-x="event-compositionupdate" data-x-href="https://w3c.github.io/uievents/#event-type-compositionupdate"><code>compositionupdate</code></dfn> event</li>
<li><dfn data-x="event-compositionend" data-x-href="https://w3c.github.io/uievents/#event-type-compositionend"><code>compositionend</code></dfn> event</li>

<li>The <dfn data-x="event-target" data-x-href="https://w3c.github.io/uievents/#event-target">event target</dfn> concept</li>
<li>The <dfn data-x="topmost-event-target" data-x-href="https://w3c.github.io/uievents/#topmost-event-target">topmost event target</dfn> concept</li>
</ul>
Expand All @@ -3306,8 +3297,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<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>
<li><dfn data-x="event-touchmove" data-x-href="https://w3c.github.io/touch-events/#event-touchmove"><code>touchmove</code></dfn> event</li>
<li><dfn data-x="event-touchcancel" data-x-href="https://w3c.github.io/touch-events/#event-touchcancel"><code>touchcancel</code></dfn> event</li>
</ul>

<p>The following features are defined in the Pointer Events specification: <ref spec=POINTEREVENTS></p>
Expand Down Expand Up @@ -55225,6 +55214,8 @@ MIT Room 32-G524
apply">does not apply</span> to this element, throw an
<span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>

<li><p>If this element is <code>inert</code>, return.</p></li>

<li><p><span>Set the selection range</span> with <var>start</var>, <var>end</var>, and
<var>direction</var>.</p></li>
</ol>
Expand Down Expand Up @@ -72503,9 +72494,10 @@ END:VCARD</pre>
ancestor of <var>originalElement</var>:</p>
<ol>
<li><p>Add <var>candidate</var> to <var>ineligible</var>.</p></li>
<li><p>Let <var>candidate</var> be the element which would be the <span
<li><p>Set <var>candidate</var> to the element which would be the <span
data-x="topmost-event-target">topmost event target</span> if all the elements in
<var>ineligible</var> were excluded from consideration.</p></li>
<var>ineligible</var> were excluded from consideration, or null if no such element
exists.</p></li>
</ol>
</li>
<li><p>If <var>candidate</var> is not null, let <var>candidate</var> be the new <span
Expand All @@ -72520,20 +72512,23 @@ END:VCARD</pre>
<li><p>The user agent may prevent the user from selecting text in that node.</p></li>
</ul>

<p>User agents should allow the user to override the restrictions on search and text selection,
<p>User agents may allow the user to override the restrictions on search and text selection,
however.</p>

<p class="example">For example, consider a page that consists of just a single <span>inert</span>
<p class="example">Consider a page that consists of just a single <span>inert</span>
<code>button</code> positioned in the middle of a <code>body</code>. If a user clicks on the
button, the <code data-x="event-click">click</code> event would cause no event listeners on
<code>button</code> to be run, and the event would instead be targeted at the <code>body</code> element.</p>
<code>button</code> to be run, and the event would instead be targeted at the <code>body</code>
element.</p>

<p class="note">When a node is inert, it generally cannot be focused. Inert nodes that are <span
data-x="concept-command">commands</span> will also get disabled.</p>

<p>User agents should show the default cursor when a user indicates an element in an inert subtree
using a pointing device.</p>

<p>By default, an element is not <span>inert</span>.</p>

<p>While a <span>browsing context container</span> is marked as <span>inert</span>, its
<span>nested browsing context</span>'s <span>active document</span>, and all nodes in that
<code>Document</code>, must be marked as <span>inert</span>.</p>
Expand Down

0 comments on commit e6638e8

Please sign in to comment.