ie8-versioning-mechanism.html 12.8 KB
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="all">
    @import "/QA/2006/01/blogstyle.css";
    </style>
    <meta name="keywords" content='html, html5, versioning' />
    <meta name="description" content="Microsoft proposes an opt-in versioning mechanism for IE8 for Web developers using the meta element of HTML." />
    <meta name="revision" content="$Id: ie8-versioning-mechanism.html,v 1.56 2011/12/16 03:02:39 gerald Exp $" />    
   <link rel="alternate" type="application/atom+xml" title="Atom" href="http://www.w3.org/QA/atom.xml" />
   <link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="http://www.w3.org/QA/news.rss" />   
   <title>IE8 and opt-in versioning mechanism - W3C Blog</title>

   <link rel="start" href="http://www.w3.org/QA/" title="Home" />
   <link rel="prev" href="http://www.w3.org/QA/2008/01/svg_on_acid.html" title="SVG On Acid?" />
   <link rel="next" href="http://www.w3.org/QA/2008/01/html5.html" title="www.w3.org/TR/html5" />

   <!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
         xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
    rdf:about="http://www.w3.org/QA/2008/01/ie8-versioning-mechanism.html"
    trackback:ping="http://www.w3.org/QA/sununga/mt-tb.cgi/131"
    dc:title="IE8 and opt-in versioning mechanism"
    dc:identifier="http://www.w3.org/QA/2008/01/ie8-versioning-mechanism.html"
    dc:subject="HTML"
    dc:description="Microsoft proposes an opt-in versioning mechanism for IE8 for Web developers using the meta element of HTML."
    dc:creator="Karl Dubost"
    dc:date="2008-01-22T01:43:06+00:00" />
</rdf:RDF>
-->

    <!-- <script type="text/javascript" src="http://www.w3.org/QA/mt.js"></script>-->

</head>
<body class="layout-one-column">
      <div id="banner">
      <h1 id="title">
	<a href="http://www.w3.org/"><img height="48" alt="W3C" id="logo" src="http://www.w3.org/Icons/WWW/w3c_home_nb" /></a>
W3C Blog
</h1>
    </div>
    
    <ul class="navbar" id="menu">
        <li><strong><a href="/QA/" title="W3C Blog Home">[ W3C Blog ]</a></strong></li>
        <li><a href="/QA/Library/" title="Documents and Publications on Web and Quality">Documents</a></li>
        <li><a href="/QA/Tools/" accesskey="3" title="Validators and other Tools">Tools</a></li>
        <li><a href="/2007/12/qa-blog-help/index#feedback">Feedback</a></li>
    </ul>
<div id="searchbox">
<form method="get" action="http://www.google.com/custom" enctype="application/x-www-form-urlencoded">
<p id="formbox"><input type="text" size="15" class="textfield" name="q" accesskey="E" maxlength="255" /> <input type="submit" class="submitfield" value="Search" id="goButton" name="sa" accesskey="G" /> <input type="hidden" name="cof" value="T:black;LW:72;ALC:#ff3300;L:http://www.w3.org/Icons/w3c_home;LC:#000099;LH:48;BGC:white;AH:left;VLC:#660066;GL:0;AWFID:0b9847e42caf283e;" /><input type="hidden" id="searchW3C" name="sitesearch" checked="checked" value="www.w3.org/QA" /><input type="hidden" name="domains" value="www.w3.org/QA" /></p>
</form>
</div>


    <div id="main"><!-- This DIV encapsulates everything in this page - necessary for the positioning -->

                     <p class="content-nav">
                        <a href="http://www.w3.org/QA/2008/01/svg_on_acid.html">&laquo; SVG On Acid?</a> |
                        <a href="http://www.w3.org/QA/">Main</a>
                        | <a href="http://www.w3.org/QA/2008/01/html5.html">www.w3.org/TR/html5 &raquo;</a>
                     </p>

                        <h2 class="entry-header">IE8 and opt-in versioning mechanism</h2>
                           <div class="entry-body">
                              <p>Update 2008-01-23: See the <a href="http://www.w3.org/QA/2008/01/ie8_versioning_snowstorm">followup on QA</a>.</p>

