IE8, Doctype and potentially broken default behavior
Published: • Read time: 3 min read min
Table of Contents
I woke up this morning and read the A List Apart articles (that I defered reading until this a.m.). The powers that be have decided that IE will now use a metatag to decide what rendering type (ie6, ie7, ie9, etc.) to use. This allows for backwards compatibility. Supposedly.
First, I donât really care about the meta. Itâs fine⌠it is just one more trick to add to the pile. Generally, I agree with Eric Meyerâs points, that itâs better than browser switching. And it is. Itâs also better than conditional CSS comments.
There are a few problems that I see, however. The first one was actually thrown into my lap as a twitter discussion between Jeremy Keith (down-to-earth web guy) and Chris Wilson (works on IE). Following the twitter-timeline, first, second, third. Apparently the default behavior for rendering a document with a HTML 4.01 doctype will be IE7. Thatâs right, it doesnât fall through, it will be stuck on IE7. That is just wrong. Hopefully, both Jeremy and Chris and the other powers that be work that detail out further before Microsoft proceeds.
My second worry is the case of âedge.â Edge, as far as I am concerned, stands for bleeding edge, and that implies an experimental version, where results will be unpredictable. (I infer that definition based on every other software release that Iâve heard of.) Hopefully thatâs not the case, but there sure as heck better be a concrete definition of what they consider âedgeâ. Hopefully theyâll throw a âcurrent major versionâ in there as well. Who knows.
The third, and probably largest concern that I have, is that we are now relying on Microsoft to include past browser rendering attributes into current browsers. So IE8 should be able to render all of IE7âs quirks, as well as IE6âs quirks. Based on the fact that Microsoft had a hard time fully flushing out all of the CSS standards for so long, whats to say that that theyâll accomplish this in full. Additionally, there are the worries that including past rendering attribues will yeild the âbloatwareâ that Eric mentioned.
And finally (at least for today) thereâs the mess of doctype and meta. Now you get to define things in both places. Itâs just sortof kludgy. One more thing that I have to memorize, and I hate memorizing things.
Anyway, itâs Day one of this stuff, and there will be much discussion to come, and Iâm guessing a lot of other stuff as well.