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

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