See https://wicg.github.io/custom-state-pseudo-class/
<rdar://problem/68320005>
Yes please! Would love to see this in Safari. Would make working with Custom Elements so much better