Re: [selectors] Tree selectors

On Tue, 22 Mar 2005, Daniel Glazman wrote:
> 
> As Ian said, it's a neat idea but it adds a new dependency from 
> selectors to values. And that's quite a bad one IMHO:
> 
>   div:depth(divdepth, 3) { depth-weight: divdepth 1; }

I was assuming that you would only look at the depth of ancestors when 
calculating an element's depth. Obviously, as you point out, if you look 
at the element itself then you have a dependency loop.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 22 March 2005 08:18:20 UTC