<p>I have discussed a lot in the past about <a href="http://www.w3.org/QA/2007/05/html_and_version_mechanisms">possible versioning mechanisms</a>. A 'meta' element and http headers were two of the possibilities I had mentioned.  Today, Chris Wilson (Microsoft and chair of the HTML WG) has announced in <a href="http://blogs.msdn.com/ie/archive/2008/01/21/compatibility-and-ie8.aspx">compatibility and IE8</a> that Microsoft worked with the <a href="http://webstandards.org/">WASP</a> to propose an <a href="http://alistapart.com/articles/beyonddoctype">opt-in versioning mechanism</a>.</p>

<p>The summary is </p>

<blockquote>
  <ol>
  <li> "Quirks mode" remains the same, and compatible with current content.</li>
  <li>"Standards mode" remains the same as IE7, and compatible with current content.</li>
  <li>If you (the page developer) really want the best standards support IE8 can give, you can get it by inserting a simple &lt;meta&gt; element. Aaron gives more details on this in his article.</li>
  </ol>
</blockquote>

<p>In the <a href="http://alistapart.com/articles/beyonddoctype">WASP article</a>, it is explained as</p>

<pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=8" /&gt;
</code></pre>

<p>My question to Chris Wilson:</p>

<p>Does IE8 support this opt-in mechanism when sent as an HTTP header only, without the meta in the document?</p>

<pre><code>GET / HTTP/1.1
Host: www.example.org
X-UA-Compatible: IE=8
</code></pre>

<p>Update: Answers in the comments suggest that it doesn't respect HTTP protocol.</p>

                           </div>
                           <div id="more" class="entry-more">
                              

                           </div>
                       <p class="postinfo">Filed by <a href="http://www.w3.org/People/karl/">Karl Dubost</a> on January 22, 2008  1:43 AM in <a href="http://www.w3.org/QA/archive/technology/html/">HTML</a><br />
<span class="separator">|</span> <a class="permalink" href="http://www.w3.org/QA/2008/01/ie8-versioning-mechanism.html">Permalink</a>
                                 | <a href="http://www.w3.org/QA/2008/01/ie8-versioning-mechanism.html#comments">Comments (5)</a>
                                 | <a href="http://www.w3.org/QA/2008/01/ie8-versioning-mechanism.html#trackback">TrackBacks (0)</a>
</p>



<h3 class="comments-header" id="comments">Comments</h3>
<div class="comment" id="comment-105475">
<p class="comment-meta" id="c105475">
<span class="comment-meta-author"><strong>Frank </strong></span>
<span class="comment-meta-date"><a href="#c105475">#</a> 2008-01-22</span>
</p>
<div class="comment-bulk">
<p>The <a href="http://alistapart.com/articles/beyonddoctype" rel="nofollow">article</a> proposes that HTTP servers can send an X-UA-Compatible header field, and individual documents can override what the server says with meta http-equiv="X-UA-Compatible". </p>

</div>
</div>


<div class="comment" id="comment-105536">
<p class="comment-meta" id="c105536">
<span class="comment-meta-author"><strong>Chris Wilson </strong></span>
<span class="comment-meta-date"><a href="#c105536">#</a> 2008-01-22</span>
</p>
<div class="comment-bulk">
<p>As per Frank - yes.</p>

</div>
</div>


<div class="comment" id="comment-105598">
<p class="comment-meta" id="c105598">
<span class="comment-meta-author"><strong>David Hammond </strong></span>
<span class="comment-meta-date"><a href="#c105598">#</a> 2008-01-22</span>
</p>
<div class="comment-bulk">
<p>Either way, it seems to me that you'd want it in the document itself so that the compatibility mode would be retained even when the HTTP information is lost (such as when the document is saved locally by a user agent that doesn't know to automatically add the meta element).</p>

</div>
</div>


