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.

Received on Sunday, 7 December 2003 13:28:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC