Re: [css3-selectors] :parent selector

Jo-W wrote:
> I propose a "applies-to" 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

Actually, it would.  It's exactly equivalent to some of the other proposals from 
a logical standpoint.  Just changing the syntax doesn't change the work that 
needs to be done.

-Boris

Received on Sunday, 1 October 2006 22:16:25 UTC