We take a look at the latest preview release of Internet Explorer 9 to see if it really is faster and more standards-compliant than competing web browsers.
The latest test release of Internet Explorer 9, Platform Preview 4 (PP4), is also the last before the newest version of Microsoft's browser enters beta. With PP4, as with previous platform previews, Microsoft has concentrated on improving rendering performance and compliance with web standards. This means that, when it's released, Internet Explorer 9 should load web pages quicker than ever, while making things easier for website developers.
The missing five Acid points are from the SVG fonts, filters and SMIL SVG animation features, but Microsoft downplays the importance of these parts of the Acid test. The company has always said it will not support these features in IE 9 since standards groups are planning to change them and there are other methods of doing the same things. The SVG Working Group is planning significant changes to filters and animation and has suggested moving SVG fonts into a separate and optional specification; the creator of the Acid 3 test has also suggested that in future the test might drop SVG fonts.
PP4 adds support for even more of the areas of the SVG spec. Previous platform previews haven’t worked with some of the more complex SVG content that’s already up on the Web. PP4, however, loads far more of these SVG sites and passes another ten new SVG tests, including some that Firefox 3.6, Safari 5, Chrome 5 and Opera 10.6 fail. It also further improves SVG performance, which can be seen in the new SVG dice rolling demo . As with many other performance improvements, the smoothness of the animation of the SVG images of the dice and dice cup is due to PP4's support for hardware acceleration using the graphics chip. The performance improvements are impressive, even on Nvidia Ion-based netbooks.
Microsoft has added several more amusing demos to its IE9 website showing the potential speed increases achievable using the graphics card-based hardware acceleration. IE Beatz is an interactive beatbox that showcases hardware-accelerated audio at the tempo of your choice (other HTML 5 browsers can’t keep up with high tempos). Psychedelic Browsing animates colours and patterns using the Canvas HTML 5 tag. Hamster Dance Revolution is a remarkably silly but effective app that proves you don’t need plugins like Flash or Silverlight to create interactive games.
However, Microsoft isn’t suggesting that IE 9 will kill Flash or its own Silverlight plugin; Microsoft UK Web product manager Mark Quirk was quick to say “I'm sure the trend will continue of plugins providing more than browsers can do and doing that outside the [HTML] standards process because of the time it takes [to define a standard].”
From bugs to beta
Microsoft has received over 1,300 pieces of feedback on IE 9 through its Connect website. 100 bugs from earlier previews have been fixed in PP4 and "we continue our commitment to addressing and closing every single piece of feedback we get," promises Ryan Gavin.
Like all the platform previews, PP4 doesn’t have the interface or any of the new features that will come in the beta, including the new network stack - these should begin arriving in September. Microsoft is urging developers to try out their sites with PP4 now to see if they’ll render correctly because it’s going to reach a lot of end users, says Quirk; "Our plan is that anyone who understands how to install and uninstall software can install it and will."
Microsoft's advice for website developers is to use the same code for IE 9 that they would for other browsers instead of creating IE-specific code. "The mantra around same markup is write the same HTML for IE that you would for Chrome and Firefox," explains Quirk. "Let's not have different paths". From our testing with PP4, this advice is valid in many cases.
The issue is when you've used Mozilla, Chrome and WebKit-specific prefixes to get CSS 3 features, because IE 9 doesn’t need (or load) browser-specific prefixes. It’s also a little easier to check your pages in PP4; the already useful network capture tool that helps you trace the way your Web site works now lets you search through the data it captures.