[whatwg] On tag inference

On Sep 5, 2005, at 13:10, Lachlan Hunt wrote:

> Henri Sivonen wrote:
>> What about the interaction of <section> with <head> and <body>?
>> How would you insert the optional tags in this case:
>> <!DOCTYPE html>
>> <title>...</title>
>> <section>...</section>
>> <div>...</div>
>> ?
>> My tentative assumption has been
>> <!DOCTYPE html>
>> <html><head><title>...</title>
>> </head><body><section>...</section>
>> <div>...</div></body></html>
>
> That is how I would recommend it be defined.  It's not what Firefox 
> does (that's the easiest browser to get the DOM source from)

That's weird.

I tested http://hsivonen.iki.fi/test/inference/section.html in Mozilla 
1.7.5 and Safari 1.3 and in both cases SECTION appears as the first 
child of body. (A DOM viewer for Opera would be nice. :-)

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/

Received on Monday, 5 September 2005 06:52:49 UTC