Manga Wiki
Advertisement
HTML
File:HTML5.svg

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 of the programs without any add-ons, extensions or external programs.

Explanation of the tables

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.

Layout engine Release version Preview version Used by
Amaya 11.4.7 [1] N/A Amaya
Blink 537.36 Chromium/Chrome (28+), Opera (15+) and Yandex
Gecko 26.0 27.0 All Mozilla software, including Firefox; SeaMonkey and Galeon; Camino; K-Meleon; Flock (up to 2.x); Debian IceWeasel; GNU IceCat (formerly GNU IceWeasel); Icedove, Iceape and Iceowl; Fennec. Also used by the Maple platform in 2010 and 2011 Samsung "SmartTV" devices which are based on the build used in Firefox 3.0. Nokia Asha platform is also using Gecko for web apps rendering.
KHTML 4.10.5 [2] N/A Konqueror[note 1]
Presto 2.12.388 N/A Opera; Opera Mobile, Nintendo DS & DSi Browser; Internet Channel
Tasman (IE 5.2.3 for Mac) none (aborted in 2003) Internet Explorer 5+ for Mac OS X
Trident 7.0 (IE 11) 7.0 (IE 11) Internet Explorer and other Internet Explorer shells like Maxthon (Microsoft Windows operating systems only), Windows Phone 8
WebKit 534.20 r146740 Tizen (both OS and browser), Safari (both desktop and mobile), Google Chrome, Maxthon 3, Shiira, iCab 4, OmniWeb 5.5+, Web, Adobe AIR, Midori, Adobe Dreamweaver CS4 and CS5, Android browser, Palm webOS browser, Symbian S60 browser, OWB, Steam, Rekonq, Arora, Flock (version 3+), RockMelt, Dolphin Browser, Sleipnir, Konqueror[note 1], PhantomJS A headless browser for testing, rekonq. Used by the LG Smart TV platform to enable web content on TVs.
  1. 1.0 1.1 In Konqueror, the user can switch layout engine.


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.

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.

Trident Gecko WebKit Presto
section No 2.0[g 1][g 2] 533[w 1] No
nav No 533[w 2] No
article No 533[w 3] No
aside No 533[w 4] No
hgroup No 533[w 5] No
header No 533[w 6] No
footer No 533[w 6] No
time No No No No
mark No 2.0[g 3] Nightly build[w 7] No
ruby,[3] rt, rp 3.1[t 1] No[g 4] 533[w 8][w 9] No
figure No 2.0[g 5] No No
figcaption No 2.0[g 5] No No
embed <3.1[IE 3.0] 1.7 85 1.0
video 5.0[t 2] 1.9.1[note 1] 525 2.5[note 2]
audio 5.0[t 2] 1.9.1[note 3] 525 2.5[note 4]
source 5.0[t 2] 1.9.1[note 5] 525 2.5[p 2]
canvas 5.0[t 3] 1.9.2[g 9] Partial 2.0[p 4]
Inline MathML No 2.0[note 6] Nightly build[w 10][w 11] 2.1[note 7]
Inline SVG 5.0[t 2] 2.0[note 6] Nightly build[w 11] 1.0[note 8]
details No No No No
summary No No No No
command No No No No
menu No No No No
Trident Gecko WebKit Presto

Attributes

Element Specific

Attribute Element Trident Gecko WebKit Presto
manifest html No 1.9 Yes 2.6[p 6][p 7]
sizes link No No No[w 12] No
charset meta 3.1 Yes Yes Yes
scoped style No No[g 11] No No
async script No 1.9.2[g 12] No[w 13] No
reversed ol No No No[w 14] No
sandbox iframe No No[g 13] 533[w 15] No
seamless iframe No No No No
Attribute Element Trident Gecko WebKit Presto

Global

