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

Let Form-Associated Custom Elements match :required, :optional, and :autofill pseudo-selectors #10320

Open
NickGard opened this issue May 3, 2024 · 1 comment
Labels
addition/proposal New features or enhancements topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: selectors

Comments

@NickGard
Copy link

NickGard commented May 3, 2024

What is the issue with the HTML Standard?

The spec as currently written does not include Form-Associated Custom Elements from matching:

Form-Associated Custom elements can match most of the other form-specific pseudo-selectors, like :disabled, :read-only, :read-write, :valid, and :invalid. Matching the rest of the form-specific pseudo-selectors would allow FA Custom Elements to behave more like their native counterparts.

@NickGard
Copy link
Author

NickGard commented May 3, 2024

Also the :checked, :indeterminate, and :default pseudos.

@annevk annevk added topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: selectors addition/proposal New features or enhancements labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: selectors
Development

No branches or pull requests

3 participants
@annevk @NickGard and others