<div class="comment" id="comment-106121">
<p class="comment-meta" id="c106121">
<span class="comment-meta-author"><strong>wortwart </strong></span>
<span class="comment-meta-date"><a href="#c106121">#</a> 2008-01-23</span>
</p>
<div class="comment-bulk">
<p>@David: No. If I have to support this compatibility header to get the best standards support from IE I would prefer to simply handle it via web server configuration.</p>

</div>
</div>


<div class="comment" id="comment-113405">
<p class="comment-meta" id="c113405">
<span class="comment-meta-author"><strong>Brandon Wirtz </strong></span>
<span class="comment-meta-date"><a href="#c113405">#</a> 2008-02-13</span>
</p>
<div class="comment-bulk">
<p>I disagree with the web server configuration idea.  As a server Admin you don't know which pages require the new rendering and which ones don't.  </p>

<p>Setting it in the server config would also preclude your users from submitting code that doesn't work in IE8 that does in other browsers, this could be a nightmare for any website that wants to allow the use of Embeded objects or code in comments, or DataFeeds, or even potentially RSS.</p>

<p>If you really wanted a server side solution I would think doing a forced include on every page would be the way to go.  Which would also solve the problem for after the end user downloaded the page to their hard disk and wanted to view it later, as it would have the appropriate tags already included.</p>

<p>more of my thoughts on this are at <a href="http://www.takingthebridge.com/2008/02/microsoft/ie8-more-standard-if-you-want-it-to-be/" rel="nofollow">TakingTheBridge.com</a></p>

</div>
</div>



  <div class="comments-open" id="comments-open">
<h3 class="comments-open-header">Leave a comment</h3>

<div class="comments-open-moderated">
   <p>
   Note: this blog is intended to foster <strong>polite
   on-topic discussions</strong>. Comments failing these
   requirements and spam will not get published. Please,
   enter your real name and email address. Every
   individual comment is reviewed by the W3C staff.
   This may take some time, thank you for your patience.
   </p>
   <p>
   You can use the following HTML markup (a href, b, i, 
   br/, p, strong, em, ul, ol, li, blockquote, pre) 
   and/or <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a>.</p>
</div>

<div id="comments-open-data">
<form method="post" action="http://www.w3.org/QA/sununga/beach.pl" id="comments-form">
<h4>Your comment</h4>
<div id="comments-open-text">
  <textarea id="comment-text" name="text" rows="20" cols="100"></textarea><br />
<label for="comment-text">Write your comment text here. Remember, keep the discussion on topic and courteous.</label>
</div>

<h4>About you</h4>
<div id="comment-form-name">
  <input type="hidden" name="static" value="1" />
<input type="hidden" name="entry_id" value="141" />
<input type="hidden" name="__lang" value="en" /> 
<label for="comment-author">Your Name</label>
<input id="comment-author" name="author" size="30" value="" />
</div>
<div id="comment-form-email">
<label for="comment-email">Your Email Address</label>
<input id="comment-email" name="email" size="30" value="" />
</div>

<div id="comments-open-footer">
<input type="submit" accesskey="s" name="post" id="comment-submit" value="Submit" />

</div>
</form>
</div>
</div>



<p id="gentime">This page was last generated on $Date: 2011/12/16 03:02:39 $</p> 

      </div><!-- End of "main" DIV. -->

<address>

This blog is written by W3C staff and working group participants,<br />
&nbsp;and maintained by <a href="/People/CMercier/">Coralie Mercier</a>.<br />
Authorized parties may <a href="/QA/new">log in</a> to create a new entry.<br/>
<span id="poweredby">Powered by Movable Type, magpierss and a lot of Web Technology</span>
    </address>


    
    <p class="copyright">
      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 1994-2011
      <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>&reg;
      (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>,
      <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
      <a href="http://www.keio.ac.jp/">Keio</a>),
      All Rights Reserved.
      W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
      <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
      and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a>
      rules apply. Your interactions with this site are in accordance
      with our <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</a> and
      <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</a> privacy
      statements.
    </p>

  </body>
</html>