Skip to content

Commit

Permalink
Merge pull request #67 from hayatoito/composed
Browse files Browse the repository at this point in the history
Fix #66. Make all touch events composed events
  • Loading branch information
RByers committed Jun 29, 2016
2 parents 0e9c9fa + 5999f27 commit ec3b943
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.html
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 ec3b943

Please sign in to comment.