preventDefault recommendations for touchstart/touchmove and scrolling.
authorMatt Brubeck <mbrubeck@mozilla.com>
Mon, 06 Jun 2011 17:48:21 -0700
changeset 9580bd73a2e5b2
parent 94 53491ff3514b
child 96 457c2df41b66
preventDefault recommendations for touchstart/touchmove and scrolling.
touchevents.html
     1.1 --- a/touchevents.html	Mon Jun 06 17:35:34 2011 -0700
     1.2 +++ b/touchevents.html	Mon Jun 06 17:48:21 2011 -0700
     1.3 @@ -371,6 +371,13 @@
     1.4            point is within a frame, the event should be dispatched to an element
     1.5            in the <a>child browsing context</a> of that frame.
     1.6          </p>
     1.7 +
     1.8 +        <p>
     1.9 +          If the <a>preventDefault</a> method is called on this event, it
    1.10 +          should prevent any default actions caused by any touch events
    1.11 +          associated with the same <a>active touch point</a>, including mouse
    1.12 +          events or scrolling.
    1.13 +        </p>
    1.14        </section>
    1.15  
    1.16        <section>
    1.17 @@ -423,6 +430,13 @@
    1.18            events is implementation-defined, and may depend on hardware
    1.19            capabilities and other implementation details.
    1.20          </p>
    1.21 +
    1.22 +        <p>
    1.23 +          If the <a>preventDefault</a> method is called on the <em>first</em>
    1.24 +          <a>touchmove</a> event of an <a>active touch point</a>, it should
    1.25 +          prevent any default action caused by any <a>touchmove</a> event
    1.26 +          associated with the same <a>active touch point</a>, such as scrolling.
    1.27 +        </p>
    1.28        </section>
    1.29  
    1.30        <section>