[csswg-drafts] [selectors-4] mention the specificity rules for special pseudo-classes

chriseppstein has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] mention the specificity rules for special pseudo-classes  ==
There are special rules for certain functional psuedo-classes called out here:
https://drafts.csswg.org/selectors-4/#specificity-rules

* `:matches()`
* `:is()`
* `:nth-child()`, `:nth-last-child()`, `:nth-of-type()`, or `:nth-last-of-type()`
* `:not()`

I think it would be very helpful if those special rules were noted (probably with a link) in the specific sections for each pseudo class. E.g. https://drafts.csswg.org/selectors-4/#matches-pseudo

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2129 using your GitHub account

Received on Friday, 22 December 2017 08:39:58 UTC