Trident Gecko WebKit Presto
Datasets (data-*) No No[g 14] Nightly build[w 16] No
contextmenu No No[g 15] No No
hidden No 2.0[g 16] Nightly build[w 17] No
contenteditable[4] <3.1[IE 5.5] 1.9 Yes 2.0
spellcheck[5] No 1.8[g 17] Incorrect[w 18] No
draggable No 1.9.1[g 18] 533[w 19] No
Trident Gecko WebKit Presto

Form elements and attributes

Many of these features can be emulated with third-party libraries.

Trident Gecko[g 19] WebKit[w 20] Presto[p 8]
Attributes
autocomplete 3.1 Yes Yes 2.0
list No No[g 20] No[w 21] 2.0
required No 2.0[g 21] 528 2.0
multiple No 1.9.2[note 9][g 22] 526[note 9][w 22] No
pattern No 2.0[g 23] 528[w 23] 2.0
min, max No No[g 24] Partial[w 24] 2.0
step No No[g 25] 528[w 25] 2.0
placeholder No 2.0[g 26] Yes No
form No 2.0[g 27] No 2.0
autofocus No 2.0[g 28] 528[w 26] 2.0
maxlength No 2.0[g 29] 528[w 27] 2.0
novalidate No No[g 30] 528[w 28] No
control No 2.0[g 31] No No
accept No 2.0[g 32] No No
formtarget No 2.0[g 33] No No
formaction No 2.0[g 34] No No
formmethod No 2.0[g 35] No No
formenctype No 2.0[g 35] No No
formnovalidate No No No No
Elements
datalist No No[g 36] No[w 29] 2.0
keygen[6] No[t 4] 1.0[g 37] 125 1.0
output No 2.0[g 38] No[w 30] 2.0
progress No No[g 39] Nightly build[w 31] No
meter No No[g 40] Nightly build[w 32] No
Input types
search No 2.0[g 41] 312[w 33] No
tel No 2.0[g 42] 528[w 34] No
url No 2.0[g 43] 528[w 34] 2.0
email No 2.0[g 44] 528[w 34] 2.0
datetime No No[g 45] Partial[w 35][w 36] 2.0
date
month
week
time
datetime-local
number No No[g 46] 528[w 34] 2.0
range No No[g 47] Yes 2.0
color No No[g 48] 528[w 37] No
Trident Gecko WebKit Presto

APIs

Trident Gecko WebKit Presto
getElementsByClassName[7] 5.0[t 5] 1.9[g 49] 525 2.1
registerProtocolHandler No 1.9[note 10] No No
registerContentHandler No 1.8[note 11] No No
Cross-document messaging[8] 4.0 1.9[g 52] Nightly build 2.0
Drag-and-drop Partial 1.9.1[g 18] Partial No
pushState() and replaceState() No 2.0[g 53] 528[w 38] No
Trident Gecko WebKit Presto

Other features

Trident Gecko WebKit Presto
Microdata No No No No
HTML5 Tokenizer No 2.0[g 54] Nightly build[w 39] Partial[p 9]
HTML5 Tree Builder No 2.0[g 54] Nightly build[w 11] ?
<a rel="noreferrer"> No No[g 55] Yes[w 40] No
window.onhashchange 4.0[t 6] 1.9.2[g 56] 528[w 41] 2.6[p 10]
element.classList No 1.9.2[g 57] No[w 42] No
Trident Gecko WebKit Presto

Next-generation additions

The WHATWG version of HTML5 also includes additional features that are not technically HTML5, which are called "next-generation additions still in development" by the spec.[9]

Trident Gecko WebKit Presto
<device> No No No No
<track> No No No No
<a ping> No Depends[g 58][note 12] No No

Related specifications

