w3c / uievents

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

Upstream InputEvent #275

Open annevk opened 3 years ago

annevk commented 3 years ago

The HTML Standard defines when the input event is dispatched, but does so using the Event class. It seems this specification introduced a new class, but the various dispatch sites were not updated. It might make more sense to define this directly in HTML.

masayuki-nakano commented 3 years ago

Currently, Firefox dispatches input event as Event when it does not represents a change in editor. https://searchfox.org/mozilla-central/rev/23dd7c485a6525bb3a974abeaafaf34bfb43d76b/dom/base/nsContentUtils.cpp#4109-4149