World Library  
Flag as Inappropriate
Email this Article

Comparison of layout engines (HTML5 canvas)

Article Id: WHEBN0028073771
Reproduction Date:

Title: Comparison of layout engines (HTML5 canvas)  
Author: World Heritage Encyclopedia
Language: English
Subject: Comparison of layout engines (non-standard HTML), Comparison of layout engines (HTML5 media), HTML5, Layout engines, Canvas element
Publisher: World Heritage Encyclopedia

Comparison of layout engines (HTML5 canvas)

The following tables compare support for the drawing APIs of the Canvas element, a feature of HTML5. These tables compare native support by web browsers, without any plugins, add-ons or ECMAScript workarounds.

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 No longer developed; Amaya
Blink 537.36 source code[note 1] Chromium/Chrome (28+), Opera (15+) and Yandex

34.0.5 (December 1, 2014 (2014-12-01)[2])
ESR 31.3.0 (December 1, 2014 (2014-12-01)[3])


35.0 Beta 1 (December 4, 2014 (2014-12-04)[4][5])

Developer Edition

35.0a2 (November 10, 2014 (2014-11-10)[6]) daily release


37.0a1 (November 28, 2014 (2014-11-28)[7]) daily release

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.12.3[8] N/A Konqueror[note 2]
Presto 2.12.388 N/A No longer developed; Opera and Opera Mobile use Blink now; Nintendo DS & DSi Browser; Internet Channel
Tasman (IE 5.2.3 for Mac) N/A No longer developed (aborted in 2003); Internet Explorer 5+ for Mac OS X
Trident 7.0 (IE 11) N/A Internet Explorer and other Internet Explorer shells like Maxthon (Microsoft Windows operating systems only), Windows Phone 8
WebKit 534.20 nightly build[note 3] Tizen (both OS and browser), Safari (both desktop and mobile), Google Chrome (before 28), 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 2]. Used by the LG Smart TV platform to enable web content on TVs.
  1. ^ "chromium / chromium/blink".  
  2. ^ a b In Konqueror, the user can switch the used layout engine.
  3. ^ "WebKit Nightly Builds". Retrieved 2014-05-27. 


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.

Canvas functions

Trident Gecko WebKit Presto
getContext 5.0 1.8 Yes 2.0
toDataURL 1.8[g 1] Yes[w 1] 2.1[note 1]

Supported contexts

Trident Gecko WebKit Presto
2d 5.0 1.9.1 Partial 2.6
WebGL 7.0[t 1] Depends[g 2] Depends[w 2] 2.9.220[p 1]

Canvas Rendering Context 2D

Trident[t 2] Gecko[g 3] WebKit[w 3] Presto[p 2][p 3]
The canvas state
save 5.0 1.8 Yes 2.0
scale 5.0 1.8 Yes 2.0
transform 2.6[note 2][p 4][p 5][p 6]
setTransform 2.6[note 2]
globalAlpha 5.0 1.8 Yes 2.0
Colors and styles
strokeStyle 5.0 1.8 Yes 2.0
Line styles
lineWidth 5.0 1.8 Yes 2.0
shadowOffsetX 5.0 1.9.1[g 4] Yes 2.4[note 3]
Simple shapes
clearRect 5.0 1.8 Yes 2.0
Complex shapes
beginPath 5.0 1.8 Yes 2.0
quadraticCurveTo 1.8.1[note 4]
bezierCurveTo 1.8
arcTo 1.8.1[g 5]
rect 1.8
Focus management
drawFocusRing No 28.0[g 6] No No
font 5.0 1.9.1[note 5] Yes No
textAlign 2.6
drawImage 5.0 1.8 Yes 2.0
createImageData 1.9.1[g 8][g 9] 2.7[p 7]
getImageData 1.9[g 9] 2.6[note 2]
putImageData 2.0[g 10][g 9]


  1. ^ Presto 2.0 had partial support for this property.
  2. ^ a b c Opera 9.5(Presto 2.1) support table claims support for this, but support tables for Presto 2.1.1 up to 2.5 indicate that this property is not supported.
  3. ^ Prior to version 2.4, Presto only had partial support for this property.
  4. ^ Incorrect in Gecko 1.8
  5. ^ Gecko had experimental support in version 1.9, with different names.[g 7]


Trident references

  1. ^ "Introducing IE11: The Best Way to Experience the Web on Modern Touch Devices". Microsoft. Retrieved 8 November 2013. 
  2. ^ Internet Explorer Platform Preview Release Notes 

Gecko references

  1. ^
  2. ^ WebGL - MDC, Mozilla 
  3. ^ Canvas tutorial - MDC 
  4. ^ Bug 310682 - Implement shadows for , Mozilla 
  5. ^ Bug 333613 – update canvas on branch, Mozilla 
  6. ^ Bug 540456 - Support HTML5 canvas drawFocusRing(), Mozilla 
  7. ^ Bug 436904 - implementing Canvas text spec, Mozilla 
  8. ^ Bug 433004 - Support canvas.getContext("2d").createImageData(), Mozilla 
  9. ^ a b c Pixel manipulation with canvas - MDC 
  10. ^ Bug 498826 - canvas putImageData doesn't implement optional arguments, Mozilla 

Webkit references

  1. ^ WebKit DOM Programming Topics: Using the Canvas 
  2. ^ Marrin, Chris (2009-10-19), WebGL Now Available in WebKit Nightlies, Surfin' Safari 
  3. ^ WebKit DOM reference - CanvasRenderingContext2D 

Presto references

  1. ^ Opera Desktop Team Blog 
  2. ^ Opera 9 canvas support 
  3. ^ Opera 9.5 canvas support 
  4. ^ Presto 2.1.1 canvas support table 
  5. ^ Presto 2.5 canvas support table 
  6. ^ Presto 2.6 canvas support table 
  7. ^ Web specifications support in Opera Presto 2.7 - Core Milestone additions since Opera Presto 2.6 

Other references

  1. ^ Amaya Binary Releases, Most recent download link in stable
  2. ^ "Firefox — Notes (34.0.5) — Mozilla".  
  3. ^ "Firefox — Notes (31.3.0) — Mozilla".  
  4. ^ "Firefox — Beta Notes (35.0beta) — Mozilla". 2014-12-04. Retrieved 2014-12-04. 
  5. ^ "Mozilla Firefox Web Browser — Download Firefox Beta in your language — Mozilla". Retrieved 2014-12-04. 
  6. ^ "Firefox — Aurora Notes (35.0a2) — Mozilla". 2014-11-10. Retrieved 2014-11-12. 
  7. ^ "RapidRelease/Calendar - MozillaWiki". Retrieved 2014-11-29. 
  8. ^ Download for kdelibs, Most recent download link in stable

External links

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.