w3c / uievents

UI Events
https://w3c.github.io/uievents/
Other
145 stars 51 forks source link

Document the cancelability of wheel events #282

Closed smfr closed 2 years ago

smfr commented 3 years ago

Touch events are documented to have a behavior where if all the listeners are passive, then the event has cancelable=false: https://w3c.github.io/touch-events/#cancelability which links to https://dom.spec.whatwg.org/#observing-event-listeners

Blink seems to also apply this same logic to wheel events, but that is not described in https://w3c.github.io/uievents/. It probably should be.

zcorpan commented 2 years ago

Also mousewheel, if that event is supported.

zcorpan commented 2 years ago

Tests for this at https://github.com/web-platform-tests/wpt/pull/34464