W3C home > Mailing lists > Public > www-style@w3.org > December 2003

Re: CSS3 Selector Limitations and Suggestions

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 07 Dec 2003 12:28:13 -0600
Message-ID: <3FD3713D.9010809@mit.edu>
To: ernestcline@mindspring.com
Cc: Lachlan Hunt <lhunt07@netscape.net>, www-style@w3.org

Ernest Cline wrote:

> The effect I believe you are looking for with this selector can be
> achieved with existing selectors:
> body  section section:not(body section section section)
> would select just the second level sections in this case

Actually, no.  It would select absolutely nothing.  The argument to 
:not() must be a simple selector, and "body section section section" is 
not a simple selector.

-Boris
Received on Sunday, 7 December 2003 13:28:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:25 GMT