W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2004

[whatwg] WA1 - The Section Header Problem

From: Christoph Päper <christoph.paeper@tu-clausthal.de>
Date: Fri, 19 Nov 2004 04:06:58 +0100
Message-ID: <opshoyxwcwofh7fl@crissov>
*Henri Sivonen* <hsivonen at iki.fi>:
> On Nov 18, 2004, at 21:48, Matthew Raymond wrote:
>
>> |   h2, section[level=2] h { /* H2 styling */ }
>
> Isn't the whole point of nested <section>s that you don't need a level  
> attribute (...)

That's what I thought. A level shortcut in CSS selectors (a pseudo-class)  
could be nice, though, such that you don't have to write

   section section section section section {}

but just something like

   section:nested-self(4) {}

or

   section:min-nested-self(4) {}
Received on Thursday, 18 November 2004 19:06:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:37 UTC