Categories
Mozilla Web Development

Meta Stupidity

As Robert O’Callahan, John Resig, Anne van Kesteren all point out, this idea of using a meta tag to select a rendering engine is bad. Here are my personal thoughts on the issue. Not as a browser developer but as a web developer.

Essentially the argument by the IE team is this: Rather than fix the problem, lets create a larger problem so the smaller one isn’t very noticeable.

Yea, that’s how I parsed the blog post. For anyone who disagrees, perhaps I interpreted it wrong because they didn’t select the correct parser because they didn’t include the following:

<meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;raccettura=serious;OtherUA=4" />

All joking aside it’s an insane idea guaranteed to set things back.

The problems web developers face are pretty simple:

  • Archaic html/js often written by Java/C++ developers in the late 90’s early 00’s who knew nothing of html/js but wrote the backend and by definition were expected to figure out the frontend. Code is massively FUBAR and was designed for IE exclusively. Those currently maintaining it have no idea what to do to fix it and don’t want to bother.
  • Genuine attempts to keep up with standards but growing frustrated with lack of good browser support for them (looking at you IE 6, and partially at IE 7).
  • Half hearted attempt to keep up with standards, but figure all the cool kids use an XHTML 1.1 doctype, so why not?

There are others, but most fall into these 3 categories. Microsoft’s fix doesn’t help anyone of them. It just means more broken sites and more knowledge of different issues in various versions is needed. Let IE 6 die already. Mozilla put Firefox 1.x to sleep already. Encourage it to die. IE 6 was released in 2001. It’s perfectly acceptable at this point to EOL it. There’s a viable alternative for Windows XP which is still supported. IE 7, Firefox, Safari. All of which are free. Killing IE 6 once and for all is the first step to fixing the problem. It will get rid of lots of ugly “hacks” on the web and let developers start to move on. And on towards getting ready for IE 8.

What happens if my page is set to use 1 rendering engine, but I want to include a “widget” designed for another? In the age of embedded content this raises a whole new set of issues. Not everything is Flash. What if this JS widget is designed for IE 7 and my page is designed for IE 6? The web right now is at least encouraging people to keep up, and providing incentives (better cross browser compatibility, reduced QA and triaging issues). This new scheme just fragments the web. Many of those embedding these days don’t know a thing about html, js, or web standards and compatibility. How do you explain what they need to know? Or does my code really need to be able to handle all cases an embedder might throw? Does anyone else see the burden this creates?

As Robert O’Callahan so awesomely points out, it can’t be easy for Microsoft to maintain either. If they have so much time/resources on hand, why not just work on fixing bugs, furthering the web standards work, and starting an evangelism team to contact problematic sites and encourage them to start fixing issues. Worked for little old Mozilla with < 5% market share at the time. I’m guessing with Microsoft’s market share, they could likely do better.

Why not do like WebKit, Mozilla, and Opera do and start providing nightlies so developers can actively track issues? Why are web developers left in the dark through most of the process? It doesn’t seem like anything is really a closely guarded secret. You can keep the UI stuff private and just release updates to the rendering engine. That’s essentially what WebKit does. CSS3 isn’t exactly a business secret. Then once things are late in the game, web developers are shown what they need to deal with. The model the other players use is so much better from a developer perspective. I regularly test sites I take care of in nightlies. Not every day or even every week, but I keep up on it. Web developers have had over 1 year to see what Firefox 3.0 was cooking up. Various blogs have covered changes, as well. IE 8? Radio silence for the most part. Exceptions for things like this.

There must be a better way. Come on Microsoft, help fix the web.

8 replies on “Meta Stupidity”

Neil: Doubt there’s any requirement to keep IE 6 up to date. One can argue that a few security vulnerabilities in the past have taken a while to be released… was Microsoft in a breech of contract? Could a Windows 2000 customer sue? Doubt it.

Microsoft can also just discontinue it on all but Windows 2000. Notably getting rid of support for it for Windows XP.

The problem with Internet Explorer is that it’s included in Windows, which means that Microsoft has to support the version of IE that shipped with each Windows version until they stop supporting that Windows version (unless they upgrade IE in a Windows Service Pack, as you lose support if you don’t keep up with the Service Packs).

According to http://support.microsoft.com/g.....t_Explorer and http://support.microsoft.com/lifecycle/?p1=3071 Microsoft will support Internet Explorer 5.01 Service Pack 2 until Tuesday 13th July 2010.

According to http://support.microsoft.com/g.....t_Explorer and http://support.microsoft.com/lifecycle/?p1=3223 Microsoft will support Internet Explorer 6 on Windows XP until Tuesday 8th April 2014.

According to http://support.microsoft.com/g.....t_Explorer and http://support.microsoft.com/lifecycle/?p1=11707 Microsoft will support Internet Explorer 7 on Windows Vista until Tuesday 11th April 2017.

Leave a Reply

Your email address will not be published. Required fields are marked *