W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Dec 2017 21:30:20 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-284993448-1514496619-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors4] Name the “functional pseudo-class like :matches() with 0 specificity” ==
In Issue #1170 we decided to add a functional pseudo-class that is exactly like `:matches()` but has zero specificity. However, we didn't decide on a name.

Suggestions in that thread included `:is()`, `:when()`, `:filter()`, and `:nospecificity()`.  It was noted that having `:filter()` as a selector and `filter` s a property might be confusing, and that `:nospecificity()` is a pain to type. Additional suggestions, comments, and clarifications welcome.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143 using your GitHub account
Received on Thursday, 28 December 2017 21:30:22 UTC

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