- From: Simon Sapin <simon.sapin@exyr.org>
- Date: Tue, 19 Mar 2013 10:27:32 +0100
- To: "www-style@w3.org" <www-style@w3.org>
Hi, Selectors 4 extends :not() so its argument is a selector list. As I read it, it’s just syntaxic sugar for multiple :not() pseudo-classes. In other words, :not(a, b) is equivalent to :not(a):not(b), just like not(a or b) is not(a) and not(b) in boolean logic. Is this correct? If so, it might be worth pointing out in the spec. Maybe in the html|*:not(:link):not(:visited) example, by saying that it can also be written html|*:not(:link, :visited) Cheers, -- Simon Sapin
Received on Tuesday, 19 March 2013 09:28:05 UTC