webcomponents / custom-elements-manifest

A file format for describing custom elements
BSD 3-Clause "New" or "Revised" License
370 stars 27 forks source link

Add support for CSS CustomState #113

Closed p-ob closed 6 months ago

p-ob commented 1 year ago

Spec: https://wicg.github.io/custom-state-pseudo-class/#customstateset

My team exposes custom CSS state pseudoclasses for applications to consume, and being able to document these in a standardized way would be awesome. I assume its schema would be quite similar to CSS Parts:

While currently only supported in Chromium-based browsers, hopefully something that gains traction in 2023 with further interop efforts!