Summary: Add support for `CustomStateSet` property
Standards Body: CSS WG & HTML WG
Platform coverage: All
Preference: dom.element.customstateset.enabled
Devtools bug: N/A
Other browsers:
Gecko-only tests were introduced: N/A
There is one small known bug with a patch ready to land (
https://bugzilla.mozilla.org/show_bug.cgi?id=1887338), which I will land before turning on for nightly. Following that there are some small optimization tasks but nothing that prevents this from shipping, in my opinion.