📜 ⬆️ ⬇️

Internet Explorer 9: The Most Comprehensive Developer Guide (and Not Only), Part 4

What else is new in IE9 PP3, besides canvas and video? A huge description, lots of pictures.

HeaderLeft [1]

On June 23, the third test build of IE9 was released on schedule (period of 8 weeks). On Habré already managed to write about this release and in the most common words describe innovations. In addition, right there on Habré they managed to compare the canvas performance in IE9 and Chrome.
')
This post will reveal much more details of the third test version of Internet Explorer 9 and will tell about browser innovations that will be important for developers.

This is the fourth article in a series of articles about innovations in IE9 for developers. You can get acquainted with the previous parts here: part 1 (CSS3, HTML5, DOM) , part 2 (SVG, GPU) , part three (ICC profiles, image formats, JavaScript) .

HTML5 / CSS3 / DOM / SVG / XHTML


In IE9 Platform Preview 3, the following elements have been updated or implemented that were not fully implemented in previous versions or that were completely absent:

HTML5

CSS3

In addition, support for color models HSL and HSLA.

image

Dom

Svg

New features in SVG in IE9 add a lot of interesting, for example gradients:

image

image

XHTML / XSLT and text / xml, application / xml documents

Demonstrations


The developers have added a couple of demonstrations of CSS3 and DOM changes:
IE Logo

An animated IE logo that is built on border-radius elements alone.

image

Alas, Opera 10.6 Beta due to bugs in the implementation of CSS3 properties displays the logo incorrectly, and the animation is torn and jerked.

image

DOM Traversal Gallery

This demonstration shows the capabilities of the DOM Traversal mechanism for filtering DOM elements.

image

ACID3


IE9 PP3 passes the ACID3 test for 83 points out of 100. The previous test versions scored 55 and 68 points, respectively. The progress is obvious.

Acid3 - 83/100

Web fonts


IE9 Platform Preview 3 adds support for WOFF, TrueType and OpenType embedded fonts. EOT is also supported.

Implementing embedded font support is, in my opinion, a very important step. And again, IE9 shows its superiority in rendering support and smoothing fonts using the GPU. Below are examples of WOFF rendering in different browsers.

Fonts demo in IE9 - correct fonts are appliedFonts demo in Firefox - correct fonts are appliedFonts demo in chrome - fonts are not applied correctly

The developers have prepared an excellent test page with embedded fonts, where anyone can try the way their browser supports the standards of web fonts and how it renders them.

image

ECMAScript 5 and JavaScript Performance


The new test version of IE9 has once again increased JavaScript performance:

Webkit Sunspider Results showing just pre-release browsers

The updated version of IE9 contains a massive update of ECMAScript 5 support. The new elements are listed in the following list:In addition, event binding through the '::' construct is partially implemented.

The developers have added several demonstrations of new ECMAScript 5 features:image

With regard to the implementation of ECMAScript 5, Internet Explorer 9 has taken the lead. Tests show the following results:

image

Many people are not satisfied with the fact that these tests were sent to W3C by Microsoft, probably, they are too lazy to follow the link and see the test on their own, since the source materials are available to everyone and everyone.

However, if you need an “independent” opinion, then please read the independent testing , which shows full support for ECMAScript 5 objects using IE9:

image

window.msPerformance


The developers of Internet Explorer 9 have added support for the Performance API to the third test version, which is part of the W3C Web Timing specification. With this tool you can test your websites with some test load. The API can be changed over time, so for now it has the prefix “ms”. Look at the work of this API can be on a special page .

image

HTML5 Video / Audio


The most anticipated new feature of IE9 PP3 is HTML5 Video. About it, unlike canvas was known in advance. Work with video in IE9 was shown during the MIX conference, but neither in the first test version nor in the second support was there.

The third version of IE9 brought support for HTML5 Video and, of course, video playback is accelerated through the GPU (but so far only in Windows 7, not in Vista).

Currently, support for video playback with H.264 codec is implemented. WebM support will be implemented later, probably in the first beta version of IE9, which is expected in August.

In addition to the video tag, support for the audio tag has been added. MP3 and AAC codecs are supported for this tag. Developers warn about a known bug: in Windows Vista, MP3 files that are encoded with LAME may not play correctly.

The developers have prepared a couple of interesting demonstrations.

IMDb Video Panorama


image

With the support of IMDB.com, a demonstration was launched with a number of trailers on popular released and awaited films. The FPS meter will show the performance of your browser.

HTML5 Audio XML Playlist


image

To demonstrate the audio tag, developers have prepared a music player with a list and shortcuts.

Canvas


The big surprise of this release of IE9 was support for HTML5 Canvas . Rumors of support for canvas once leaked to the Internet, but did not receive confirmation.

The IE9 PP3 is fully supported by the Canvas Element API and most of the Canvas 2D Context API. Work with canvas is fully accelerated through the GPU and this is noticeable at the demonstrations.

Below is a list of what is not fully implemented in canvas IE9:The developers have prepared a lot of beautiful and interesting demonstrations of the use of canvas. Consider them:

Amazon shelf


image

Working with the best-selling Amazon books directory, choosing a book comes close and you can look through it. In IE9, all operations happen instantly with FPS = 60.

Fishie tank


image

Demonstration, which has already become famous. It is quoted on many sites and shown in numerous videos. In the aquarium swim fish, the number of which can be increased. Above is a screenshot of 1000 fish, fish swim quite well. In Opera 10.6 Beta under these conditions - 2 FPS. About Chrome 6 can not speak, watch the video with an independent test from Download Squad .



Mr. Potato gun


Remember the video with high-speed chrome and potatoes? The IE9 team responded with a potato dough. Try this fast Chrome in this test?

image

Asteroid belt


The next test is an asteroid cloud with some satellites in one of them. The satellites rotate in orbit and you can increase their number and see how it affects the performance. An increase in IE9 does not affect anything at all.

image

Deep zoom


The following demonstration shows the implementation of DeepZoom technology, which previously worked on either Ajax or Silverlight, based on canvas.

image

Before you gigapixel panorama by which you can move freely approaching and distancing details of interest to you.

Canvas pad


The last demonstration is a small catalog of implemented canvas functions with a demonstration. For example, the screenshot shows the animation on canvas:

image

Tests


The developers of IE9 have created for the W3C another 118 new tests on a variety of standards implementation options. Plus, another 1309 ECMAScript 5 implementation tests were created. The current situation with these tests is:

image

As you can see, IE9 itself does not pass all tests. You can get acquainted with them in more detail and check each test yourself on this page .

Developer Tools


The IE9 developer tools have also been updated:

Additionally


Additional videos are available on Channel 9 :On the Internet Explorer developer blog, a big post describing the innovations.

Extensive official IE9 developer guide in English .

Overboard


Overboard of IE9 there are still such things as geolocation, web workers, web sockets, css3-transformations, WebGL and other standards, many of which have not yet emerged from the drafts status. It is likely that we will see some of this in August in the beta version of IE9. Let's wait for surprises, as in the case of canvas.

Conclusion


As you can see, the third test version of IE9 has added a lot of new features, functions, API, new standards.

The development of IE9 is moving at full speed. In many places, IE9 caught up, and even overtook its competitors. Let's hope that the pace will remain the same and the final version of IE9 will be even better.

Source: https://habr.com/ru/post/97386/


All Articles