ISSUE-9: Interaction of touch events and mouse events
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 12 Apr 2011 10:37:14 -0700
changeset 35 8624a3d5cbd7
parent 34 96b646535d4e
child 36 0834dbef202f
ISSUE-9: Interaction of touch events and mouse events

Specify that touchstart must be dispatched before any mouse events, as this
allows for useful interoperability techniques. For discussion, see:
http://lists.w3.org/Archives/Public/public-webevents/2011AprJun/0009.html
touchevents.html
--- a/touchevents.html	Tue Apr 12 10:21:46 2011 -0700
+++ b/touchevents.html	Tue Apr 12 10:37:14 2011 -0700
@@ -313,6 +313,17 @@
       </section>
     </section>
 
+    <section id="mouse-events">
+      <h2>Interaction with Mouse Events</h2>
+      <p>The user agent may dispatch both touch events and mouse events
+      [[!DOM-LEVEL-2-EVENTS]] in response to the same user input.  If the user
+      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.  The ordering of
+      any further touch events and mouse events is left to the implementation,
+      except as specified elsewhere.</p>
+    </section>
+
     <section>
       <h2>Glossary</h2>