preventDefault recommendations for touchstart/touchmove and scrolling.
authorMatt Brubeck <mbrubeck@mozilla.com>
Mon, 06 Jun 2011 17:48:21 -0700
changeset 95 80bd73a2e5b2
parent 94 53491ff3514b
child 96 457c2df41b66
preventDefault recommendations for touchstart/touchmove and scrolling.
touchevents.html
--- a/touchevents.html	Mon Jun 06 17:35:34 2011 -0700
+++ b/touchevents.html	Mon Jun 06 17:48:21 2011 -0700
@@ -371,6 +371,13 @@
           point is within a frame, the event should be dispatched to an element
           in the <a>child browsing context</a> of that frame.
         </p>
+
+        <p>
+          If the <a>preventDefault</a> method is called on this event, it
+          should prevent any default actions caused by any touch events
+          associated with the same <a>active touch point</a>, including mouse
+          events or scrolling.
+        </p>
       </section>
 
       <section>
@@ -423,6 +430,13 @@
           events is implementation-defined, and may depend on hardware
           capabilities and other implementation details.
         </p>
+
+        <p>
+          If the <a>preventDefault</a> method is called on the <em>first</em>
+          <a>touchmove</a> event of an <a>active touch point</a>, it should
+          prevent any default action caused by any <a>touchmove</a> event
+          associated with the same <a>active touch point</a>, such as scrolling.
+        </p>
       </section>
 
       <section>