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

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

From: Lea Verou via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Jan 2018 18:59:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-354847454-1514919551-sysbot+gh@w3.org>
Yup, we could rename `:matches()` to `:is()` and introduce an extra argument, which could only be 0 at first, and later expand to the full specificity triplet.
I.e. `div:is(#foo, as 0)`.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-354847454 using your GitHub account
Received on Tuesday, 2 January 2018 18:59:20 UTC

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