Open johanneswilm opened 5 years ago
Filed Chromium's bug.
Firefox will add it when we ship "beforeinput" event.
@garykac Could you ask somebody who can work on the Chromium's bug? We worry about compatibility issue when we ship "beforeinput" event since currently web apps needs to check UA string to consider whether the browser supports "beforeinput" or not.
It seems to me like this should be filed against the HTML specification, because the UI events specification does not define the interfaces on which the event handler should be located.
This should be added to GlobalEventHandlers
.
Hey,
as far as I can tell, there should be a onbeforeinput IDL attribute [1]. If we don't have this, I don't see how we can do feature detection of the beforeinput event, which now turns out to be a problem in Firefox [2].
[1] https://w3ctag.github.io/design-principles/#always-add-event-handlers
[2] https://github.com/w3c/input-events/issues/30#issuecomment-452584877