Sunday, 9 October 2011

New Features in Internet Explorer 10 Platform Preview 2

Microsoft® has released second public preview of its upcoming web browser Internet Explorer 10. This preview has some exciting new features support that web developers will find helpful implementing in their new projects.
Internet Explorer 10
Internet Explorer 10
What are the new support features in Internet Explorer 10 preview 2 ?

1. HTML5  support Features:
Asynchronous Script Execution: For pages using processing-intensive scripts, the async attribute can significantly increase page-load performance by making scripts to load and execute in the background while page is being parsed.
HTML5 Drag and Drop: Any element can be dragged on the page using draggable attribute of HTML5.
File API: If user allows, browser can access local files on client machine in secure way without use of any extension or plugins. Others features include multiple file upload, HTML5 Formdata.

HTML5 Form and Input Validation: Easy validation of input data. URL and email input types, support for HTML5 input attributes like required, pattern and paceholder.
HTML5 Sandbox: Enabling security restriction for iframe elements containing untrusted content.
Web Workers: Web app authors can spawn background scripts that run in parallel to main page.

2. CSS Support features:
Position Floats: an element can be floated with position specification from top, bottom, left and right in a block or section and text can be wrapped around it. Look at the following image.
Position Float
Position Float
CSS Gradients: Now gradient support for all image types.
CSS Stylesheet limit lifted: There is no limit to the number of style sheets you can reference per webpage.

3. Web Performance: Internet Explorer 10 will be the first browser to implement all three of  these APIs:

The requestAnimationFrame method : Provides an efficient means for web developers to schedule graphics timers for animations.
Page Visibility: Web applications can choose to alter behavior based on whether they are visible to the user or not.
The setImmediate method: To break apart long JavaScript operations.

4. Document Object Model (DOM):

Advanced Hit Testing API: Introduces the msElementsFromPoint and msElementsFromRect methods, which return a node list of all the elements that intersect the given x- and y-coordinates or a rectangular area, respectively.
Floating-point Values in CSSOM: Supports floating-point pixel units.
Media Query Listeners: Ability to change element styles, such as font size or margins, based on the device or media.
So Microsoft® has done good work to give its upcoming Internet Explorer 10 some very powerful support features for new web technologies. Let’s wait and see when the launch date is declared.

0 comments:

Post a Comment