Re: [css3-selectors] :parent selector

> 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 UTC