Informatika Komputer    
   
Daftar Isi
(Sebelumnya) Comparison of layout engines (HTML)Comparison of layout engines ( ... (Berikutnya)

Perbandingan -- 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.

Contents

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 engineRelease versionPreview versionUsed by
Amaya11.3.111.3-preAmaya
Gecko19.020.0All 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.
KHTML N/AKonqueror
Presto2.10.2292.10.238Opera; 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
Trident6.0 (IE 10)6.0 (IE 10)Internet Explorer and other Internet Explorer shells like Maxthon (Microsoft Windows operating systems only), Windows Phone 8
WebKit534.20r146740Tizen (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, rekonq. Used by the LG Smart TV platform to enable web content on TVs.

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.

ValueMeaning
YesIndicates that the layout engine fully supports this property/element when valid values are used.
NoIndicates that the property/element is completely ignored.
PartialIndicates that the property/element is understood, but that not all values are supported. Supported values are implemented correctly.
IncorrectIndicates that the property/element is understood, but that it is not implemented correctly in all cases.
ExperimentalIndicates that the property/element is understood, but supported under an alternate name. May be incomplete or buggy.
DroppedIndicates that the property/element is no longer supported.
Nightly buildIndicates that the property/element is supported to some extent in an experimental/nightly build. Future support is expected.
DependsIndicates that the property/element is supported only on certain platforms, or if certain settings are configured.

Canvas functions

TridentGeckoWebKitPresto
getContext5.01.8Yes2.0
toDataURL1.8[g 1]Yes[w 1]2.1[note 1]

Supported contexts

TridentGeckoWebKitPresto
2d5.01.9.1Partial2.6
WebGLNoDepends[g 2]Depends[w 2]2.9.220[p 1]

Canvas Rendering Context 2D

Trident[t 1]Gecko[g 3]WebKit[w 3]Presto[p 2][p 3]
The canvas state
save5.01.8Yes2.0
restore
Transformations
scale5.01.8Yes2.0
rotate
translate
transform2.6[note 2][p 4][p 5][p 6]
setTransform2.6[note 2]
Compositing
globalAlpha5.01.8Yes2.0
globalCompositeOperation
Colors and styles
strokeStyle5.01.8Yes2.0
fillStyle
createLinearGradient
createRadialGradient
createPattern
Line styles
lineWidth5.01.8Yes2.0
lineCap
lineJoin
miterLimit
Shadows
shadowOffsetX5.01.9.1[g 4]Yes2.4[note 3]
shadowOffsetY
shadowBlur
shadowColor
Simple shapes
clearRect5.01.8Yes2.0
fillRect
strokeRect
Complex shapes
beginPath5.01.8Yes2.0
closePath
moveTo
lineTo
quadraticCurveTo1.8.1[note 4]
bezierCurveTo1.8
arcTo1.8.1[g 5]
rect1.8
arc
fill
stroke
clip
isPointInPath
Focus management
drawFocusRingNoNo[g 6]NoNo
Text
font5.01.9.1[note 5]YesNo
textAlign2.6
textBaseline
fillText
strokeText
measureText
Images
drawImage5.01.8Yes2.0
createImageData1.9.1[g 8][g 9]2.7[p 7]
getImageData1.9[g 9]2.6[note 2]
putImageData2.0[g 10][g 9]


Notes

  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]

References

Trident references

Gecko references

Webkit references

Presto references


External links

(Sebelumnya) Comparison of layout engines (HTML)Comparison of layout engines ( ... (Berikutnya)