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

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