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

[whatwg] [html5] tags, elements and generated DOM

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Tue, 05 Apr 2005 12:37:27 +0200
Message-ID: <42526A67.9030907@annevankesteren.nl>
Lachlan Hunt wrote:
> No, there is no implied body element in either of those fragments.

I appreciate your comments but I was wondering if you have taken into 
account what existing user agents do. Since that, not some 
out-of-date-not-followed SGML standard, should be standardized in my 
humble opinion.

That also means that:

  <data:text/html,<style>body{background:lime}</style>>

... generates:

  HTML
   HEAD
    STYLE
     #text
   BODY

... whether you like it or not. Same for the other cases. I do not think 
it makes sense to say all current UAs are non-compliant as many pages 
may rely on the kind of DOM they generate.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Tuesday, 5 April 2005 03:37:27 UTC

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