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

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