[Bug 21818] XHTML5: Permit <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21818

--- Comment #4 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
(In reply to comment #0)

> 
> PROPOSAL: Repeat above tail also for <meta http-equiv="Content-Type"
> content="text/html; charset=FOO"/> at the end of the fragment
> #attr-meta-http-equiv-content-type, like so:
> 
> ]]
>  The Encoding declaration state may be used in HTML documents. <ins>and in
> XML documents</ins>. But <ins>if</ins> elements with an http-equiv attribute
> in that state <del>must not be</del> <ins>are</ins> used in XML documents,
> <ins>then the name of the character encoding of the character encoding
> declaration MUST be UTF-8 (and the document is therefore forced to use UTF-8
> as its encoding)</ins>
> [[

BTW, editors, please also add the related note,[1] which I hereby offer in
http-equiv modified form:

]]The http-equiv="content-type" has no effect in XML documents, and is only
allowed in order to facilitate migration to and from XHTML.[[

[1]
http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#attr-meta-charset

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 14 May 2013 14:40:08 UTC