IE 8 “Edge” cases
Wednesday, April 8th, 2009
For a year, I have been reading conflicting opinions about the “edge” option in the “X-UA-Compatible” meta tag that Microsoft introduced. Now, with first hand experience with the released IE8 browser, I have formed my own opinions. This tag will force IE to render a page in the latest standards mode. To me this sounds like a tag that is making IE behave like all other browsers. If Firefox, Safari, Opera, or Chrome release a new version, there is no tag needed in order to make use of the latest features. My understanding is that the meta tag is a response to the fact that Microsoft needs to support all of the pages that were coded for the versions before IE8. The tags are in place to support developers who used hacks that will be incompatible with the newly supported standards. This part of Microsoft’s meta tag approach makes sense to me and it is a clever way to deal with a messy situation.
The “X-UA-Compatible” tag will allow developers to target any specific version of IE that they feel will properly render their code. I think the “edge” option makes sense if you know that you will always be coding to proper standards and are prepared to test your site as new versions of IE are released. However, Aaron Gustafson, of A-List-Apart, made a good opposing point in his article that was later reinforced by Chris Wilson in the IEBlog. They suggest that it would be better form to always target a specific browser version so that you are not left scrambling to fix bugs every time a new version is released. Though I agree that this makes sense, why only one browser? I would feel a lot better if this was a more global option that was bound to a spec instead of a specific browser version. I would love for all the browser manufacturers to extend Microsoft’s tag to be a more global tag, anything is possible right? Without a standardized tag, I fear we will have tags for every different a-grade browser and they will probably have their own conventions. I will just be an optimist on this one and hope our standards organizations have this one covered. Robert O’Callahan of mozillazine called Microsoft’s approach a “Maintenance burden” and I have to say that I agree that it will be a burden in it’s current form.
Finally, the two articles above that oppose using the “edge” option suggest that it will make code vulnerable to any new feature that is released by browser manufacturers. This has always been the case and it has bit me once or twice but I would hate to think that this approach will give the IE team license to release code that may not be ready for the wild. I would hope that the burden of quality testing is not being shifted from one development team to many developers and users.


I love the idea of