Re: [csswg-drafts] [selectors] Declarative custom `:state()` states (#12502)

Previously these two conversations seemed to get mixed up - about custom state and custom selectors (@tabatkins had a draft started at the end of 2013 - you can still see it at https://web.archive.org/web/20140320013932/https://tabatkins.github.io/specs/css-aliases/#custom-selectors)... I'm wondering if it is getting mixed up again, or if it is intentional...  Is there a way that you understand headings (in your example) as state (like hover or focus)?  I suppose if you squint at it hard enough you could argue the used role is a state, but you can't tell that from selectors really, right?  Is it just leaning on old comments that said they were very similar?

-- 
GitHub Notification of comment by bkardell
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12502#issuecomment-3090770151 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 18 July 2025 21:32:58 UTC