Other browsers: Chromium-based browsers ship this since basically
forever. WebKit doesn't implement this, but it does implement a similar
quirk for touch events (as above), and I think implementing this would
allow them to get rid of a nasty hack in their events code too
(interestingly chromium still keeps their smoothscroll.js intervention,
though I think it's just dead code at this point, I filed  for that).
web-platform-tests: This is not tested by WPT, as it's an intervention.
If WebKit decides to implement we should probably put this in a spec and
move tests there.
I'm not sure "it's an intervention" is sufficient reason as making
breaking changes to the web platform is not great for web developers,
but the fact that both Chrome and Safari already do this is, somewhat.
There is https://github.com/whatwg/dom/pull/366 which hasn't been
looked at since there only was one interested implementer. You should
probably take a look at that if that roughly matches part of the
changes you had to make. (Not sure who should own the "default passive
algorithm" for the root element though, HTML?)
Emilio Cobos Álvarez
Oct 28, 2020, 7:52:25 AM10/28/20
Reply to author
Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Anne van Kesteren, Mozilla
Given Safari and us have been shipping the similar touch event
intervention for a long while it seems we should really merge that.
The IDL changes match the relevant gecko commit for that one: