touchevents.html
branchv1
changeset 142 6130d54c79cd
parent 139 f9d12da970bf
child 143 5bbc6e212756
equal deleted inserted replaced
139:f9d12da970bf 142:6130d54c79cd
   626         <a>preventDefault</a> method of <a>touchstart</a> or <a>touchmove</a>
   626         <a>preventDefault</a> method of <a>touchstart</a> or <a>touchmove</a>
   627         is called, the user agent should not dispatch any mouse event that
   627         is called, the user agent should not dispatch any mouse event that
   628         would be a consequential result of the the prevented touch event.
   628         would be a consequential result of the the prevented touch event.
   629       </p>
   629       </p>
   630 
   630 
       
   631       <p class="note">
       
   632         If a Web application can process touch events, it can intercept them, 
       
   633         and no corresponding mouse events would need to be dispatched by the 
       
   634         user agent. If the Web application is not specifically written for 
       
   635         touch input devices, it can react to the subsequent mouse events instead.
       
   636       </p>
       
   637 
   631       <p>
   638       <p>
   632         If the user agent intreprets a sequence of touch events as a click,
   639         If the user agent intreprets a sequence of touch events as a click,
   633         then it should dispatch <a>mousemove</a>, <a>mousedown</a>,
   640         then it should dispatch <a>mousemove</a>, <a>mousedown</a>,
   634         <a>mouseup</a>, and <a>click</a> events (in that order) at the location
   641         <a>mouseup</a>, and <a>click</a> events (in that order) at the location
   635         of the <a>touchend</a> event for the corresponding touch input.  If the
   642         of the <a>touchend</a> event for the corresponding touch input.  If the