[whatwg/dom] Specify addEventListener default passive hack for smoothscroll.js (Issue #1088)

So, Chromium and WebKit also implement this hack for smoothscroll.js:
https://bugs.chromium.org/p/chromium/issues/detail?id=501568
https://github.com/WebKit/WebKit/blob/dd956d5e74249681ddf904e0bbe401f308b65e0f/Source/WebCore/page/Quirks.cpp#L929-L946

As far as I can tell, Gecko does not. https://searchfox.org/mozilla-central/source/dom/events/EventListenerManager.cpp#1593 (and [no search results for "ssc_wheel"](https://searchfox.org/mozilla-central/search?q=ssc_wheel&path=))

Should we put this in the spec?

The use counter is currently at ~0.01% of page views. But scrolling the page doesn't work at all without the hack.
https://chromestatus.com/metrics/feature/timeline/popularity/2020

_Originally posted by @zcorpan in https://github.com/whatwg/dom/issues/365#issuecomment-1158169557_

@domenic said

> IMO we should put that hack in the spec, although it could perhaps be done separably since it's such a ... unique ... hack.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1088
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1088@github.com>

Received on Friday, 17 June 2022 05:16:58 UTC