W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2013

Re: [whatwg] Parsing the string <html>

From: Mohammad Al Houssami (Alumni) <mha53@mail.aub.edu>
Date: Sat, 3 Aug 2013 08:29:01 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
Message-ID: <0F8BA5A0576A5F44B0D188C2628265DA4109E2BF@AMSPRD0611MB548.eurprd06.prod.outlook.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
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:jackalmage@gmail.com] 
Sent: Saturday, August 03, 2013 1:18 AM
To: Mohammad Al Houssami (Alumni)
Cc: Ian Hickson; whatwg@whatwg.org
Subject: Re: [whatwg] Parsing the string <html>

On Fri, Aug 2, 2013 at 5:08 PM, Mohammad Al Houssami (Alumni) <mha53@mail.aub.edu> 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

Received on Saturday, 3 August 2013 08:29:32 UTC

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