Skip to content

Commit

Permalink
Fix #89. Make some of legacy UIEvents composed events
Browse files Browse the repository at this point in the history
Reflect the conclusion of WICG/webcomponents#513.

Make the following legacy UIEvents composed events:

- UIEvents: DOMActivate
- FocusEvents: DOMFocusIn, DOMFocusOut
- KeyboardEvents: keypress

Make it also clear that MutationEvents are un-composed events.
  • Loading branch information
hayatoito committed Jul 12, 2016
1 parent 4b58a03 commit d075314
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 39 deletions.
49 changes: 47 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,12 @@
<header>
<p data-fill-with="logo"><a href="http://www.w3.org/"><img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"></a></p>
<h1>UI Events</h1>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">W3C Working Draft, <time class="dt-updated" datetime="2016-06-23">23 June 2016</time></span></h2>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">W3C Working Draft, <time class="dt-updated" datetime="2016-07-12">12 July 2016</time></span></h2>
</header>
<div data-fill-with="spec-metadata">
<dl>
<dt>This version:
<dd><a class="u-url" href="http://www.w3.org/TR/2016/WD-uievents-20160623/">http://www.w3.org/TR/2016/WD-uievents-20160623/</a>
<dd><a class="u-url" href="http://www.w3.org/TR/2016/WD-uievents-20160712/">http://www.w3.org/TR/2016/WD-uievents-20160712/</a>
<dt>Latest published version:
<dd><a href="http://www.w3.org/TR/uievents/">http://www.w3.org/TR/uievents/</a>
<dt>Editor's Draft:
Expand Down Expand Up @@ -6142,6 +6142,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<th style="text-align:center">Trusted event target types
<th style="text-align:center">DOM Interface
<th style="text-align:center">Cancelable
<th style="text-align:center">Composed
<th>Default Action
<tr>
<td><a data-link-type="dfn" href="#domactivate" id="ref-for-domactivate-2"><code>DOMActivate</code></a>
Expand All @@ -6150,6 +6151,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Element</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="#uievent-uievent" id="ref-for-uievent-uievent-67">UIEvent</a></code>
<td style="text-align:center">Yes
<td style="text-align:center">Yes
<td>None
<tr>
<td><a data-link-type="dfn" href="#domattrmodified" id="ref-for-domattrmodified-1"><code>DOMAttrModified</code></a>
Expand All @@ -6158,6 +6160,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Element</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#mutationevent">MutationEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">No
<td>None
<tr>
<td><a data-link-type="dfn" href="#domcharacterdatamodified" id="ref-for-domcharacterdatamodified-1"><code>DOMCharacterDataModified</code></a>
Expand All @@ -6166,6 +6169,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Text</code>, <code>Comment</code>, <code>ProcessingInstruction</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#mutationevent">MutationEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">No
<td>None
<tr>
<td><a data-link-type="dfn" href="#domfocusin" id="ref-for-domfocusin-1"><code>DOMFocusIn</code></a>
Expand All @@ -6174,6 +6178,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><a data-link-type="dfn" href="#window" id="ref-for-window-47"><code>Window</code></a>, <code>Element</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="#focusevent" id="ref-for-focusevent-15">FocusEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">Yes
<td>None
<tr>
<td><a data-link-type="dfn" href="#domfocusout" id="ref-for-domfocusout-1"><code>DOMFocusOut</code></a>
Expand All @@ -6182,6 +6187,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><a data-link-type="dfn" href="#window" id="ref-for-window-48"><code>Window</code></a>, <code>Element</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="#focusevent" id="ref-for-focusevent-16">FocusEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">Yes
<td>None
<tr>
<td><a data-link-type="dfn" href="#domnodeinserted" id="ref-for-domnodeinserted-1"><code>DOMNodeInserted</code></a>
Expand All @@ -6190,6 +6196,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Element</code>, <code>Attr</code>, <code>Text</code>, <code>Comment</code>, <code>DocumentType</code>, <code>ProcessingInstruction</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#mutationevent">MutationEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">No
<td>None
<tr>
<td><a data-link-type="dfn" href="#domnodeinsertedintodocument" id="ref-for-domnodeinsertedintodocument-1"><code>DOMNodeInsertedIntoDocument</code></a>
Expand All @@ -6198,6 +6205,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Element</code>, <code>Attr</code>, <code>Text</code>, <code>Comment</code>, <code>DocumentType</code>, <code>ProcessingInstruction</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#mutationevent">MutationEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">No
<td>None
<tr>
<td><a data-link-type="dfn" href="#domnoderemoved" id="ref-for-domnoderemoved-1"><code>DOMNodeRemoved</code></a>
Expand All @@ -6206,6 +6214,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Element</code>, <code>Attr</code>, <code>Text</code>, <code>Comment</code>, <code>DocumentType</code>, <code>ProcessingInstruction</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#mutationevent">MutationEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">No
<td>None
<tr>
<td><a data-link-type="dfn" href="#domnoderemovedfromdocument" id="ref-for-domnoderemovedfromdocument-1"><code>DOMNodeRemovedFromDocument</code></a>
Expand All @@ -6214,6 +6223,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Element</code>, <code>Attr</code>, <code>Text</code>, <code>Comment</code>, <code>DocumentType</code>, <code>ProcessingInstruction</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#mutationevent">MutationEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">No
<td>None
<tr>
<td><a data-link-type="dfn" href="#domsubtreemodified" id="ref-for-domsubtreemodified-1"><code>DOMSubtreeModified</code></a>
Expand All @@ -6222,6 +6232,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><a data-link-type="dfn" href="#window" id="ref-for-window-49"><code>Window</code></a>, <code>Document</code>, <code>DocumentFragment</code>, <code>Element</code>, <code>Attr</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#mutationevent">MutationEvent</a></code>
<td style="text-align:center">No
<td style="text-align:center">No
<td>None
<tr>
<td><a data-link-type="dfn" href="#keypress" id="ref-for-keypress-10"><code>keypress</code></a>
Expand All @@ -6230,6 +6241,7 @@ <h2 class="heading settled" data-level="9" id="legacy-event-types"><span class="
<td style="text-align:center"><code>Element</code>
<td style="text-align:center"><code class="idl"><a data-link-type="idl" href="#keyboardevent-keyboardevent" id="ref-for-keyboardevent-keyboardevent-81">KeyboardEvent</a></code>
<td style="text-align:center">Yes
<td style="text-align:center">Yes
<td>Varies: launch <a data-link-type="dfn" href="#text-composition-system" id="ref-for-text-composition-system-17">text composition system</a>; <a data-link-type="dfn" href="#blur" id="ref-for-blur-8"><code>blur</code></a> and <a data-link-type="dfn" href="#focus" id="ref-for-focus-9"><code>focus</code></a> events; <a data-link-type="dfn" href="#domactivate" id="ref-for-domactivate-3"><code>DOMActivate</code></a> event; other event
</table>
<h3 class="heading settled" data-level="9.1" id="legacy-uievent-events"><span class="secno">9.1. </span><span class="content">Legacy <code class="idl"><a data-link-type="idl" href="#uievent-uievent" id="ref-for-uievent-uievent-68">UIEvent</a></code> events</span><a class="self-link" href="#legacy-uievent-events"></a></h3>
Expand All @@ -6255,6 +6267,9 @@ <h5 class="heading settled" data-level="9.1.1.1" id="event-type-DOMActivate"><sp
<tr>
<th>Cancelable
<td>Yes
<tr>
<th>Composed
<td>Yes
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6359,6 +6374,9 @@ <h5 class="heading settled" data-level="9.2.1.1" id="event-type-DOMFocusIn"><spa
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>Yes
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6400,6 +6418,9 @@ <h5 class="heading settled" data-level="9.2.1.2" id="event-type-DOMFocusOut"><sp
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>Yes
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6501,6 +6522,9 @@ <h5 class="heading settled" data-level="9.3.1.1" id="event-type-keypress"><span
<tr>
<th>Cancelable
<td>Yes
<tr>
<th>Composed
<td>Yes
<tr>
<th>Default action
<td>Varies:
Expand Down Expand Up @@ -6726,6 +6750,9 @@ <h5 class="heading settled" data-level="9.4.2.1" id="event-type-DOMAttrModified"
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>No
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6774,6 +6801,9 @@ <h5 class="heading settled" data-level="9.4.2.2" id="event-type-DOMCharacterData
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>No
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6820,6 +6850,9 @@ <h5 class="heading settled" data-level="9.4.2.3" id="event-type-DOMNodeInserted"
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>No
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6867,6 +6900,9 @@ <h5 class="heading settled" data-level="9.4.2.4" id="event-type-DOMNodeInsertedI
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>No
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6916,6 +6952,9 @@ <h5 class="heading settled" data-level="9.4.2.5" id="event-type-DOMNodeRemoved">
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>No
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -6962,6 +7001,9 @@ <h5 class="heading settled" data-level="9.4.2.6" id="event-type-DOMNodeRemovedFr
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>No
<tr>
<th>Default action
<td>None
Expand Down Expand Up @@ -7012,6 +7054,9 @@ <h5 class="heading settled" data-level="9.4.2.7" id="event-type-DOMSubtreeModifi
<tr>
<th>Cancelable
<td>No
<tr>
<th>Composed
<td>No
<tr>
<th>Default action
<td>None
Expand Down
Loading

0 comments on commit d075314

Please sign in to comment.