W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 4 Apr 2005 14:24:57 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0504041420020.27693@dhalsim.dreamhost.com>

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:21 UTC