Open Mottie opened 6 years ago
Validator doesn't validate selectors for correctness at the moment.
Anyway, the level 4 allows a selector list as an argument for :not()
and Safari already supports it. L4 also doesn't limit nesting and nested :not()
works in Safari as well.
The level 3 negation pseudo-class only support a single simple selector (ref), so all of the following css selectors should return errors (showing as valid in csstree-validator v1.3.1):
From my understanding,
:not(li.bar)
is allowed in level 4, but I'm not sure if nested:not()
s will also be allowed.