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

Re: [css3-selectors] :parent selector

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 25 Sep 2006 12:41:28 +1200
Message-ID: <451725B8.9020202@inkedblade.net>
To: www-style@w3.org

David Hyatt wrote:
> 
> I have yet to see any compelling use case for a :parent selector (or for 
> many of the other CSS3 selectors for that matter).

My favorite:

   :link {
      background: navy;
      color: white
      border: outset thin white;
   }

   /* select links with img child, i.e. all image links */ {
      background: transparent;
      border: none;
   }

~fantasai
Received on Monday, 25 September 2006 00:41:40 GMT

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