Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onbeforeinput #218

Open
johanneswilm opened this issue Jan 14, 2019 · 3 comments
Open

onbeforeinput #218

johanneswilm opened this issue Jan 14, 2019 · 3 comments

Comments

@johanneswilm
Copy link

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] w3c/input-events#30 (comment)

@masayuki-nakano
Copy link

Filed Chromium's bug.

Firefox will add it when we ship "beforeinput" event.

@masayuki-nakano
Copy link

@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.

@phistuck
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants