Closed smfr closed 2 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
passive
cancelable=false
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.
Also mousewheel, if that event is supported.
mousewheel
Tests for this at https://github.com/web-platform-tests/wpt/pull/34464
Touch events are documented to have a behavior where if all the listeners are
passive
, then the event hascancelable=false
: https://w3c.github.io/touch-events/#cancelability which links to https://dom.spec.whatwg.org/#observing-event-listenersBlink 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.