W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] [WebApps] "html" start tag token in main phase

From: J. King <jking@dark-phantasy.com>
Date: Fri, 08 Dec 2006 15:57:04 -0500
Message-ID: <op.tj9dtegaplbshj@briann>
The root element phase dictates that any start tag (including "html")  
produces an <html> element in the document and is then re-processed in the  
main phase.  The main phase then states that if an "html" start tag token  
is encountered it produces a parse error -unless- it's the first start tag.

Wouldn't it be simpler to just properly process the "html" start tag in  
the root element phase instead of having such a special case?  I'm  
certainly finding this special case to be needlessly difficult to deal  

J. King
Received on Friday, 8 December 2006 12:57:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:51 UTC