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

Perbandingan -- layout engines (Scalable Vector Graphics)

Scalable Vector Graphics

The following tables compare SVG compatibility and support for a number of layout engines. Please see the individual products' articles for further information. This article is not all-inclusive or necessarily up-to-date. Unless otherwise specified in footnotes, comparisons are based on the stable versions without any add-ons, extensions or external programs.

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. Adobe SVG Viewer, Batik, eSVG and Renesis are SVG-Plugins.

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.

SVG version support

TridentGeckoWebKitPrestoKHTMLPrince XMLAmayaAdobe SVG ViewerBatikRenesis
SVG1.1Tiny (SVGT)5.0[t 1]Partial[g 1]Partial1.0Partial[note 1]PartialPartialPartialMostlyPartial
Basic (SVGB)Mostly
Full
1.2TinyNoNoNo2.1No??NoPartialPartial
FullNoNoNoNoNo
sXBLYes
XBL 2.0No

Embedding

This table shows support status of different ways of embedding SVG into HTML, for different layout engines.

TridentGeckoWebKitPrestoKSVGAmaya
<img>5.0[t 1]2.0[g 2]Yes[note 2]2.1No5.1
<embed>1.8Yes[note 3]Partial[note 4]Partial[note 5]5.2
<object>Yes5.1
CSS background-image2.0[g 3]No2.1No?
CSS list-style-imagePartial[note 6]?
as FaviconNoPartial[g 4]No2.1.1?
in data URIs5.0YesYesNo??

SVG 1.1 support

Perbandingan -- various Scalable Vector Graphics element support.

ProfileElementTridentGeckoWebKit[w 3]PrestoKSVGPrince XMLAmayaAdobe SVG ViewerBatikRenesis
Structure Module
Tinysvg5.0[t 2]1.85221.0YesYesYes1.0YesYes
g2.01.0
defs6.0?
descNoNo?
title?3.0
metadata??2.0
useYes[w 4]No6.0Yes1.00.6
Basicsymbol522?
Conditional Processing Module
TinyswitchYes1.85222.0?No?2.0YesNo
Image Module
Tinyimage5.0[t 2]2.0[g 5]5222.0No5.14.01.0Yes0.5
Style Module
Tinystyle5.0[t 1]1.85222.0?YesYes1.0Yes0.6
Shape Module
Tinycircle5.0[t 2]1.85222.0YesYes4.01.0Yes1.0
ellipse
line
path
polygon
polyline
rect0.6
Text Module
Tinytext5.0[t 1]1.85222.0Yes5.14.01.0Yes0.7
BasictspanYes
trefNo[g 6]No6.30.6
textPath1.8.14.0No
FullaltGlyphYes[g 7]Partial2.2?2.0
altGlyphDefNoNo?
altGlyphItem??No
glyphRef2.2?2.0
ProfileElementTridentGeckoWebKitPrestoKSVGPrince XMLAmayaAdobe SVG ViewerBatikRenesis
Marker Module
Fullmarker5.0[t 1]1.85222.0?6.0?3.0Yes1.0
Color Profile Module
Fullcolor-profileNoNo[g 8]No[w 5]NoNoNo?3.0YesNo
Gradient Module
BasiclinearGradient5.0[t 1]1.85221.0Yes6.0?1.0Yes0.5
radialGradient2.0?
stop1.0??
Pattern Module
Basicpattern5.0[t 1]1.95222.0Yes??2.0Yes0.5
Clip Module
BasicclipPath5.0[t 1]1.8Mostly[w 6]2.0???1.0Yes0.6
Mask Module
Basicmask5.0[t 1]1.95222.0???1.0YesNo
Filter Module
BasicfeBlend6.0[t 3]1.9Nightly build[w 7]2.0?No?1.0YesNo
feColorMatrix??
feComponentTransfer??
feComposite??
feFlood??
feGaussianBlur??
feImage??
feMerge??
feOffset??
feTile??
FullfilterNightly build[w 7]??
feConvolveMatrixNightly build[w 8]??
feDiffuseLightingNightly build[w 9]??
feDisplacementMapNightly build[w 7]??
feMergeNode??
feMorphology??
feSpecularLightingNightly build[w 10]??
feTurbulenceNightly build[w 11]??
feDistantLightNo??
fePointLight??
feSpotLight??
feFuncRNightly build[w 7]??
feFuncG??
feFuncB??
feFuncA??
ProfileElementTridentGeckoWebKitPrestoKSVGPrince XMLAmayaAdobe SVG ViewerBatikRenesis
Cursor Module
FullcursorNo[t 4]No[g 9]PartialNo???NoYes0.6
Hyperlinking Module
TinyaYes1.85221.0Yes5.18.21.0Yes0.6
View Module
BasicviewNo15.0[g 10]Partial2.0???3.0YesNo
Scripting Module
TinyscriptYes1.85222.0???1.0Yes0.5
Animation Module
TinyanimateNo2.0[g 11]No2.0YesNoYes1.0YesNo
setPartial
animateMotion2.0[g 12]No
animateTransform2.0[g 11]
animateColor (deprecated)No[g 13]Yes
mpath2.0[g 12]522??2.0
Font Module
TinyfontNoNo[g 14]Yes2.0???2.0Yes1.0
font-face1.0???Dropped[note 7]
glyph???1.0
missing-glyph???
FullhkernNightly build[w 12]2.0???No
vkernNightly build[w 13]???
font-face-srcYesNo???No
font-face-uri2.0???
font-face-formatNo???No
font-face-name???Yes
Extensibility Module
FullforeignObjectNo1.95222.0?No7.2NoNoNo
ProfileElementTridentGeckoWebKitPrestoKSVGPrince XMLAmayaAdobe SVG ViewerBatikRenesis

