W3C home > Mailing lists > Public > public-html@w3.org > June 2009

Re: <section><hgroup><h1><h2> styling

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 6 Jun 2009 02:10:02 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0906060205000.1648@hixie.dreamhostps.com>
On Thu, 7 May 2009, Simon Pieters wrote:
> Should h2 in hgroup be subject to ancestor sectioning elements wrt 
> font-size and margins? The spec has 
> <hgroup><h1>Foo</h1><h2>Bar</h2></hgroup> as examples and it would look 
> weird with a couple of ancestor <section>s:
> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/103

There are two ways to fix this that I can see: have a single rule which 
makes all <h2>-<h6> in <hgroup> the same as a regular <p> (maybe bold), 
and have a bunch of rules to make <h2>-<h6> in <hgroup> be treated as <h1> 
is treated. What is your preference?

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 6 June 2009 02:10:35 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:49 UTC