Re: [csswg-drafts] [css-nesting-1] [selectors-4] Figure out the specificity of nesting with pseudos and non-pseudos (#13108)

Yeah, I think technically this is already defined. It's just never mattered before now, since pseudo element selectors are always/only present in selectors that only match pseudo-elements.

I don't think this is likely to come up often (pseudo subjects & non-pseudo subjects in the same selector), and authors should have the option to remove the pseudo-selector specificity using `:where()`, so I expect the best path forward is consistency: pseudo-element selectors continue to have the same specificity as other element type selectors.

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


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

Received on Friday, 14 November 2025 17:22:09 UTC