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

Re: [css3-selectors] :parent selector

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sun, 01 Oct 2006 17:16:15 -0500
Message-ID: <45203E2F.6070606@mit.edu>
To: Jo-W <jowie.1337@gmail.com>
CC: www-style@w3.org

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 GMT

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