Re: [csswg-drafts] [css-selectors] What should the specificity of functional :invalid() and :user-invalid() (#13679)

I think this is closer to `:nth-child(even)`, `:dir(rtl)` or `:lang(en)` where the arguments to the functional selector aren't elements and it makes sense to me to be consistent to those.

Especially `:first-child` vs. `:nth-child(...)` is a good comparison I think.

I agree with Tab that we can rely on source order and don't need increased specifity.


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


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

Received on Wednesday, 18 March 2026 17:07:31 UTC