[whatwg] Parsing the string <html>

Hello,

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 html element and the stack of open elements will have html head and body elements in it. I have a feeling this is wrong but I am pretty sure this is what happens in the specs.
Note that I still don't have a complete implementation. I am building the parser step by step trying to first parse the basic tags ( html head body title and few others).

Any help is appreciated.
Mohammad

Received on Friday, 2 August 2013 13:19:07 UTC