W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: [css3-selectors] Selector grammar: negation

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Sat, 28 Aug 2004 14:23:45 +1000
Message-ID: <413008D1.1020302@iinet.net.au>
To: Christian Roth <roth@visualclick.de>
CC: www-style Mailing List <www-style@w3.org>

Christian Roth wrote:
> Does a selector like
> 
>   not( DIV[test] > P )
> 
> exist, representing all elements but P elements which have a parent DIV
> with attribute test?

Yes, it's called the negation pseudo-class
http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#negation

-- 
Lachlan Hunt

http://www.lachy.id.au/
lachlan.hunt@lachy.id.au
Received on Saturday, 28 August 2004 04:23:51 GMT

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