Blog Post RSS ?

Blogs » Web Tech » IE8 Standards Mode Is Opt-in
 

IE8 Standards Mode Is Opt-in

by Matthew Magain

Microsoft have reversed this decision; IE8 will now choose standards-compliant mode by default.
Chris Wilson confirmed today on the IEBlog that for a site to render in standards-compliant mode in IE8 it will need to include a specific meta tag:

  1. “Quirks mode” remains the same, and [will stay] compatible with current content.
  2. “Standards mode” remains the same as IE7, and [will stay] compatible with current content.
  3. If you (the page developer) really want the best standards support IE8 can give, you can get it by inserting a simple meta element.

The meta tag, also documented by Aaron Gustafson in the latest issue of A List Apart (with careful justification and support) looks like this:

<meta http-equiv="X-UA-Compatible" content="IE=8" />

While I concede that, in order to retain backwards compatibility with the sites of yesterday (and of five years ago), opting in to render a page in standards-mode in IE8 seems the only sensible option, one thing really irka me about this approach:

Hardcoding a reference to a specific browser as a necessary part of the page’s markup feels plain dirty.

It’s one thing to specify a character encoding or the language used by the page, but the agent with which it is compatible? Fundamentally and philosophically it just makes sense for a page to be completely browser-agnostic. In fact, the sheer mention of a browser in a page could be interpreted as a geek form of advertising, while other browsers pay the penalty for being better at adhering to the W3C specs. Will other browsers follow suit, such that web developers find it necessary to write something like this?

<meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;Opera=9;Konqueror=3;Safari=3..." />

Still, I guess it beats using conditional comments.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

Related posts:

  1. IE8: Standards Mode Opt-In is Back From the Dead
  2. Fear and Loathing in Standardsville: The IE8 Opt-in Debate
  3. IE8 Passes Acid2 Test, Web Standards Project Dies of Shock
  4. IE8 Version Targeting: Microsoft Considers Feedback
  5. Standards Support in Internet Explorer 8 beta 1

This post has 37 responses so far

Sponsored Links