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

Re: First-descendant-of-type selector?

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 01 Sep 2006 12:35:54 +1000
Message-ID: <44F79C8A.8010801@lachy.id.au>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: W3C CSS List <www-style@w3.org>

Andrew Fedoniouk wrote:
> If :not will be relaxed to contain not only simple selectors
> then selector
> [...]
> Say selector like
> X Y:not(X > Y)
> naturally complements "X Y" and "X>Y" selectors.

I think that would be equivalent to this:

X :not(X)>Y

Both would select a Y that is a descendant (but not a child) of an X.


-- 
Lachlan Hunt
http://lachy.id.au/
Received on Friday, 1 September 2006 02:36:10 GMT

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