Today felt like a nuclear bomb was dropped on the web development community. It didn’t seem so at first, but as the day went on and person after person chipped into the argument, I can honestly say I don’t remember such an uproar since I’ve been working in the industry. The reason for the uproar? An article on A List Apart written by Aaron Gustafson entitled, Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8.
For those who have been living under a rock today, the article explains how Microsoft is going to deal with browser rendering in Internet Explorer 8. Chris Wilson, IE’s Platform Architect, summed it up nicely in three points:
- “Quirks mode” remains the same, and compatible with current content.
- “Standards mode” remains the same as IE7, and compatible with current content.
- If you (the page developer) really want the best standards support IE8 can give, you can get it by inserting a simple element. Aaron gives more details on this in his article.
Aaron’s article describes the state of rendering engines in IE and then goes on to explain some of the issues they had upgrading IE6 to IE7. As part of the Web Standards Project, Aaron offered his help (along with other members of the WaSP Microsoft Task Force) to Microsoft to work through some of the issues web developers will face with a new version of IE. The end result was a recommendation of a specific
meta tag that would switch IE8 to use the new standards-compliant rendering engine. In my mind, I read this and said, “oh, that’s interesting.” The reactions of others wasn’t so mild.
John Resig wrote of this approach:, “it’s completely worthless – and in fact harmful – for any browser to implement!” His main points of contention are made in several assertions:
- Implementing this would be harmful to Firefox, Opera, and Safari.
- A document may include a frame that contains another document in a different rendering mode and that will mess things up.
- You can’t choose to upgrade the scripting engine only, you must upgrade everything.
Robert O’Callahan of Mozilla had a somewhat more tempered response in two blog posts. Robert’s concerns are mostly pointed towards the maintenance issues that Microsoft will face using this approach as well as whether or not this makes sense for Firefox. His issues for developers are as follows:
- Cross-document compatibility between rendering engines.
- Each rendering engine has its own attack surface.
Once again, the cross-document issue pops up. As I previously stated, I don’t see this as a huge issue. The attack surface issue is an interesting one, for sure, as this would allow exploits to be targeted at particular rendering engine versions. Robert correctly points out that making upgrades to the rendering engines will be more difficult if these upgrades can’t break prior rendering modes, which only creates more opportunities for attacks.
PPK has an unusually restrained piece about the topic as well, where he correctly points out that the rendering engine switch is not akin to browser detection. It literally has no effect on any other browser and won’t affect your pages unless you use it. The WaSP also posted a response begging developers to temper their initial reactions and give the solution a chance before completely dismissing it. I think this is the right approach.
There was an internal conversation going on at Yahoo! about this today, and I’d like to repeat some of the sentiments I shared. First, Microsoft is in a really tough position. They have really been trying to listen to web developers clamoring for better standards support. They are also listening to their partners, big corporations with thousands of Internet and intranet pages that would cost them millions to upgrade. Microsoft got slapped when IE7 broke some pages by fixing layout bugs; they couldn’t afford to repeat that mistake. Whether we like to admit it or not, there are tons of web sites that are designed to work specifically for IE6. They were written at a time when IE had over 95% market share and haven’t been updated since.
There literally is no good move for Microsoft to make in this vein. Either they do nothing and don’t break the Web but garner the ire of web developers everywhere, or they pacify web developers by forcing standards on everyone and break tons of web sites and web applications. This is the literal rock and hard place scenario. Microsoft is trying to satisfy both conditions and I honestly feel that this is a huge step forward for IE.
I know not everyone will like the solution, but give Microsoft credit for shaking things up a bit. Tons of great web innovations have come out of Microsoft so don’t be so quick to dismiss this. Aaron is a really smart guy and knowing that he was involved with this makes me feel better about it. I know the respect he has for the Web and the web development community, and I have no doubt that he and the IE team thought through a lot of the issues that are being brought up now. More details will certainly be forthcoming, so until then, remember one thing about this new version-lock feature: you don’t have to use it if you don’t want to.