[whatwg] Parsing the string <html>

Mohammad Al Houssami (Alumni) mha53 at mail.aub.edu
Fri Aug 2 06:18:28 PDT 2013


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.

More information about the whatwg mailing list