- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 22 Mar 2005 00:33:54 +0000 (UTC)
- To: Mats Palmgren <mats.palmgren@bredband.net>
- Cc: BachusII <BachusII@planet.nl>, Anne van Kesteren <fora@annevankesteren.nl>, W3C CSS List <www-style@w3.org>
On Tue, 22 Mar 2005, Mats Palmgren wrote: > > How about something similar to counters? [1] > > body, section, navigation { depth-weight: IDENT 1; } > h:depth(IDENT, 3) {} > > that is, :depth(IDENT, number) would match an element where the sum of > its ascenders' weight for the depth IDENT equals number. That's a neat idea! -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 22 March 2005 00:34:03 UTC