- From: <bugzilla@jessica.w3.org>
- Date: Thu, 07 Mar 2013 05:01:09 +0000
- To: public-html-admin@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21207 Bug ID: 21207 Summary: X-UA-Compatible should be recognized for <meta http-equiv=...> Classification: Unclassified Product: HTML WG Version: unspecified Hardware: Macintosh OS: MacOS X Status: NEW Severity: normal Priority: P2 Component: HTML5 spec Assignee: dave.null@w3.org Reporter: davidfstr+w3cbugs@gmail.com QA Contact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-admin@w3.org, public-html-wg-issue-tracking@w3.org === Background === The X-UA-Compatible is an HTTP header used to control the rendering mode of Internet Explorer and the Google Chrome Frame plugin. It is commonly included in HTML directly via something like the following (taken from twitter.com): <meta http-equiv="X-UA-Compatible" content="IE=9,chrome=1"> As currently defined, <meta> does not permit "X-UA-Compatible" as a valid value in the table §4.2.5.3 "Pragma directives", nor does it permit it through §4.2.5.4 "Other pragma directives". This means that web pages using this header will fail validation by the W3C Validator. Maintainer Ville Skytt of the validator indicates in W3C bug 11954 <https://www.w3.org/Bugs/Public/show_bug.cgi?id=11954> that this will not be fixes unless the HTML5 specification is updated to allow this attribute. Suggested options for revision: (A) Permit any value for <meta http-equiv="X" ...>. But only define the semantics of those values explicitly listed in §4.2.5.4 "Other pragma directives". (B) Permit any value for <meta http-equiv="X" ...> that begins with a "X-" prefix, indicating that it is a non-standard header. Interpreters of HTML5 are explicitly not required to handle such experimental attributes and should ignore those that are not understood. (C) Permit "X-UA-Compatible" as an explicit value for <meta http-equiv="X" ...>. However I personally don't think "X-UA-Compatible" requires this kind of special treatment. (D) Surprise me. === References === (0) §4.2.5.3 Pragma directives http://www.w3.org/TR/html5/document-metadata.html#attr-meta-http-equiv (1) X-UA-Compatible Specification http://msdn.microsoft.com/en-us/library/jj676915(v=vs.85).aspx (2) "chrome=1" in X-UA-Compatible for Google Chrome Frame http://www.chromium.org/developers/how-tos/chrome-frame-getting-started/chrome-frame-faq -- You are receiving this mail because: You are on the CC list for the bug.
Received on Thursday, 7 March 2013 05:01:10 UTC