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 :in-range, and :out-of-range pseudo-selectors #10321

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 provide a way for Form-Associated Custom Elements to have range limitations (or define some other way of participating in range validation) and matching :in-range and :out-of-range pseudo selectors.

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.

@annevk annevk added addition/proposal New features or enhancements topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: selectors labels May 6, 2024
@zcorpan
Copy link
Member

zcorpan commented Jun 3, 2024

What is the use case for these in combination with FACE?

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

4 participants
@zcorpan @annevk @NickGard and others