IE and HTML5 testing
In the 18 months I’ve really focussed on HTML5, I’ve seen approximately 238 different HTML5 “testing” sites appear. Most of them wildly pick and mix specs, checking for HTML5, related WHATWG-derived specifications such as Web Workers and then, drunk and giddy with buzzwords, throw in SVG, CORS, CSS Media Queries, and some Apple proprietary CSS extension before hyperventilating and going to bed for a lie down.
(Added 4 June 2010: As a case in point, take Apple’s hilariously disingenous “HTML5″ showcases, of which only the video and audio demos have anything to do with HTML5, and which offer “browser upgrade” messages even to other WebKit browsers (screenshot courtesy of Peter Nelson). And don’t get me started on “Standards aren’t add-ons to the web. They are the web” coupled with browser-sniffing and proprietary vendor extensions.)
As an analogy, imagine that HTML5 is the Starship Enterprise to HTML 4′s pogostick. Imagining it? Good.
237 HTML5 testing sites check for
- Does it do most pogostick functions?
- Does it do Starship Enterprise things, too?
- Oh! what about Millenium Falcon functionality?
- Wow! can it also behave like a spacehopper?
- OMG!?! And what about CSS 4D Canvas Gradient Transforms™?
Therefore, it’s particularly refreshing to see the new Microsoft IE9 HTML5 Testing Centre bringing some sanity to the party. None of the scope-creep for our friends in Microsoft. It’s purely HTML5, and only selected bits so we can’t even speculate about thinking about considering accusing them of scope-creep.
So they avoid any mention of fripperies like canvas (who uses that?) or native multimedia (who’s even heard of that?). Why would any web developer care about Web Forms?
Instead, we look only at The text selection APIs, parsing foreign content and getElementsByClassName to determine that IE9 has the best HTML5 support.
To return to our analogy, the Microsoft test to detect Starship Enterprises is:
- Is the colour of the grouting in the shower cubicles exactly Pantone 7401 C?
- Are the menus in the staff canteen printed on 180 gsm matt card?
- Is the main power cable to the transporter room secured to the wall with cable grips at precisely 10 centimeter intervals?
Yes to all? Wow! It’s the Starship Enterprise!
Actually, it’s HTML5, Jim, but not as we know it.
(Related: What HTML5 is and isn’t, an IE9 speed comparison.)
Caveat: Yeah, I’m having a chuckle. This does not represent the position of my employer. I wrote it outside company time. On a different computer. With a different personality. So chill out, it’s a sunny day.
25 Responses to “ IE and HTML5 testing ”
Hey Bruce,
As your post doesn’t reflect the views of your employer and was written on personal time – so are my comments. Heck, I just started my vacation and am on my way to Disney World…
The tests the IE test team have published so far are just the start. At MIX this year, Dean said they’re going to do for the rest of the platform what they did for CSS 2.1 in IE8. And in the IE8 time frame they donated over 7200 tests to the W3C, effectively increasing the number of CSS 2.1 tests from less than 100 (I think)!!
It’s takes a decent amount of time to create the test plans, implement the tests so there’s plenty more coming. Oh, and they’ve only published the tests for features they’ve implemented and published. There’s still lots more to come!
Just cause the warp core reactor tests aren’t published yet, don’t assume they won’t be!
“It’s html5, Jim, but not as we know it” – nice tag!
I don’t think you’ll get leadership from Microsoft, on this sort of thing, nowadays.
Not for lack of people with opinions, mind – but fears, in senior ranks, of being accused of “steamrolling the decision”, or “enforcing its will through market dominance”, combined with the atrophying layers of ‘process’, that smothers everything everyone now does at Redmond, by all accounts, seems to mean that Microsoft is content to just “shuffle about”, on these sorts of issues, in the hopes that the ripples will cause the market to build up a momentum in some given direction, eventually.
I’d say MS has done a pretty good job with these tests… It’s just rather unfortunate that a lot of these tests are just plain wrong. For example, most the SVG parsing tests require removing whitespace-only text nodes from the DOM to pass, while HTML5 requires the opposite. I’ll be (more) convinced the day the IE team releases test cases that test the specification, rather than their own implementation.
I’m not entirely sure who Microsoft are trying to kid with such a rigged set of tests.
Are developers who are using HTML 5 now likely to be so easily hoodwinked? I’d wager not.
As for the browser detection on Apple’s HTML 5 demos, that’s a new low! It’s the antithesis of what standards are about.
I thought MS were pretty clear on video support in IE9 on their blog: “Another Follow-up on HTML5 Video in IE9″ (H.264 and VP8)
I have seen elsewhere that canvas will be supported too, but then again, that was not an official Microsoft source
Still waiting for web forms, though ;o)
[...] yeah, if you thought Microsoft fares better, here is a hilarious take on Internet Explorer’s HTML5 Testing [...]
Pete, the point of this rant was not so much Microsoft showcasing a few HTML5 bits or how they test or whatever. The problem we are having is that it states IE9 is 100% HTML5 compliant while competitors are far from it.
If you’re developing IE9 and are in the works of supporting the other sections of the spec, by all means just say so. But don’t go and present this as being it and IE9 being supporting all of HTML5. It just rubs wrong, you know.
[...] touted HTML5 at Opera, was better-humored if not any happier, calling Apple’s site “hilariously disingenuous.” Adds an Opera colleague Haarvard Moen, “When the page doesn’t work in Opera or [...]
[...] touted HTML5 at Opera, was better-humored if not any happier, calling Apple’s site “hilariously disingenuous.” Adds an Opera colleague Haarvard Moen, “When the page doesn’t work in Opera or [...]
[...] touted HTML5 at Opera, was better-humored if not any happier, calling Apple’s site “hilariously disingenuous.” Adds an Opera colleague Haarvard Moen, “When the page doesn’t work in Opera or [...]
[...] touted HTML5 at Opera, was better-humored if not any happier, calling Apple’s site “hilariously disingenuous.” Adds an Opera colleague Haarvard Moen, “When the page doesn’t work in Opera or [...]
[...] touted HTML5 at Opera, was better-humored if not any happier, calling Apple’s site “hilariously disingenuous.” Adds an Opera colleague Haarvard Moen, “When the page doesn’t work in Opera or [...]
[...] that every blog theme developer will need to read. (You should also read the author’s blog Bruce Lawson for more related [...]
[...] touted HTML5 at Opera, was better-humored if not any happier, calling Apple’s site “hilariously disingenuous.” Adds an Opera colleague Haarvard Moen, “When the page doesn’t work in Opera or [...]
Hey Bruce et al!
I just wanted to follow up here because the IE Engineering team posted a blog post yesterday afternoon about the IE Testing Center, what it is, how to think about, why IE is so “green” while other browsers aren’t.
Worth the read – http://blogs.msdn.com/b/ie/archive/2010/06/23/updates-to-the-ie-testing-center.aspx
I know I’m several months late on this, but I had to say, “CSS 4D Canvas Gradient Transforms” is just about the most amazing thing I’ve ever heard of. I’m gonna start writing up the spec for it. Unfortunately, it will be hard to get around the problem of the transforms being affected by spacetime curvature.
[...] (along with its supporting points, like test suites and “same markup” as a goal) has garnered strong support from developers. It’s also resulted in some surprising headlines over the last year, like “Only [...]
[...] that every blog theme developer will need to read. (You should also read the author’s blog Bruce Lawson for more related [...]
[...] (along with its supporting points, like test suites and “same markup” as a goal) has garnered strong support from developers. It’s also resulted in some surprising headlines over the last year, like “Only [...]
Es gibt auch noch Seiten mit gutem Content . Danke für den Beitrag .
It’s too bad that IE9 doesn’t even work on the most widely used OS in the world, XP (http://gs.statcounter.com/#os-ww-monthly-201002-201102). Otherwise they could force an update to ie6 and kill that pos
[...] that every blog theme developer will need to read. (You should also read the author’s blog Bruce Lawson for more related [...]
They did make a mistake in their methodology, I must say.
They should’ve picked ONE test in each category that only IE9 passes, and then have a table where IE is 100% and everyone else is 0%