W3C home > Mailing lists > Public > www-style@w3.org > September 2011

[selectors4] :not accepts a compound selector

From: Ojan Vafai <ojan@chromium.org>
Date: Fri, 30 Sep 2011 01:15:40 -0700
Message-ID: <CANMdWTsxRAQKAy4gX9FPjE+s0d86w=p=38au3Jem-RvPTUJOLg@mail.gmail.com>
To: www-style@w3.org
In http://dev.w3.org/csswg/selectors4/#overview, :not is described as:
 E:not(s) an E element that does not match simple selector s Negation
pseudo-class <http://dev.w3.org/csswg/selectors4/#negation> 3
E:not(s1, s2)an E element that does not match either compound selector
s1 or compound selector s2 Negation
pseudo-class<http://dev.w3.org/csswg/selectors4/#negation>
4Notably, the comma-separated version takes compound selectors and the
single-argument version takes a simple selector. I believe they should both
take compound selectors.

Ojan
Received on Friday, 30 September 2011 08:16:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT