W3C home > Mailing lists > Public > www-style@w3.org > March 2005

Re: [selectors] Tree selectors

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 22 Mar 2005 08:18:15 +0000 (UTC)
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: Mats Palmgren <mats.palmgren@bredband.net>, BachusII <BachusII@planet.nl>, Anne van Kesteren <fora@annevankesteren.nl>, W3C CSS List <www-style@w3.org>
Message-ID: <Pine.LNX.4.61.0503220817140.12561@dhalsim.dreamhost.com>

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 GMT

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