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

[whatwg] On tag inference

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 5 Sep 2005 16:52:49 +0300
Message-ID: <70d0b10d43c24b7c50ef34bebcbb2b32@iki.fi>
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

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