Re: xkcd: LTR

From: Masatoshi Kimura <>
Date: Tue, 27 Nov 2012 22:39:27 +0900

(2012/11/27 20:27), Philippe Verdy wrote:
> HTML5 does not reference the "Content-Type: text/html" header as enough
> to qualify as meaning "HTML5".
HTML5 User-agents must parse any byte sequences as HTML5 document if the
Content-Type is text/html.

> HTML5 **requires** its own prolog (i.e. its basic document declaration
> **within** the document itself, for the HTML syntax, or its FULL
> document declaration for the XML/XHTML syntax).
HTML5 requires **authors** to write the prolog, not user-agents. Lacking
prolog just turn the user-agents to quirks mode.
Note that quirks mode doesn't mean "do whatever you consider it quirks."
Parsing quirks mode document is also completely spec'ed.

> So Firefox is wrong and attempts to use HTML5 to render all HTML dialects.
No, not at all. Rather, it is required by the spec to use HTML5 parser
to parse all byte sequences sent with "Content-Type: text/html".
Could you please stop spreading an unfounded rumor such as "Firefox is
wrong because it ignores the lacking of HTML5 prolog"?

Received on Tue Nov 27 2012 - 07:42:31 CST

This archive was generated by hypermail 2.2.0 : Tue Nov 27 2012 - 07:42:32 CST