Re: [css3 proposal]

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 UTC