From 5999f2752a56980ac2676e29a9d54bde08ec20d9 Mon Sep 17 00:00:00 2001 From: Hayato Ito Date: Tue, 21 Jun 2016 11:18:56 +0900 Subject: [PATCH] Fix #66. Make all touch events composed events --- index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index fad1b5c..1d329a4 100644 --- a/index.html +++ b/index.html @@ -638,6 +638,7 @@

Firing a synthetic TouchEvent from script

var touchEvent = new TouchEvent("touchstart", { cancelable: true, bubbles: true, + composed: true, touches: [touch], targetTouches: [touch], changedTouches: [touch] @@ -655,7 +656,7 @@

List of TouchEvent types

The following table provides a summary of the TouchEvent 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.