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

:open and :closed pseudo-classes #413

Open
josepharhar opened this issue Oct 8, 2024 · 1 comment
Open

:open and :closed pseudo-classes #413

josepharhar opened this issue Oct 8, 2024 · 1 comment
Labels
from: Google Proposed, edited, or co-edited by Google. topic: css Spec relates to CSS (Cascading Style Sheets) topic: html Spec relates to HTML (Hypertext Markup Language) venue: WHATWG HTML Workstream

Comments

@josepharhar
Copy link

josepharhar commented Oct 8, 2024

WebKittens

@annevk @nt1m

Title of the proposal

CSS :open and :closed pseudo-classes

URL to the spec

https://drafts.csswg.org/selectors-4/#open-state

URL to the spec's repository

https://drafts.csswg.org

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

No response

WebKit Bugzilla URL

https://bugs.webkit.org/show_bug.cgi?id=280637

Radar URL

No response

Description

There is a corresponding HTML spec PR here: whatwg/html#10126

@annevk
Copy link
Contributor

annevk commented Oct 11, 2024

Overall this seems reasonable and thanks for working on it! However, during review it was suggested that we might not need :closed as it's redundant with :not(:open) and inconsistent with :popover-open. It would be good to go over that concern with the CSS WG.

@annevk annevk added topic: css Spec relates to CSS (Cascading Style Sheets) topic: html Spec relates to HTML (Hypertext Markup Language) venue: WHATWG HTML Workstream labels Oct 11, 2024
@nt1m nt1m added the from: Google Proposed, edited, or co-edited by Google. label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Google Proposed, edited, or co-edited by Google. topic: css Spec relates to CSS (Cascading Style Sheets) topic: html Spec relates to HTML (Hypertext Markup Language) venue: WHATWG HTML Workstream
Projects
None yet
Development

No branches or pull requests

3 participants