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

[whatwg] Parsing the string <html>

From: Mohammad Al Houssami (Alumni) <mha53@mail.aub.edu>
Date: Fri, 2 Aug 2013 13:18:28 +0000
To: "whatwg@whatwg.org" <whatwg@whatwg.org>
Message-ID: <0F8BA5A0576A5F44B0D188C2628265DA40709F73@AMSPRD0611MB548.eurprd06.prod.outlook.com>
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

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