W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

Re: [csswg-drafts] [selector-4] Do we need selector for `is` attribute?

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Nov 2018 19:18:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-439498120-1542395930-sysbot+gh@w3.org>
The specificity of `:is()` is what's inside of it (or rather, the largest selector in its list); it doesn't change the specificity.

The specificity of `:where()` is 0, so `x` and `x:where(extends-y)` have identical specificity.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3327#issuecomment-439498120 using your GitHub account
Received on Friday, 16 November 2018 19:18:52 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:39 UTC