Calling preventDefault() on both touchstart and touchmove should not fire mouse events. ISSUE-4.
authorSangwhan Moon <smoon@opera.com>
Sat, 30 Apr 2011 19:26:28 +0800
changeset 83 9545d8d8162e
parent 81 e5b2d26a6892
child 84 95c76867a243
Calling preventDefault() on both touchstart and touchmove should not fire mouse events. ISSUE-4.
touchevents.html
--- a/touchevents.html	Sat Apr 30 18:12:58 2011 +0800
+++ b/touchevents.html	Sat Apr 30 19:26:28 2011 +0800
@@ -411,9 +411,9 @@
       agent dispatches both touch events and mouse events in response to a
       single user action, then the <a>touchstart</a> event type must be
       dispatched before any mouse event types for that action.  If the
-      <a>preventDefault</a> method of the <a>touchstart</a> event is called,
-      then the user agent should not dispatch any mouse events for that
-      action.</p>
+      <a>preventDefault</a> method of <a>touchstart</a> or <a>touchmove</a>
+      is called, the user agent should not dispatch any mouse event that
+      would be a consequential result of the the prevented touch event. </p>
 
       <p>The default actions and ordering of any further touch and mouse events
       are implementation-defined, except as specified elsewhere.</p>