[whatwg] Doctype, "html" or "HTML"

Simon Pieters zcorpan at hotmail.com
Mon Feb 13 11:37:57 PST 2006


The initial phase[1] section, on A DOCTYPE token marked as being correct, 

>Append a DocumentType node to the Document  node,
>with the name attribute set to the name given in the
>DOCTYPE token (which will be either "html" or "HTML") [...]

...but given the DOCTYPE name state[2], won't the name always be "HTML"?

[1] http://whatwg.org/specs/web-apps/current-work/#the-initial1
[2] http://whatwg.org/specs/web-apps/current-work/#doctype0

Simon Pieters

More information about the whatwg mailing list