Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 54a3d16

Browse files
committed
1 parent df62010 commit 54a3d16

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

touchevents.html

+11-4
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,12 @@ <h3 id="event-touchend">The <dfn class="event">touchend</dfn> event</h3>
598598
must not be included in the <a>touches</a> and <a>targetTouches</a>
599599
attributes.
600600
</p>
601+
602+
<p>
603+
If this event is cancelled, any sequence of touch events that
604+
includes this event must not be <a href="#click-events">interpreted
605+
as a click</a>.
606+
</p>
601607
</section>
602608

603609
<section>
@@ -715,9 +721,10 @@ <h2>Interaction with Mouse Events</h2>
715721
user agent dispatches both touch events and mouse events in response to
716722
a single user action, then the <a>touchstart</a> event type must be
717723
dispatched before any mouse event types for that action. If the
718-
<a>preventDefault</a> method of <a>touchstart</a> or <a>touchmove</a>
719-
is called, the user agent should not dispatch any mouse event that
720-
would be a consequential result of the the prevented touch event.
724+
<a>preventDefault</a> method of <a>touchstart</a>, <a>touchmove</a>, or
725+
<a>touchend</a> is called, the user agent should not dispatch any mouse
726+
event that would be a consequential result of the the prevented touch
727+
event.
721728
</p>
722729

723730
<p class="note">
@@ -727,7 +734,7 @@ <h2>Interaction with Mouse Events</h2>
727734
touch input devices, it can react to the subsequent mouse events instead.
728735
</p>
729736

730-
<p>
737+
<p id="click-events">
731738
If the user agent intreprets a sequence of touch events as a click,
732739
then it should dispatch <a>mousemove</a>, <a>mousedown</a>,
733740
<a>mouseup</a>, and <a>click</a> events (in that order) at the location

0 commit comments

Comments
 (0)