Internet Explorer 9 Guide for Developers
March 14, 2011
The Internet Explorer 9 Guide for Developers provides a look at the features and improvements in Internet Explorer 9. By using this guide, web developers and designers can take full advantage of these enhancements. Developers can also experience the platform in action using the Internet Explorer Test Drive. Contents Introduction All-around browser performance Web standards support for same markup New graphics capabilities harnessing the power of Windows PCs Improved Interoperability through Standards Support List of New Features Cascading Style Sheets, Level 3 (CSS3) CSS3 Backgrounds & Borders Module Document Object Model Improvements Parsing and Serializing XML to and from the DOM Document Object Model (DOM) Levels 2 and 3 DOM Core (L2 and L3) and Views (L2) HTML5 video and audio Elements Scalable Vector Graphics (SVG) Clipping, Masking, and Compositing Coordinate Systems, Transformations, and Units Measuring real-world performance Revision History IntroductionWelcome to Windows Internet Explorer 9. As a developer, you want to know the latest information about the browsers you and your customers use. Internet Explorer 9 is the latest version of the world’s most popular web browser. We designed Internet Explorer 9 to help the web development community create rich, interoperable, standards-compliant web applications by providing the platform, tools, and features for the future web. This document shows you, the web developer whose customers rely on Internet Explorer, how to use these new enhancements in your websites and applications. Be sure to check out the accompanying Test Drive site for a demonstration of these features in action. To offer feedback and see more information on what's new in Internet Explorer 9, see the Release Notes, as well as What's New in Internet Explorer 9 on MSDN. For the latest news about Internet Explorer 9, see the IE Team Blog. And as always, for the very latest developer information about Internet Explorer, visit the Internet Explorer Developer Center on MSDN. Internet Explorer 9 is intended to help developers better understand how Internet Explorer 9 has progressed in the following dimensions of the platform:
All-around Browser PerformanceBrowser performance involves many different sub-systems within the browser. Different sites—and different activities within the same site—place different loads and demands on the browser. For instance, a web application like Windows Live Mail or Microsoft Office Web Apps exercises browser subsystems in completely different ways than a news aggregation site like Bing News or Digg. Introducing “Chakra”, the New JavaScript EngineScript engine performance is just one part of the overall browser performance picture. Script performance in Internet Explorer 8 improved exponentially over that of Internet Explorer 7, and “Chakra”, the new JavaScript engine in Internet Explorer 9, does it again. The Chakra engine interprets, compiles, and executes code in parallel and takes advantage of multiple CPU cores, when available. For more details, see "The New JavaScript Engine in Internet Explorer 9" on the IE Team Blog. Of course, the Internet Explorer team is looking at the performance characteristics of all the browser’s subsystems as real-world sites use them. The goal is to deliver better performance across the board for real-world sites—not just benchmarks. Web Standards Support for Same MarkupInternet Explorer provides rich, interoperable capabilities to web developers. The Internet Explorer Team knows you don’t want to rewrite and retest your websites again and again; standards adoption by browser vendors is a good way to reach that objective. With Internet Explorer 8, the Internet Explorer team delivered a highly interoperable implementation of CSS 2.1, and concurrently contributed a test suite with over 7200 tests to the World Wide Web Consortium (W3C). This is important. Without validation tests, standards are more challenging to implement consistently, thereby making them difficult for site developers to rely on. Internet Explorer 9 makes significant investments in standards support and interoperability. For instance, new HTML5 support, better support for a number of CSS3 features, and—a first for Internet Explorer—built-in support for SVG are all part of Internet Explorer 9. New Graphics Capabilities that Harness the Power of Windows-based PCsThe Windows ecosystem provides amazing hardware innovation. With Internet Explorer 9, web developers can now take advantage of that innovation with hardware-driven rendering of graphics and text. Internet Explorer 9 uses the DirectX family of Windows application programming interfaces (APIs) to enable several advances for web developers. We have moved all graphics and text rendering from the CPU to the graphics card by using Direct2D and DirectWrite. Graphics hardware acceleration means that rich, graphically intensive sites can render faster on Windows while using less CPU power. Plus, you can take advantage of these changes automatically while you author sites with the same standards you are used to. Improved Interoperability Through Standards SupportImportant The new standards support in Internet Explorer 9 requires the browser to be in Internet Explorer 9 Standards mode (“IE9 mode”). The best way to do this is to use a standards !DOCTYPE directive and no X-UA-Compatible meta tag or HTTP header. The !DOCTYPE to invoke IE9 mode is the following: <!DOCTYPE html> Of course, you can use the !DOCTYPE and X-UA-Compatible meta tag or HTTP header to change the default as you see fit. To determine the current document mode, press F12 to open the Internet Explorer developer tools, and then look on the right side of the menu bar. To override the document mode, on the Document Mode menu, click Internet Explorer 9 Standards. See the Platform Versioning section of this guide for updates about document mode behaviors in Internet Explorer 9. List of New FeaturesFor your convenience, this list contains all the new developer features in Internet Explorer 9. For information about changes from prerelease builds of Internet Explorer 9, see Revision History. Enhanced CSS3 support
Revision HistoryMarch 16, 2010: Created for Internet Explorer Platform Preview. April 15, 2010: Updated with information about:
May 5, 2010: Updated for Internet Explorer Platform Preview Build 2 with information about:
June 23, 2010: Updated for Internet Explorer Platform Preview Build 3 with information about:
August 4, 2010: Updated for Internet Explorer Platform Preview Build 4 with information about:
September 15, 2010: Updated for Internet Explorer 9 Beta with new links and information about:
October 28, 2010: Updated for Internet Explorer Platform Preview Build 6 with information about:
February 10, 2011: Updated for Internet Explorer 9 Release Candidate with information about:
February 18, 2011: Updated with additional information about:
March 14, 2011: Updated for Internet Explorer 9 (RTW):
|