WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
254 stars 21 forks source link

:open and :closed pseudo-classes #413

Open josepharhar opened 1 month ago

josepharhar commented 1 month ago

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: https://github.com/whatwg/html/pull/10126

annevk commented 1 month ago

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.