Trident Gecko WebKit Presto
Selectors API[10] 4.0[t 7] 1.9.1[g 61] 525[w 43] 2.2[p 11]
Web Storage[11] 4.0 1.9.1[g 62] 525 2.5[p 12]
Indexed Database API[12] No 2.0 (Partial)[g 63] Partial No
Web SQL Database[13] No No[g 64] Yes[w 44] 2.5[p 12]
File API[14] No 1.9.2[g 65] Partial[w 45][w 46] No
Media Capture API[15] No 2.0 (Depends/Partial)[note 13] No No
Server-sent Events[16] No No[g 67] Yes[w 47] Experimental[p 13]
Web Sockets[17] No 2.0[g 68] 533 No
Web Workers[18][19] No 1.9.1[g 69] Yes 2.6[p 6][p 7]
Geolocation API[20] No 1.9.1[g 70] 533[w 48] 2.6[note 14]
Offline Web applications[21] No 1.9.1[g 71] Yes 2.6[p 6][p 7]
Trident Gecko WebKit Presto

Notes

  1. loop attribute not supported,[g 6] poster attribute supported as of 1.9.2.[g 7]
  2. Beginning in 2007,[p 1] several experimental builds have been released with Ogg Theora support. Full support for the video element is included in Presto 2.5.[p 2]
  3. loop attribute not supported.[g 6]
  4. 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 3] Full support for the audio element with the Ogg Vorbis and WAV codecs is included in Presto 2.5.[p 2]
  5. media attribute not implemented.[g 8]
  6. 6.0 6.1 Supported in XHTML and in HTML when the html5.enable preference is set.[g 10]
  7. MathML for CSS, XHTML only[p 5]
  8. XHTML only
  9. 9.0 9.1 For file inputs only.
  10. Limited to the feed protocol in 1.8; fully supported in 1.9.[g 50]
  11. Limited to feed MIME types in 1.8 and 1.9.[g 51]
  12. The ping attribute is disabled by default, due to privacy concerns.[g 59][g 60]
  13. Currently partially supported in nightly builds for the Linux platform.[g 66]
  14. Geolocation support was added in Presto 2.5, but was not enabled by default until 2.6.[p 14][p 15][p 6][p 7]

References

Trident references

Gecko references

  1. Bug 559284 - Support for HTML5 sectioning elements (article, aside, footer, header, hgroup, nav, section): style as display:block, Mozilla 
  2. Bug 562008 - HTML5 section DOM elements should be of type HTMLElement, Mozilla 
  3. Bug 485377 - Implement HTML5's <mark> tag, Mozilla 
  4. Bug 33339 - HTML5 <ruby> support, Mozilla, retrieved 2010-03-13 
  5. 5.0 5.1 Implement the figure element, Mozilla 
  6. 6.0 6.1 Bug 449157 - Implement the looping attributes in media elements, Mozilla 
  7. Bug 449156 - Implement the poster attribute for the <video> element, Mozilla 
  8. Source - MDC, Mozilla 
  9. Canvas - MDC, Mozilla 
  10. Zbarsky, Boris (2009-07-03), MathML in non-XML documents 
  11. Bug 508725 - Implement HTML 5 scoped attribute on STYLE tag, Mozilla 
  12. Bug 503481 - Implement async attribute of script element, Mozilla 
  13. Bug 341604- Implement IFRAME's sandbox attribute, Mozilla 
  14. Bug 560112 - Implement HTML5 dataset attribute, Mozilla 
  15. Bug 512221 - oncontextmenu attribute is not working when applied to elements other than the body-tag, Mozilla 
  16. Bug 567663 - Implement the hidden attribute, Mozilla 
  17. Controlling spell checking in HTML forms, Mozilla 
  18. 18.0 18.1 Blizzard, Christopher (2009-07-15), HTML5 drag and drop in Firefox 3.5 
  19. User:Mounir.lamouri/HTML5 Forms, Mozilla  External link in |title= (help)
  20. Bug 556007 - Implement list attribute, Mozilla 
  21. Bug 345822 - Implement required attribute for <input type="text">, <textarea>, Mozilla 
  22. Bug 523771 - Support <input type=file multiple>, Mozilla 
  23. Bug 345512 - Implement pattern attribute for <input type="text">, <textarea>, Mozilla 
  24. Bug 556010 - Implement min and max attributes, Mozilla 
  25. Bug 556009 - Implement step attribute, Mozilla 
  26. Bug 457800 - Implement placeholder attribute for text input fields, Mozilla 
  27. Bug 588683 - Implement form attribute, Mozilla 
  28. Bug 546995 - Implement autofocus attribute for some form elements, Mozilla 
  29. Bug 535043 - Support maxlength on textarea, Mozilla 
  30. Bug 556013 - Implement novalidate attribute for form elements, Mozilla 
  31. Bug 562932 - Implement control attribute for label element, Mozilla 
  32. Bug 377624 - Implement the accept attribute for the form and file upload controls form "image/*", Mozilla 
  33. Bug 566064 - HTMLInputElement and HTMLButtonElement should implement formtarget attribute which override HTMLFormElement target attribute, Mozilla 
  34. Bug 566160 - HTMLInputElement and HTMLButtonElement should implement formaction attribute which override HTMLFormElement action attribute, Mozilla 
  35. 35.0 35.1 Bug 582412 - Implement @formmethod, @formenctype, Mozilla 
  36. Bug 555840 - Implement datalist element, Mozilla 
  37. Bug 101019 - Implement keygen element, Mozilla 
  38. Bug 346485 - Implement Web Forms 2 <html:output/>, Mozilla 
  39. Bug 514437 - Implement HTML 5 progress element, Mozilla 
  40. Bug 555985 - Implement meter element, Mozilla 
  41. Bug 456229 - Implement <input type="search"> for compatibility with Safari, Mozilla 
  42. Bug 557620 - Implement <input type="telephone">, Mozilla 
  43. Bug 344615 - Implement <input type="url">, Mozilla 
  44. Bug 555559- Implement <input type="email">, Mozilla 
  45. Bug 446510 - Implement <input type="date"> and other date controls, Mozilla 
  46. Bug 344616 - Implement <input type="number">, Mozilla 
  47. Bug 344618 - Implement <input type="range">, Mozilla 
  48. Bug 547004 - Implement <input type="color">, Mozilla, retrieved 2010-02-18 
  49. Bug 357450 - Implement getElementsByClassName, Mozilla 
  50. window.navigator.registerProtocolHandler, Mozilla 
  51. window.navigator.registerContentHandler, Mozilla 
  52. Bug 387706 - (postMessage) Implement HTML5's cross-document messaging API (postMessage), Mozilla 
  53. Bug 500328 - Add support for HTML5 History.pushState(), History.replaceState() methods, Mozilla 
  54. 54.0 54.1 Bug 373864 - Replace HTML parser with an HTML5 parser, Mozilla 
  55. Bug 530396 - Support for <a rel="noreferrer"> functionality, Mozilla 
  56. Bug 385434 - Add support for HTML5 onhashchange (event for named anchor changes), Mozilla 
  57. Bug 501257 - Implement HTML 5's HTMLElement.classList property, Mozilla 
  58. Bug 319368 - Implement <a ping>, Mozilla 
  59. Bug 324645 - <a ping> support should be opt-in, not opt-out, for Gecko-based apps, Mozilla 
  60. Bug 319368 - Implement <a ping> (Comment 64), Mozilla 
  61. document.querySelector 
  62. DOM Storage, Mozilla 
  63. Implement Indexed Database API, Mozilla 
  64. Bug 416327 - Implement Client-side database storage, Mozilla 
  65. Using files from web applications, Mozilla 
  66. Bug 451674 - (camera) Expose camera functionality to web content, Mozilla 
  67. Bug 338583 - Add support for Server-Sent DOM Events (Remote Events), Mozilla 
  68. Bug 472529 - Support for Web sockets' HTML5 Draft Recommendation, Mozilla 
  69. Bug 437152 - implement worker threads, Mozilla 
  70. Using geolocation, Mozilla 
  71. Offline resources in Firefox, Mozilla 

