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

Re: [css3 proposal]

From: Werner Donné <werner.donne@re.be>
Date: Fri, 17 Sep 2004 09:53:27 +0200
Message-ID: <414A97F7.6010808@re.be>
To: Brunner Ádám <brunner.adam@mediapark.hu>
CC: www-style@w3.org

Adam,

This corresponds to the XPath expression li[ul]. It is indeed very useful.
However, it requires look-ahead in an implementation, which is more complex
to do efficiently. Since CSS3 selectors also have a few constructs that
require look-ahead, the evolution towards that should be natural.

Werner.

Brunner Ádám wrote:
> 
> Hi everyone!
> 
> I think it would be a usefull thing, if there were a way to react to the 
> parent in CSS.
> 
> In the HTML source:
> ...
> <ul>
>    <li>text
>       <ul>
>          <li>text</li>
>                ...
>       </ul>
>    </li>
>    ...
> </ul>
> ...
> 
> In the CSS, I could define a different background to those <li>s, where 
> is a child <ul>. I don't have any idea, how to specify it in the CSS, 
> but I think it's usefull.
> 
> Sorry, if don't understand for first, but I don't speak english as well 
> as needed :)
> 
> Adam
> 
> 
> 
> 

-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Friday, 17 September 2004 07:55:20 GMT

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