[w3c/touch-events] 8. Interaction with Mouse Events and click (Issue #110)

This is ridiculous:

"The user agent **may** dispatch both touch events and (for compatibility with web content not designed for touch) mouse events"

_May_?   Even worse:

"If touchstart, touchmove, or touchend are **canceled**, the user agent should not dispatch any mouse event that would be a consequential result of the prevented touch event."

Seriously?  This is like the apotheosis of undefined behavior.  So the browser may emulate mouse events.  Or it may not.  In order to be safe touchstart should cancel.  Which totally breaks the observer idiom of event handling.

This is completely broken.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/touch-events/issues/110

Received on Monday, 22 November 2021 22:10:57 UTC