Re: [whatwg/dom] Allow an EventTarget to provide the default value of the AddEventListenerOptions (#365)

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

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

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

Received on Thursday, 16 June 2022 21:54:06 UTC