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

HTMLElement.onbeforeinput #28

Closed
jgraham opened this issue Nov 18, 2021 · 2 comments
Closed

HTMLElement.onbeforeinput #28

jgraham opened this issue Nov 18, 2021 · 2 comments
Labels
compat-bug-proposal Proposals for web compat bugs requires:spec Proposal requires spec work requires:tests Requires additional tests to be written
Milestone

Comments

@jgraham
Copy link
Contributor

jgraham commented Nov 18, 2021

Description
Gecko and WebKit implement HTMLElement.onbeforeinput as an event handler attribute for the beforeInput event, but this is missing in Blink. This allows feature detection of the beforeInput event.

Bug reports
CHR-947408

Specification
w3c/uievents#218

Tests
Need to write a test

This is a bug to include in #9

@jgraham jgraham added the compat-bug-proposal Proposals for web compat bugs label Nov 18, 2021
@foolip foolip added requires:spec Proposal requires spec work requires:tests Requires additional tests to be written labels Dec 6, 2021
@foolip
Copy link
Member

foolip commented Dec 6, 2021

Both spec and test are missing here, but are trivial since this is about the onbeforeinput event handler attribute only.

@foolip
Copy link
Member

foolip commented Dec 6, 2021

Open spec PR in whatwg/html#6743. If added to IDL, it would flow into WPT and end up in idlharness.js tests.

However, we couldn't really use HTML's idlharness.js test for Interop 2022, since they test all of HTML's IDL, and so far we've only tracked tests, not subtests. Adding a single test for the attribute is probably best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat-bug-proposal Proposals for web compat bugs requires:spec Proposal requires spec work requires:tests Requires additional tests to be written
Projects
None yet
Development

No branches or pull requests

3 participants