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

Re: [csswg-drafts] [selectors4] Name the “functional pseudo-class like :matches() with 0 specificity”

From: Stanislav Lashmanov via GitHub <sysbot+gh@w3.org>
Date: Sun, 04 Feb 2018 13:23:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-362906453-1517750586-sysbot+gh@w3.org>
Why it can't be nameless? If it has no specificity it can as well has no name. Like this:

`.button:(.active)`

For negation and other selector they could be contained within that selector without contributing any specificity:

`.button:(:not(.active, :focus), [disabled])`

-- 
GitHub Notification of comment by CyberAP
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-362906453 using your GitHub account
Received on Sunday, 4 February 2018 13:23:10 UTC

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