W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Interaction of explicit and implicit sections (was: Re: Question on (new) header and hgroup)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 8 May 2009 09:42:13 -0500
Message-ID: <dd0fbad0905080742y6afc45e8x51642ef881addc2e@mail.gmail.com>
On Fri, May 8, 2009 at 1:46 AM, Simon Pieters <simonp at opera.com> wrote:
> I guess the proper solution to that is to introduce
> :heading-level(n) that uses the outline algorithm. (But how to select and
> style subtitles in hgroup though?)

If you used a :heading-level() pseudoclass, you'd just do
":heading-level(x) h2" to style the h2 within an element of heading
level x.  (This would only target <h2>s withing <hgroup>s right now,
not <h2>s by themselves.)

Received on Friday, 8 May 2009 07:42:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC