From Wikipedia, the free encyclopedia
The following tables compare support of HTML5 differences from HTML4 for a number of layout engines.
The specification is still a working draft, not a W3C recommendation, and thus not stable. Unless otherwise specified in footnotes, comparisons are based on the stable versions without any add-ons, extensions or external programs.
[edit] Explanation of the tables
[edit] Engine nomenclature
Rather than the names of web browsers, the names of the underlying engines are used. The browsers that use the various engines are listed below.
[edit] Values
Values indicate the level of support in the most recent version of the layout engine, or (if a version number is given) in the specified version. Version numbers without any other value indicate the version at which the layout engine first fully supported the feature.
| Value |
Meaning |
| Yes |
Indicates that the layout engine fully supports this property/element when valid values are used. |
| No |
Indicates that the property/element is completely ignored. |
| Partial |
Indicates that the property/element is understood, but that not all values are supported. Supported values are implemented correctly. |
| Incorrect |
Indicates that the property/element is understood, but that it is not implemented correctly in all cases. |
| Experimental |
Indicates that the property/element is understood, but supported under an alternate name. May be incomplete or buggy. |
| Dropped |
Indicates that the property/element is no longer supported. |
| Nightly build |
Indicates that the property/element is supported to some extent in an experimental/nightly build. Future support is expected. |
| Depends |
Indicates that the property/element is supported only on certain platforms, or if certain settings are configured. |
[edit] Form elements and attributes
Many of these features can be emulated with third-party libraries.
[edit] Elements
While many of these elements, such as section, have not been implemented natively in layout engines, support may be very easy to emulate using CSS or JavaScript.
[edit] Attributes
[edit] Element Specific
[edit] Global
[edit] Other features
[edit] Related specifications
- ^ a b For file inputs only.
- ^
loop attribute not supported,[g 15] poster attribute supported as of 1.9.2.[g 16]
- ^ Beginning in 2007,[p 2] several experimental builds have been released with Ogg Theora support. Full support for the video element will be included in Presto 2.5.[p 3]
- ^
loop attribute not supported.[g 15]
- ^ Presto added very limited support for the ECMAScript API related to the audio element in version 2.0 using only the WAV PCM codec, while not implementing the element itself.[p 4] Full support for the audio element with the Ogg Vorbis and WAV codecs will be included in Presto 2.5.[p 3]
- ^
media attribute not implemented.[g 17]
- ^ a b Supported in XHTML and in HTML when the
html5.enable preference is set.[g 19]
- ^ MathML for CSS, XHTML only[p 6]
- ^ a b XHTML only
- ^ Limited to the feed protocol in 1.8; fully supported in 1.9.[g 23]
- ^ Limited to feed MIME types in 1.8 and 1.9.[g 24]
- ^ Supported when the
html5.enable preference is set.
- ^ Fails when the key is an empty string.[g 31][g 32]
- ^ In Chromium.[w 32]
- ^ Geolocation support was added in Presto 2.5, but is not enabled by default.[p 10][14]
[edit] References
[edit] Trident references
- ^ PRB: HTML Tag KEYGEN Not Supported in Internet Explorer, Microsoft, http://support.microsoft.com/kb/190282
- ^ Ruby, http://docs.google.com/View?id=dcgd8hk6_0ccsw4td4
- ^ a b c d Bisson, Simon (2010-09-17), Microsoft previews Internet Explorer 9 with HTML 5 support, ZDNet, http://www.zdnet.co.uk/news/desktop-apps/2010/03/17/microsoft-previews-internet-explorer-9-with-html-5-support-40088334/
- ^ onhashchange Event, Microsoft, http://msdn.microsoft.com/en-us/library/cc288209%28VS.85%29.aspx
- ^ Resig, John (2008-03-06), JavaScript in Internet Explorer 8, http://ejohn.org/blog/javascript-in-internet-explorer-8/
[edit] Gecko references
- ^ Bug 345822 - Implement required attribute for <input type="text">, <textarea>, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=345822
- ^ Bug 523771 - Support <input type=file multiple>, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=523771
- ^ Bug 345512 - Implement pattern attribute for <input type="text">, <textarea>, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=345512
- ^ Bug 457800 - Implement placeholder attribute for text input fields, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=457800
- ^ Bug 546995 - Implement autofocus attribute for some form elements, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=546995
- ^ Bug 535043 - Support maxlength on textarea, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=535043
- ^ Bug 346485 - Implement Web Forms 2 <html:output/>, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=346485
- ^ Bug 456229 - Implement <input type="search"> for compatibility with Safari, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=456229
- ^ Bug 344615 - Implement <input type="url">, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=344615
- ^ Bug 446510 - Implement <input type="date"> and other date controls, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=446510
- ^ Bug 344616 - Implement <input type="number">, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=344616
- ^ Bug 344618 - Implement <input type="range">, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=344618
- ^ Bug 547004 - Implement <input type="color">, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=547004, retrieved 2010-02-18
- ^ Bug 33339 - HTML5 <ruby> support, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=33339, retrieved 2010-03-13
- ^ a b Bug 449157 - Implement the looping attributes in media elements, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=449157
- ^ Bug 449156 - Implement the poster attribute for the <video> element, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=449156
- ^ Source - MDC, Mozilla, https://developer.mozilla.org/En/HTML/Element/Source
- ^ Canvas - MDC, Mozilla, https://developer.mozilla.org/en/HTML/Canvas
- ^ Zbarsky, Boris (2009-07-03), MathML in non-XML documents, http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-July/020741.html
- ^ Bug 503481 - Implement async attribute of script element, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=503481
- ^ a b Blizzard, Christopher (2009-07-15), HTML5 drag and drop in Firefox 3.5, http://hacks.mozilla.org/2009/07/html5-drag-and-drop/
- ^ Bug 357450 - Implement getElementsByClassName, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=357450
- ^ window.navigator.registerProtocolHandler, Mozilla, https://developer.mozilla.org/en/DOM/window.navigator.registerProtocolHandler
- ^ window.navigator.registerContentHandler, Mozilla, https://developer.mozilla.org/en/DOM/window.navigator.registerContentHandler
- ^ Bug 387706 - (postMessage) Implement HTML5's cross-document messaging API (postMessage), Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=387706
- ^ Bug 500328 - Add support for HTML5 History.pushState(), History.replaceState() methods, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=500328
- ^ Bug 530396 - Support for <a rel="noreferrer"> functionality, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=530396
- ^ Bug 385434 - Add support for HTML5 onhashchange (event for named anchor changes), Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=385434
- ^ Bug 501257 - Implement HTML 5's HTMLElement.classList property, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=501257
- ^ document.querySelector, https://developer.mozilla.org/En/DOM/Document.querySelector
- ^ HTML 5 Test Suite: localStorage - empty string as a key, Microsoft, http://samples.msdn.microsoft.com/ietestcenter/HTML5/DOMStorage/localStorage_empty_key.htm
- ^ HTML 5 Test Suite: sessionStorage - empty string as a key, Microsoft, http://samples.msdn.microsoft.com/ietestcenter/HTML5/DOMStorage/sessionStorage_empty_key.htm
- ^ Bug 338583 - Add support for Server-Sent DOM Events (Remote Events), Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=338583
- ^ Bug 472529 - Support for Web sockets' HTML5 Draft Recommendation, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=472529
- ^ Bug 437152 - implement worker threads, Mozilla, https://bugzilla.mozilla.org/show_bug.cgi?id=437152
- ^ Using geolocation, Mozilla, https://developer.mozilla.org/En/Using_geolocation
[edit] Webkit references
- ^ Bug 27247 - [HTML5][Forms] Part 5 of datalist&list: UI of `list' attribute of <input>, WebKit, https://bugs.webkit.org/show_bug.cgi?id=27247
- ^ Almaer, Dion (2009-03-06), input type=”file” multiple; now in a real browser!, Ajaxian, http://ajaxian.com/archives/input-typefile-multiple-now-in-a-real-browser
- ^ Bug 25552 - Support for HTML5 Forms "pattern" attribute, WebKit, https://bugs.webkit.org/show_bug.cgi?id=25552
- ^ Bug 27450 - Support HTML5 min/max attributes and associated CSS selectors, WebKit, https://bugs.webkit.org/show_bug.cgi?id=27450
- ^ Bug 27451 - Support HTML5 step attribute, WebKit, https://bugs.webkit.org/show_bug.cgi?id=27451
- ^ Bug 18887 - WF2 Support for autofocus controls, WebKit, https://bugs.webkit.org/show_bug.cgi?id=18887
- ^ Bug 29292 - [HTML5][Forms] Support for <textarea maxlength=N>, WebKit, https://bugs.webkit.org/show_bug.cgi?id=29292
- ^ Bug 28145 - novalidate/formnovalidate support, WebKit, https://bugs.webkit.org/show_bug.cgi?id=28145
- ^ Bug 29363 - [HTML5][Forms] Support for <output> element, WebKit, https://bugs.webkit.org/show_bug.cgi?id=29363
- ^ Hyatt, David (July 2004), The Search Field, http://weblogs.mozillazine.org/hyatt/archives/2004_07.html#005890
- ^ a b c d Bug 25554 - Implement HTML5 Input element types for Text Fields, WebKit, https://bugs.webkit.org/show_bug.cgi?id=25554
- ^ Bug 29004 - [HTML5][Forms] simple implementation of date&time types of INPUT element, WebKit, https://bugs.webkit.org/show_bug.cgi?id=29004
- ^ Bug 28966 - [HTML5][Forms] <input type=color> simple implementation, WebKit, https://bugs.webkit.org/show_bug.cgi?id=28966
- ^ Bug 32936 - HTML5 <section> element support, WebKit, https://bugs.webkit.org/show_bug.cgi?id=32936
- ^ Bug 27937 - Implement HTML5 nav element, WebKit, https://bugs.webkit.org/show_bug.cgi?id=27937
- ^ Bug 32942 - HTML5 <article> element support, WebKit, https://bugs.webkit.org/show_bug.cgi?id=32942
- ^ Bug 32943 - HTML5 <aside> element support, WebKit, https://bugs.webkit.org/show_bug.cgi?id=32943
- ^ Bug 33369 - Implement HTML5 <hgroup> element., WebKit, https://bugs.webkit.org/show_bug.cgi?id=33369
- ^ Bug 28420 - Implement HTML5 <ruby> rendering, WebKit, https://bugs.webkit.org/show_bug.cgi?id=28420
- ^ Steiner, Roland (2010-01-20), "Ruby Rendering in WebKit", Surfin’ Safari (WebKit), http://webkit.org/blog/948/ruby-rendering-in-webkit/, retrieved 2010-01-21
- ^ Bug 3251 - Implement MathML (master bug), WebKit, https://bugs.webkit.org/show_bug.cgi?id=3251
- ^ Bug 20710 - WebKit should support defer and async on script elements, WebKit, https://bugs.webkit.org/show_bug.cgi?id=20710
- ^ Bug 21288 - Implement HTML5's sandbox attribute for iframes, WebKit, https://bugs.webkit.org/show_bug.cgi?id=21288
- ^ Bug 26262 - Implement HTML5 draggable, WebKit, https://bugs.webkit.org/show_bug.cgi?id=26262
- ^ Bug 32052 - Implement HTML5 state object history API, WebKit, https://bugs.webkit.org/show_bug.cgi?id=32052
- ^ Chapin, Nate (2009-11-19), WebKit nightlies support HTML5 noreferrer link relation, http://webkit.org/blog/907/webkit-nightlies-support-html5-noreferrer-link-relation/, retrieved 2009-11-20
- ^ Bug 21605 - Support for HTML5 "hashchange" event, WebKit, https://bugs.webkit.org/show_bug.cgi?id=21605
- ^ Bug 20709 - Implement HTML 5's HTMLElement.classList property, WebKit, https://bugs.webkit.org/show_bug.cgi?id=20709
- ^ Smith, David (2008-02-07), querySelector and querySelectorAll, http://webkit.org/blog/156/queryselector-and-queryselectorall/
- ^ Eidson, Brady (2007-10-19), WebKit Does HTML5 Client-side Database Storage, http://webkit.org/blog/126/webkit-does-html5-client-side-database-storage/, retrieved 2009-10-22
- ^ Issue 12497: Add HTML 5 WebSocket support, Google, http://code.google.com/p/chromium/issues/detail?id=12497
- ^ Bug 21475 - Provide support for the Geolocation API, WebKit, https://bugs.webkit.org/show_bug.cgi?id=21475
[edit] Presto references
- ^ HTML 5 Forms support in Opera Presto 2.2, Opera, http://www.opera.com/docs/specs/presto22/forms/
- ^ A call for video on the web - Opera <video> release on Labs, Opera, http://dev.opera.com/articles/view/a-call-for-video-on-the-web-opera-vid/
- ^ a b c Opera Core Concerns - (re-)Introducing <video>, Opera, http://my.opera.com/core/blog/2009/12/31/re-introducing-video
- ^ Web specifications supported in Opera 9.5, Opera, http://www.opera.com/docs/specs/opera95/
- ^
canvas Support in Opera, Opera, http://www.opera.com/docs/specs/opera9/canvas/
- ^ Chavchanidze, George (2008-06-12), Opera 9.5 released, Opera, http://my.opera.com/mathml/blog/2008/06/12/opera-9-5-released
- ^ Web specifications supported in Opera Presto 2.2, Opera, 2009-10-19, http://www.opera.com/docs/specs/presto22/, retrieved 2010-02-18
- ^ Hunt, Lachlan (2008-05-22), Selectors API, Opera, http://my.opera.com/core/blog/selectors-api
- ^ a b Dixit, Shwetank (2009-12-16), Opera 10.5 Pre-Alpha build released: the new additions, Opera, http://my.opera.com/ODIN/blog/opera-10-5-pre-alpha-build-released-here-is-whats-new
- ^ Nilsen, Petter (2010-02-05), Skin fixes, Unite, and then some, Opera, http://my.opera.com/desktopteam/blog/2010/02/05/skin-fixes-unite-and-then-some
[edit] Other references
- ^ "keygen", Mozilla Developer Center (Mozilla), https://developer.mozilla.org/En/HTML/Element/keygen, retrieved 2010-03-13
- ^ Pilgrim, Mark (2009-03-06), The Road to HTML 5: contentEditable, http://blog.whatwg.org/the-road-to-html-5-contenteditable
- ^ Pilgrim, Mark (2009-03-04), The Road to HTML 5: spellchecking, http://blog.whatwg.org/the-road-to-html-5-spellchecking
- ^ Koch, Peter-Paul, W3C DOM Compatibility - Core, QuirksMode, http://www.quirksmode.org/dom/w3c_core.html
- ^ Holzschlag, Molly (June 2009), A Selection of Supported Features in HTML5, http://molly.com/html5/html5-0709.html
- ^ Selectors API Level 1, W3C, http://dev.w3.org/2006/webapi/selectors-api/
- ^ Web Storage, W3C, http://dev.w3.org/html5/webstorage/
- ^ Web SQL Database, W3C, http://dev.w3.org/html5/webdatabase/
- ^ Server-Sent Events, W3C, http://dev.w3.org/html5/eventsource/
- ^ The Web Sockets API, W3C, http://dev.w3.org/html5/websockets/
- ^ Web Workers, W3C, http://dev.w3.org/html5/workers/
- ^ Resig, John (2009-07-21), Computing with JavaScript Web Workers, http://ejohn.org/blog/web-workers/
- ^ Geolocation API Specification, W3C, http://dev.w3.org/geo/api/spec-source.html
- ^ Web specifications supported in Opera Presto 2.5, Opera, http://www.opera.com/docs/specs/presto25/
[edit] External links