web-feature: :state()

baseline logo Widely available in browsers but not in WebViews

The :state() CSS pseudo-class matches custom elements based on their custom state, set through the ElementInternals.states API.

Notes

Unsupported keys in WebViews

  • WKWebView:
    css.selectors.state

WebViews are not part of Baseline Baseline logo We do web-features computation using web-features-plus-webview

Know something we don't?

Is any of the above data outdated? Or do you want to add a new WebView to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email.

Please help us keeping this data updated

This feature was last updated on June 27, 2026.