Notes

  1. ^ KHTML does not have any native image support. This is by design: in Konqueror, multimedia files are handled by KParts. The KDE project also developed an SVG plugin for Konqueror, known as KSVG.[o 1]
  2. ^ [w 1]
  3. ^ [w 2]
  4. ^ <embed> — Presto does not scale the image properly if its size is given in relative units.
  5. ^ <embed>, <object> — KSVG does not scale the image properly if its size is given in relative units.
  6. ^ list-style-image — WebKit does render the image if its size is given in relative units.[w 1]
  7. ^ Renesis 0.7 supports that feature, but because of the rewrite of the plugin Renesis 1.0 doesn't support this any longer.[o 2]

References

Trident references

Gecko references

  1. ^ Bug 512501 - (svg11tests) We should pass all the W3C SVG 1.1 Full tests, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=512501
  2. ^ Bug 276431 - external SVG not loaded from img tag, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=276431
  3. ^ Bug 231179 - SVG images in CSS, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=231179
  4. ^ Bug 366324 - SVG site icons (favicons, shortcut icons) support, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=366324
  5. ^ Bug 272288 - Allow SVG source for <svg:image>, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=272288
  6. ^ Bug 273171 - Text 'tref' not supported, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=273171
  7. ^ Bug 456286 - should altGlyph elements fall back to behaving like tspan?, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=456286
  8. ^ Bug 427713 - embedded color profiles in svg are ignored, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=427713
  9. ^ Bug 177193 - Implement the 'cursor' element and the 'cursor' attribute, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=177193
  10. ^ Bug 512525 - Implement the <view> element, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=512525
  11. ^ a b Bug 482402 - (enablesmil) Enable "svg.smil.enabled" pref by default, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=482402
  12. ^ a b Bug 436418 - SVG SMIL: Implement "animateMotion", Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=436418
  13. ^ Bug 436296 - SVG SMIL: implement "animateColor", Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=436296
  14. ^ Bug 119490 - Implement SVG fonts, Mozilla, https://bugzilla.mozilla.org/show_bug .cgi?id=119490

WebKit references

Other references

External links

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