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

Re: [css3-selectors] :parent selector

From: Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
Date: Mon, 25 Sep 2006 16:33:00 +0400
Message-ID: <4517CC7C.6060008@SoftwareManiacs.Org>
To: Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org

Ivan Sagalaev wrote:
> 
>     :link:parent img {
>       border: none;
>     }
> 
> ...would match only in cases like `<a><img/></a>` (may be with 
> whitespace).

As I was corrected off-list I really meant this:

     img:parent:link {
       border: none;
     }

"something that is a parent of <img> and is a link"
Received on Monday, 25 September 2006 12:33:15 GMT

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