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

Re: [css3-selectors] :parent selector

From: David Woolley <david@djwhome.demon.co.uk>
Date: Sun, 1 Oct 2006 22:16:45 +0100 (BST)
Message-Id: <200610012116.k91LGjx00770@djwhome.demon.co.uk>
To: www-style@w3.org

> writing:
>   div |p| span { ... }
> would apply the css code on the <p> element instead of the <span> element.
> This should not have the same inefficiency (and less confusion when a

As it seems to be more powerful than the proposed :parent (allows indirect
descendants), I don't understand why it is should be more efficient (put
another way, if it is more efficient, why is it so expensive to convert
:parent into this form algorithmically?)

> human reads the selector).
Received on Monday, 2 October 2006 04:40:37 GMT

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