IE10支援的新特性

來源:互聯網
上載者:User

This is a preliminary document and may be changed substantially prior to final commercial release of the software described herein.

The Internet Explorer 10 Guide for Developers provides an early look at the developer features coming to the next version of Internet Explorer, as well as the latest HTML5, JavaScript, and CSS3 features available to developers of Metro style apps for Windows 8. By using the documentation and samples in this guide, developers and designers can prepare to use these new features.

Important Note

The contents of this guide apply solely to the pre-release version of Internet Explorer 10 included with the Windows 8 Developer Preview, as well as to Metro style apps for Windows 8. The Windows 8 Developer Preview is only available to attendees of the BUILD Conference in Anaheim, California, September 13-16, 2011; to MSDN subscribers; to members of the Internet Explorer Feedback Program at Microsoft Connect; and on the Windows Developer Center.

The pre-release version of Internet Explorer 10 included with the Windows 8 Developer Preview is not yet available for Windows 7, nor are we releasing a new Internet Explorer Platform Preview for Windows 7 at this time. The most recent release for Windows 7 was Internet Explorer Platform Preview Build 2, on June 29, 2011. Therefore, you will notice that the newer features mentioned in this guide are not yet available in the most recent version of Internet Explorer Platform Preview. For a list of changes from Internet Explorer Platform Preview Build 2, see Revision History.

A pre-release version of Internet Explorer 10 will be released for Windows 7 at a future date. At that time, the Internet Explorer 10 Guide for Developers will be updated accordingly.

This topic contains the following sections:

What’s in the Guide

Listed here are new developer features for Internet Explorer 10. In addition to reading the guide, be sure to see the Release Notes for installation information and known issues, as well as the Internet Explorer Test Drive site for new demos and examples. You can also obtain detailed technical information about developer features by visiting the Internet Explorer Developer Center and the MSDN Library.

This pre-release version of Internet Explorer 10—as well as Metro style apps—contains support for the following developer features. Except where noted, these features work identically in Internet Explorer 10 and Metro style apps using HTML.

  • Cascading Style Sheets (CSS)
    • Advanced Layout
      • CSS Regions
      • CSS3 Multi-column Layout
      • Flexible Box (“Flexbox”) Layout
      • Grid Alignment
      • Positioned floats
    • CSS3 3-D Transforms
    • CSS3 Animations
    • CSS3 Gradients
    • CSS3 Transitions
    • CSS3 Text
      • The text-shadow property
      • Hyphenation
    • Panning and Zooming
    • Removal of style sheet limits
  • Document Object Model (DOM) support
    • Advanced Hit Testing APIs
    • CSSOM Floating Point Value support
    • Media Query Listeners
    • Pointer and Gesture DOM events
  • ECMAScript 5 (ES5) support
    • The strict variant of ECMAScript (“ES5 strict mode”)
  • F12 Developer Tools (Not available in Metro style apps.)
    • Improved support for workers
  • HTML5 support
    • Asynchronous Script Execution
    • Application Cache ("AppCache")
    • Drag and Drop
    • File API
    • Forms Validation
    • Progress and Range Control
    • History
    • Parsing
    • Sandbox
    • Web Workers
    • Channel Messaging
    • Web Sockets
    • Spellcheck
  • Indexed Database API ("IndexedDB")
  • SVG
    • SVG Filter Effects
  • Web performance APIs

For more information about changes from previous builds of IE10 Platform Preview, see Revision History.

Compatibility Modes

By default, pages are rendered in Internet Explorer 10 with the latest rendering engine. However, if the page’s markup instructs the browser (via an “X-UA-Compatible” meta tag, a custom HTTP header from the web server, a !DOCTYPE declaration, or a combination of the three) to display it in an older document compatibility mode (for instance, IE9 mode, EmulateIE7 mode, “quirks” mode, and so on), Internet Explorer 10 displays the page in that compatibility mode. (For more information about compatibility modes, see Defining Document Compatibility on MSDN.)

Internet Explorer 10 must be in ”IE10 Standards Mode” to correctly display webpages that take advantage of the new features described in this document. The best way to ensure that Internet Explorer 10 renders your webpages using the latest rendering engine is to include the following !DOCTYPE declaration at the beginning of the page’s HTML:

<!DOCTYPE html>

In addition, do not use an “X-UA-Compatible” meta tag on the page or send a custom HTTP header from the web server.

To force a webpage you are viewing in Internet Explorer 10 into a particular document compatibility mode, first open F12 Tools by pressing the F12 key. Then, on the Browser Mode menu, click Internet Explorer 10, and on the Document Mode menu, click Internet Explorer 10 standards.

User-agent String

The user-agent string for the Internet Explorer 10 is the following (new values are in boldface type):

Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)

Be aware that “Windows NT 6.2” indicates the browser is on a computer running Windows 8, whereas “Windows NT 6.1” indicates the computer is running Windows 7.

For more information about user-agent strings, see Understanding User-agent Strings on MSDN.

Revision History

April 12, 2011: Created for Internet Explorer Platform Preview Build 10 for MIX, with information about:

  • CSS3 Flexbox
  • CSS3 Grid
  • CSS3 Multi-column
  • CSS3 Gradients (on background images)
  • ES5 strict mode
  • Compatibility View List
  • User-agent string
  • How to send feedback

June 29, 2011: Updated for IE10 Platform Preview 2, with information about:

  • Positioned Floats
  • CSS3 Gradients (on all image types)
  • CSS style sheet limit lifted
  • CSSOM Floating Point Value support
  • Improved hit testing APIs
  • Media Query Listeners
  • HTML5: Support for async attribute on script elements
  • HTML5 Drag and Drop
  • HTML5 File API
  • HTML5 Sandbox
  • HTML5 Web Workers
  • Web Performance APIs:
    • requestAnimationFrame
    • Page Visibility API
    • setImmediate

July 8, 2011: Updated with information about:

  • Channel Messaging

July 12, 2011: Updated with information about:

  • HTML5 Parsing

September 13, 2011: Updated for Internet Explorer 10 for Windows 8 Developer Preview and BUILD Conference with information about:

  • CSS Regions
  • CSS3:
    • 3D Transforms
    • Animations
    • Panning and Zooming
    • Transitions
    • Text (text-shadow property and hyphenation)
  • Pointer and gesture DOM events
  • Improved F12 support:
    • Web workers
    • Multiple script sources
  • HTML5:
    • Application Cache
    • Progress and Range controls
    • History
    • Spellcheck
  • Web Sockets
  • Indexed Database (IndexedDB)
  • SVG Filter Effects
  • Navigation Timing

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.