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

Is “event handler event type” a necessary distinction from “event type”? #7161

Closed
j9t opened this issue Oct 5, 2021 · 2 comments
Closed

Comments

@j9t
Copy link
Contributor

j9t commented Oct 5, 2021

There are 39 cases of the specification referring to “event handler event types,” but it seems this is all referring to the same thing, an “event type.” This suggests “event handler event type” could often be shortened to “event type,” which would make parts of the spec easier and faster to read.

Is this missing something and there’s an important distinction to be made from another, non-event handler event type? Or is this something we could look at? (I’d volunteer to prepare a PR.)

@domenic
Copy link
Member

domenic commented Oct 7, 2021

Yes, event types are the values returned by https://dom.spec.whatwg.org/#dom-event-type ; event handler event types are the event types used for event handlers.

@domenic domenic closed this as completed Oct 7, 2021
@j9t
Copy link
Contributor Author

j9t commented Oct 7, 2021

Thanks for clarifying.

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

No branches or pull requests

2 participants