[whatwg] <h1> to <h6> in <body>

On Mon, 4 Apr 2005, Matthew Raymond wrote:
> 
>    That said, this is how I would process the sample markup:
> 
>     <body>
>      <p>...</p>               <unnamed section>
>      <h1>A</h1>               1        A (importance level 1)

I agree with most of what you said but the problem I have with the above 
is that it means almost every document will have an anonymous section at 
the top, and I don't think that makes sense.

Even in the case of:

   <body>
    <h1>...</h1>

...there's an anonymous section, because you have a whitespace text node 
before the element. That doesn't really work for me.

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

Received on Monday, 4 April 2005 07:24:57 UTC