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

Event handler attributes missing from element content attribute definitions #9978

Closed
isAdrisal opened this issue Dec 4, 2023 · 1 comment

Comments

@isAdrisal
Copy link

What is the issue with the HTML Standard?

This section defines a list of event handler attributes that are available on "all HTML elements other than body and frameset elements".
https://html.spec.whatwg.org/dev/webappapis.html#event-handlers-on-elements,-document-objects,-and-window-objects:event-handlers-3

This is an example of an element definition where the Content Attributes section does not include any reference to these event handler attributes.
https://html.spec.whatwg.org/multipage/semantics.html#the-link-element

Please excuse any misunderstanding on my behalf, but a downstream impact of this is that the MDN docs for <link> do not include reference to the event handler attributes (as with other elements).
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attributes

@isAdrisal
Copy link
Author

Ah, closing as they're defined here in global attributes: https://html.spec.whatwg.org/multipage/dom.html#global-attributes:event-handler-content-attributes

My issue is downstream of the spec.

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

1 participant