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

On Sat, 6 Jun 2009, Simon Pieters wrote:
> On Sat, 06 Jun 2009 04:10:02 +0200, Ian Hickson <ian@hixie.ch> wrote:
> > 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?
> 
> Why all of <h2>-<h6> and not just <h2>?

I'm sitting next to a book whose top level header is equivalent to:

   <hgroup>
    <h2>Peter F. Hamilton</h2>
    <h3>Bestselling author of <cite>The Dreaming Void</cite></h3>
    <h1>The Temporal Void</h1>
   </hgroup>


> My preference (as an author) would be to have h2 in hgroup be one step 
> smaller than the h1 would be.

Are browser vendors willing to implement that?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 2 July 2009 04:43:14 UTC