Webkit references

  1. Bug 32936 - HTML5 <section> element support, WebKit 
  2. Bug 27937 - Implement HTML5 nav element, WebKit 
  3. Bug 32942 - HTML5 <article> element support, WebKit 
  4. Bug 32943 - HTML5 <aside> element support, WebKit 
  5. Bug 33369 - Implement HTML5 <hgroup> element., WebKit 
  6. 6.0 6.1 Bug 32944 - HTML5 <header> and <footer> elements support, WebKit 
  7. Bug 41144 - Implement the HTML5 element., WebKit 
  8. Bug 28420 - Implement HTML5 <ruby> rendering, WebKit 
  9. Steiner, Roland (2010-01-20), "Ruby Rendering in WebKit", Surfin’ Safari (WebKit), retrieved 2010-01-21 
  10. Bug 42373 - Changes to enable MathML, WebKit 
  11. 11.0 11.1 11.2 Seidel, Eric (2010-08-05). "The HTML5 Parsing Algorithm". Surfin' Safari. WebKit Project. Retrieved 5 August 2010.  Check date values in: |date= (help)
  12. Bug 37674 - Implement sizes attribute for link tag from HTML5, WebKit 
  13. Bug 20710 - WebKit should support defer and async on script elements, WebKit 
  14. Bug 36724 - Add support for ol reversed, WebKit 
  15. Bug 21288 - Implement HTML5's sandbox attribute for iframes, WebKit 
  16. Bug 41146 - Implement the .dataset DOM property, WebKit 
  17. Bug 40511 - Implement HTML5 hidden attribute, WebKit 
  18. Bug 25537 - WebKit does not follow HTML5 spellcheck attribute logic for words split by spans, WebKit 
  19. Bug 26262 - Implement HTML5 draggable, WebKit 
  20. Bug 19264 - HTML5 Forms Implementation - Master bug, WebKit 
  21. Bug 27247 - [HTML5][Forms] Part 5 of datalist&list: UI of `list' attribute of <input>, WebKit 
  22. Almaer, Dion (2009-03-06), input type=”file” multiple; now in a real browser!, Ajaxian 
  23. Bug 25552 - Support for HTML5 Forms "pattern" attribute, WebKit 
  24. Bug 27450 - Support HTML5 min/max attributes and associated CSS selectors, WebKit 
  25. Bug 27451 - Support HTML5 step attribute, WebKit 
  26. Bug 18887 - WF2 Support for autofocus controls, WebKit 
  27. Bug 29292 - [HTML5][Forms] Support for <textarea maxlength=N>, WebKit 
  28. Bug 28145 - novalidate/formnovalidate support, WebKit 
  29. Bug 27247 - Master bug of datalist element and list attribute implementation, WebKit 
  30. Bug 29363 - [HTML5][Forms] Support for <output> element, WebKit 
  31. Bug 37307 - [Chromium] Support for <progress> element, WebKit 
  32. Bug 37074 - Support for HTMLMeterElement, WebKit 
  33. Hyatt, David (July 2004), The Search Field 
  34. 34.0 34.1 34.2 34.3 Bug 25554 - Implement HTML5 Input element types for Text Fields, WebKit 
  35. Bug 29004 - [HTML5][Forms] simple implementation of date&time types of INPUT element, WebKit 
  36. Bug 29359 – Add UIs for date and time types of <input> 
  37. Bug 28966 - [HTML5][Forms] <input type=color> simple implementation, WebKit 
  38. Bug 32052 - Implement HTML5 state object history API, WebKit 
  39. Bug 39259 – MASTER: WebKit needs an HTML5 Tokenizer 
  40. Chapin, Nate (2009-11-19), WebKit nightlies support HTML5 noreferrer link relation, retrieved 2009-11-20 
  41. Bug 21605 - Support for HTML5 "hashchange" event, WebKit 
  42. Bug 20709 - Implement HTML 5's HTMLElement.classList property, WebKit 
  43. Smith, David (2008-02-07), querySelector and querySelectorAll 
  44. Eidson, Brady (2007-10-19), WebKit Does HTML5 Client-side Database Storage, retrieved 2009-10-22 
  45. Bug 36567 - Implement FileAPI/FileWriter, WebKit 
  46. Bug 38157 - Implement FileReader class, WebKit 
  47. Bug 14997 - Support for server-sent DOM events, WebKit 
  48. Bug 21475 - Provide support for the Geolocation API, WebKit 

Presto references

  1. A call for video on the web - Opera <video> release on Labs, Opera 
  2. 2.0 2.1 2.2 Opera Core Concerns - (re-)Introducing <video>, Opera, archived from the original on 2010-01-04 
  3. Web specifications supported in Opera 9.5, Opera 
  4. canvas Support in Opera, Opera 
  5. Chavchanidze, George (2008-06-12), Opera 9.5 released, Opera, archived from the original on 2008-10-13 
  6. 6.0 6.1 6.2 6.3 Haavard (2010-06-14), HTML5, and then some, Opera, archived from the original on 2010-06-17 
  7. 7.0 7.1 7.2 7.3 Kleinhout, Huib (2010-07-01), Opera 10.60 goes final, Opera, archived from the original on 2010-07-02 
  8. HTML 5 Forms support in Opera Presto 2.2, Opera 
  9. Web specifications supported in Opera Presto 2.2, Opera, 2009-10-19, retrieved 2010-02-18 
  10. Haavard (2010-05-31), Opera 10.60 Alpha 1: Speed, eye-candy, and bug fixing, Opera, archived from the original on 2010-06-02 
  11. Hunt, Lachlan (2008-05-22), Selectors API, Opera, archived from the original on 2008-05-27  Unknown parameter |puslisher= ignored (|publisher= suggested) (help)
  12. 12.0 12.1 Dixit, Shwetank (2009-12-16), Opera 10.5 Pre-Alpha build released: the new additions, Opera, archived from the original on 2009-12-25 
  13. Bersvendsen, Arve (2006-09-01), Event Streaming to Web Browsers, Opera, archived from the original on 2006-10-16 
  14. Nilsen, Petter (2010-02-05), Skin fixes, Unite, and then some, Opera, archived from the original on 2010-02-09 
  15. Web specifications supported in Opera Presto 2.5, Opera 

Other references

  1. Amaya Binary Releases, Most recent download link in stable
  2. Download for kdelibs, Most recent download link in stable
  3. Studholme, Oli (2010-05-11), The ruby element and her hawt friends, rt and rp, HTML5 Doctor 
  4. Pilgrim, Mark (2009-03-06), The Road to HTML 5: contentEditable 
  5. Pilgrim, Mark (2009-03-04), The Road to HTML 5: spellchecking 
  6. "keygen", Mozilla Developer Center (Mozilla), retrieved 2010-03-13 
  7. Koch, Peter-Paul, W3C DOM Compatibility - Core, QuirksMode 
  8. Holzschlag, Molly (June 2009), A Selection of Supported Features in HTML5 
  9. http://www.whatwg.org/specs/web-apps/current-work/#is-this-html5?  Missing or empty |title= (help)
  10. Selectors API Level 1, W3C 
  11. Web Storage, W3C 
  12. Indexed Database API, W3C 
  13. Web SQL Database, W3C 
  14. File API, W3C, 2009-11-17 
  15. Media Capture API, W3C 
  16. Server-Sent Events, W3C 
  17. The Web Sockets API, W3C 
  18. Web Workers, W3C 
  19. Resig, John (2009-07-21), Computing with JavaScript Web Workers 
  20. Geolocation API Specification, W3C 
  21. 5.6 Offline Web applications — HTML5, W3C 

External links

ru:Сравнение браузеров (HTML5)

Advertisement