Re: [whatwg] Parsing the string html

2013-08-03 Thread Mohammad Al Houssami (Alumni)
, August 03, 2013 1:18 AM To: Mohammad Al Houssami (Alumni) Cc: Ian Hickson; wha...@whatwg.org Subject: Re: [whatwg] Parsing the string html On Fri, Aug 2, 2013 at 5:08 PM, Mohammad Al Houssami (Alumni) mh...@mail.aub.edu wrote: That is totally correct. But are the head and body elements added

Re: [whatwg] Parsing the string html

2013-08-03 Thread Tab Atkins Jr.
On Sat, Aug 3, 2013 at 1:29 AM, Mohammad Al Houssami (Alumni) mh...@mail.aub.edu wrote: 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? I... don't

Re: [whatwg] Parsing the string html

2013-08-02 Thread Ian Hickson
On Fri, 2 Aug 2013, Mohammad Al Houssami (Alumni) wrote: When parsing the string html the document should supposedly have an html root with head and body children. ( This is what live dom viewer shows at least) but according to the specs( if im not wrong) we only get the document with the

Re: [whatwg] Parsing the string html

2013-08-02 Thread Mohammad Al Houssami (Alumni)
To: Mohammad Al Houssami (Alumni) Cc: wha...@whatwg.org Subject: Re: [whatwg] Parsing the string html On Fri, 2 Aug 2013, Mohammad Al Houssami (Alumni) wrote: When parsing the string html the document should supposedly have an html root with head and body children. ( This is what live dom viewer

Re: [whatwg] Parsing the string html

2013-08-02 Thread Tab Atkins Jr.
On Fri, Aug 2, 2013 at 5:08 PM, Mohammad Al Houssami (Alumni) mh...@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

Re: [whatwg] Parsing the string html

2013-08-02 Thread Ian Hickson
Ian wrote: On Fri, 2 Aug 2013, Mohammad Al Houssami (Alumni) wrote: When parsing the string html the document should supposedly have an html root with head and body children. ( This is what live dom viewer shows at least) but according to the specs( if im not wrong) we only get the