If you go to http://livedom.validator.nu/ and try to add <html> the DOM tree shows the head and body elements. I am using this as a reference to compare to my results. Its not reliable then? Thank you
-----Original Message----- From: Tab Atkins Jr. [mailto:[email protected]] Sent: Saturday, August 03, 2013 1:18 AM To: Mohammad Al Houssami (Alumni) Cc: Ian Hickson; [email protected] Subject: Re: [whatwg] Parsing the string <html> On Fri, Aug 2, 2013 at 5:08 PM, Mohammad Al Houssami (Alumni) <[email protected]> wrote: > That is totally correct. But are the head and body elements added to the > document? So basically when we stop parsing the document should only have the > html element is that correct? No, the spec clearly says "Insert an HTML element..." for those as you trace through the parsing. ~TJ
