More clarification of behavior for mouse events (ISSUE-3)
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 19 Jul 2011 09:04:57 -0700
changeset 98 4ad645b57624
parent 97 3f54db94ae0d
child 99 733df5b51199
More clarification of behavior for mouse events (ISSUE-3)
touchevents.html
--- a/touchevents.html	Tue Jul 19 08:55:40 2011 -0700
+++ b/touchevents.html	Tue Jul 19 09:04:57 2011 -0700
@@ -548,12 +548,13 @@
       </p>
 
       <p>
-        If the user agent dispatches a <a>click</a> event in response to touch
-        input, the <a>click</a> event should be dispatched after the
-        <a>touchstart</a> and <a>touchend</a> events for the corresponding
-        touch point.  If the contents of the document change during processing
-        of the touch events, then the user agent may dispatch the <a>click</a>
-        event to a different target than the touch events.
+        If the user agent intreprets a sequence of touch events as a click,
+        then it should dispatch <a>mousemove</a>, <a>mousedown</a>,
+        <a>mouseup</a>, and <a>click</a> events (in that order) at the location
+        of the <a>touchend</a> event for the corresponding touch input.  If the
+        contents of the document have changed during processing of the touch
+        events, then the user agent may dispatch the mouse events to a
+        different target than the touch events.
       </p>
 
       <p>