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

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  
with.

-- 
J. King
http://jking.dark-phantasy.com/

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