← Back to release summary

CSS :open pseudo-class

Category
DOM
Type
Chromium catches up
Status
Enabled by default (Chrome 133)
Intent stage
None

WPT details: https://wpt.fyi/results/css/selectors/open-pseudo.html

Summary

The :open pseudo-class matches <dialog> and <details> when they are in their open state, and matches <select> and <input> when they are in modes which have a picker and the picker is showing.

Standards & signals

Ecosystem

View on chromestatus.com