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 pseudo-class #413

Open
josepharhar opened this issue Oct 8, 2024 · 3 comments
Open

:open pseudo-class #413

josepharhar opened this issue Oct 8, 2024 · 3 comments
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 pseudo-class

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
@josepharhar
Copy link
Author

josepharhar commented Nov 26, 2024

:closed was resolved to be removed for now, so I'm removing it from this proposal: w3c/csswg-drafts#11039 (comment)

@josepharhar josepharhar changed the title :open and :closed pseudo-classes :open pseudo-class Nov 26, 2024
@annevk
Copy link
Contributor

annevk commented Nov 27, 2024

Thanks for updating it! I haven't yet looked at the changeset in detail again, but based on the productive discussion in the CSS/WHATWG Task Force I suggest we mark this as "position: support" one week from now.

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