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

Re: [CSS4 Selectors] :matches() :not() comma-separated list (was Re: [CSSWG] ... F2F Kyoto])

From: Eli Morris-Heft <eli.morris.heft@gmail.com>
Date: Sat, 11 Jun 2011 11:03:04 +0300
Message-ID: <BANLkTikCMJnZLOQJWd8DAjg65Y+KA+tm6A@mail.gmail.com>
To: Alan Gresley <alan@css-class.com>
Cc: www-style@w3.org
> I presume negation is not used often by authors since :not(bar) matches
all elements within a document (except 'bar' of course).

Here's an author who uses negation (in jQuery, but I would also use it in my
stylesheets). You're right that a bare :not() would hardly ever be used, but
I use it in combination with other selectors quite frequently.

-Eli Morris-Heft
Received on Saturday, 11 June 2011 08:03:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:46 UTC