Intent to Prototype: :open and :closed pseudo-classes

376 views
Skip to first unread message

Joey Arhar

unread,
Feb 8, 2024, 5:10:50 PMFeb 8
to blink-dev

Contact emails

jar...@chromium.org

Explainer

None

Specification

https://drafts.csswg.org/selectors-4/#open-state
https://github.com/whatwg/html/pull/10126

Summary

The :open and :closed pseudo-classes match builtin HTML elements which have an open or closed state, including <dialog>, <details>, and <select>.



Blink component

Blink>Forms

Motivation

None



Initial public proposal

None

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5085419215781888

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages