<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21207</bug_id>
          
          <creation_ts>2013-03-07 05:01:09 +0000</creation_ts>
          <short_desc>X-UA-Compatible should be recognized for &lt;meta http-equiv=...&gt;</short_desc>
          <delta_ts>2015-06-17 03:17:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>MacOS X</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Foster">davidfstr+w3cbugs</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>davidfstr+w3cbugs</cc>
    
    <cc>hsivonen</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>mathias</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>84061</commentid>
    <comment_count>0</comment_count>
    <who name="David Foster">davidfstr+w3cbugs</who>
    <bug_when>2013-03-07 05:01:09 +0000</bug_when>
    <thetext>=== 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):

&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=9,chrome=1&quot;&gt;

As currently defined, &lt;meta&gt; does not permit &quot;X-UA-Compatible&quot; as a valid value in the table §4.2.5.3 &quot;Pragma directives&quot;, nor does it permit it through §4.2.5.4 &quot;Other pragma directives&quot;. 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 &lt;https://www.w3.org/Bugs/Public/show_bug.cgi?id=11954&gt; 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 &lt;meta http-equiv=&quot;X&quot; ...&gt;. But only define the semantics of those values explicitly listed in §4.2.5.4 &quot;Other pragma directives&quot;.

(B) Permit any value for &lt;meta http-equiv=&quot;X&quot; ...&gt; that begins with a &quot;X-&quot; 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 &quot;X-UA-Compatible&quot; as an explicit value for &lt;meta http-equiv=&quot;X&quot; ...&gt;. However I personally don&apos;t think &quot;X-UA-Compatible&quot; 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) &quot;chrome=1&quot; in X-UA-Compatible for Google Chrome Frame
    http://www.chromium.org/developers/how-tos/chrome-frame-getting-started/chrome-frame-faq</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84065</commentid>
    <comment_count>1</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2013-03-07 08:45:27 +0000</bug_when>
    <thetext>&quot;4.2.5.4 Other pragma directives

Extensions to the predefined set of pragma directives may, under certain conditions, be registered in the WHATWG Wiki PragmaExtensions page. [WHATWGWIKI]

Such extensions must use a name that is identical to an HTTP header registered in the Permanent Message Header Field Registry, and must have behavior identical to that described for the HTTP header. [IANAPERMHEADERS]&quot;

That&apos;s pretty clear, isn&apos;t it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84168</commentid>
    <comment_count>2</comment_count>
    <who name="David Foster">davidfstr+w3cbugs</who>
    <bug_when>2013-03-09 04:16:41 +0000</bug_when>
    <thetext>&gt; That&apos;s pretty clear, isn&apos;t it?

I&apos;m not sure what you mean. X-UA-Compatible is not presently in the Permanent Message Header Field Registry and therefore is not permitted as valid by §4.2.5.4 &quot;Other pragma directives&quot;.

Are you requiring that I get X-UA-Compatible added to the Permanent Message Header Field Registry before you consider making it a legal enumerated value in &lt;meta http-equiv=...&gt;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84229</commentid>
    <comment_count>3</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2013-03-11 15:30:02 +0000</bug_when>
    <thetext>I strongly oppose to making the IE=9 bit valid. Having sites activate a particular set of legacy behavior in a particular product is antithetical to the interoperability purpose of the HTML spec. I am less opposed to making IE=Edge valid, though I still think it&apos;s bad to make browser-specific markup valid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84323</commentid>
    <comment_count>4</comment_count>
    <who name="David Foster">davidfstr+w3cbugs</who>
    <bug_when>2013-03-13 01:44:20 +0000</bug_when>
    <thetext>&gt; I strongly oppose to making the IE=9 bit valid.

&gt; I am less opposed to making IE=Edge valid

My thought here: Both are valid values for the X-UA-Compatible header, as defined by Microsft&apos;s specification. Not recognizing the full set of valid values would be confusing.

I agree that the IE=edge is the less brittle use case. I use it on my own site to force IE to force standards mode (not compatibilty mode) when external code (ex: Disqus) inserts HTML that IE doesn&apos;t understand.

Actually it&apos;s not clear to me that you need to parse the header value here at all. Since it is an X- attribute, it could be stated that this is an implementation-defined pragma. Browsers that do not recognize the header should simply ignore it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85046</commentid>
    <comment_count>5</comment_count>
    <who name="David Foster">davidfstr+w3cbugs</who>
    <bug_when>2013-03-27 04:22:01 +0000</bug_when>
    <thetext>What do I need to do to move this bug forward?

* Do I need to get signoff from a particular set of people? (In which case I will invite them to the discussion.)
* Should I bring this up as a discussion topic on a particular mailing list?
* Or is there another preferred process in this community?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85048</commentid>
    <comment_count>6</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2013-03-27 06:59:36 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; &gt; That&apos;s pretty clear, isn&apos;t it?
&gt; 
&gt; I&apos;m not sure what you mean. X-UA-Compatible is not presently in the
&gt; Permanent Message Header Field Registry and therefore is not permitted as
&gt; valid by §4.2.5.4 &quot;Other pragma directives&quot;.
&gt; 
&gt; Are you requiring that I get X-UA-Compatible added to the Permanent Message
&gt; Header Field Registry before you consider making it a legal enumerated value
&gt; in &lt;meta http-equiv=...&gt;?

Yes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85050</commentid>
    <comment_count>7</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-03-27 08:42:32 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; What do I need to do to move this bug forward?
&gt; 
&gt; * Do I need to get signoff from a particular set of people? (In which case I
&gt; will invite them to the discussion.)
&gt; * Should I bring this up as a discussion topic on a particular mailing list?
&gt; * Or is there another preferred process in this community?

Given that there does not seem to be intensive discussion in the bug, and that there is disagreement, I would recommend taking it to public-html yes. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121155</commentid>
    <comment_count>8</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-17 03:16:01 +0000</bug_when>
    <thetext>Already fixed.
http://www.w3.org/html/wg/drafts/html/master/semantics.html#attr-meta-http-equiv</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>