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

joeedh has just created a new issue for https://github.com/w3c/touch-events:

== 8. Interaction with Mouse Events and click ==
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.


Please view or discuss this issue at https://github.com/w3c/touch-events/issues/110 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

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