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

CSS :open pseudo-class #1010

Closed
1 task done
josepharhar opened this issue Oct 28, 2024 · 1 comment
Closed
1 task done

CSS :open pseudo-class #1010

josepharhar opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels
Resolution: satisfied The TAG is satisfied with this design Topic: CSS

Comments

@josepharhar
Copy link

こんにちは TAG-さん!

I'm requesting a TAG review of CSS :open pseudo-class.

This pseudo-class applies to HTML elements which have an "open" state. For <details>, this is when the element is expanded. For <dialog>, this is when the element is showing. For <select>, this is when the picker is showing.

Further details:

@plinss
Copy link
Member

plinss commented Nov 13, 2024

We looked at this in a breakout today and don't see any issues. Closing as satisfied.

We did note w3c/csswg-drafts#11039 and agree that if :not(:open) is equivalent to :closed then :closed isn't necessary and probably should be removed. However if it's possible that an element could be in a state that's neither open or closed, then they're not exactly equivalent and :closed has a purpose.

Thanks for flying TAG.

@plinss plinss closed this as completed Nov 13, 2024
@plinss plinss added Resolution: satisfied The TAG is satisfied with this design Topic: CSS and removed Progress: untriaged labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: satisfied The TAG is satisfied with this design Topic: CSS
Projects
None yet
Development

No branches or pull requests

4 participants