← Back to release summary

CSS :open pseudo-class

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

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

View on chromestatus.com