Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Fix #66. Make all touch events composed events
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Jun 21, 2016
1 parent 0e9c9fa commit 5999f27
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ <h3>Firing a synthetic <a><code>TouchEvent</code></a> from script</h3>
var touchEvent = new TouchEvent("touchstart", {
cancelable: true,
bubbles: true,
composed: true,
touches: [touch],
targetTouches: [touch],
changedTouches: [touch]
Expand All @@ -655,7 +656,7 @@ <h2>List of <a><code>TouchEvent</code></a> types</h2>
<p>
The following table provides a summary of the
<a><code>TouchEvent</code></a> event types defined in this specification. All events
should accomplish the bubbling phase.
should accomplish the bubbling phase. All events should be composed [[!WHATWG-DOM]] events.
</p>

<!--
Expand All @@ -669,6 +670,7 @@ <h2>List of <a><code>TouchEvent</code></a> types</h2>
<th>Event Type</th>
<th>Sync / Async</th>
<th>Bubbling phase</th>
<th>Composed</th>
<th>Trusted proximal event target types</th>
<th>DOM interface</th>
<th>Cancelable</th>
Expand All @@ -678,6 +680,7 @@ <h2>List of <a><code>TouchEvent</code></a> types</h2>
<td><a><code>touchstart</code></a></td>
<td>Sync</td>
<td>Yes</td>
<td>Yes</td>
<td><code>Document</code>, <code>Element</code></td>
<td><a><code>TouchEvent</code></a></td>
<td><a href="#cancelability">Varies</a></td>
Expand All @@ -687,6 +690,7 @@ <h2>List of <a><code>TouchEvent</code></a> types</h2>
<td><a><code>touchend</code></a></td>
<td>Sync</td>
<td>Yes</td>
<td>Yes</td>
<td><code>Document</code>, <code>Element</code></td>
<td><a><code>TouchEvent</code></a></td>
<td><a href="#cancelability">Varies</a></td>
Expand All @@ -698,6 +702,7 @@ <h2>List of <a><code>TouchEvent</code></a> types</h2>
<td><a><code>touchmove</code></a></td>
<td>Sync</td>
<td>Yes</td>
<td>Yes</td>
<td><code>Document</code>, <code>Element</code></td>
<td><a><code>TouchEvent</code></a></td>
<td><a href="#cancelability">Varies</a></td>
Expand All @@ -707,6 +712,7 @@ <h2>List of <a><code>TouchEvent</code></a> types</h2>
<td><a><code>touchcancel</code></a></td>
<td>Sync</td>
<td>Yes</td>
<td>Yes</td>
<td><code>Document</code>, <code>Element</code></td>
<td><a><code>TouchEvent</code></a></td>
<td>No</td>
Expand Down

0 comments on commit 5999f27

Please sign in to comment.