SVG: Difference between revisions
imported>Caesar Schinas |
mNo edit summary |
||
(8 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
'''Scalable Vector Graphics''' (SVG) is a modular [[XML]]-based [[markup language]] for describing static, interactive, and animated two-dimensional [[vector graphics]]. | '''Scalable Vector Graphics''' (SVG) is a modular [[XML]]-based [[markup language]] for describing static, interactive, and animated two-dimensional [[vector graphics]]. | ||
The [http://www.w3.org/TR/SVG/ SVG specifications] are created, developed and maintained by the [[W3C]]. [http://www.w3.org/TR/SVG11/ SVG Version 1.1] currently has W3C Recommendation status. | The [http://www.w3.org/TR/SVG/ SVG specifications] are created, developed and maintained by the [[W3C]]. [http://www.w3.org/TR/SVG11/ SVG Version 1.1] currently has [[W3C Recommendation]] status. | ||
==Browser support for SVG== | |||
All modern [[web browser]]s except [[Internet Explorer]] currently feature native support for some form of SVG.<ref>[http://www.codedread.com/svg-support.php Jeff Schiller's SVG support table]</ref> | All modern [[web browser]]s except [[Internet Explorer]] currently feature native support for some form of SVG.<ref>[http://www.codedread.com/svg-support.php Jeff Schiller's SVG support table]</ref> | ||
* [[Gecko]]-based browsers such as [[Firefox]], [[Camino]], [[Netscape]], and [[Flock]] have have included partial support for SVG 1.1 Full since 2005.<ref>[http://www.mozilla.org/projects/svg/ Mozilla's project page for SVG]</ref> | * [[Gecko]]-based browsers such as [[Firefox]], [[Camino]], [[Netscape]], and [[Flock]] have have included partial support for SVG 1.1 Full since 2005. Support was greatly enhanced in Gecko 1.9 / Firefox 3.0.<ref>[http://www.mozilla.org/projects/svg/ Mozilla's project page for SVG]</ref> | ||
* [[Webkit]]-based browsers such as [[Safari]] and [[Chrome]] have included partial support for SVG 1.1 Full since 2006.<ref>[http://webkit.org/projects/svg/ Webkit's project page for SVG]</ref> | * [[Webkit]]-based browsers such as [[Safari]] and [[Chrome]] have included partial support for SVG 1.1 Full since 2006.<ref>[http://webkit.org/projects/svg/ Webkit's project page for SVG]</ref> | ||
* [[Konqueror]] includes partial support for SVG 1.1 Full.<ref>[http://svg.kde.org/ KDE's project page for SVG]</ref> | * [[Konqueror]] includes partial support for SVG 1.1 Full.<ref>[http://svg.kde.org/ KDE's project page for SVG]</ref> | ||
* [[Opera]] 8.0 supported the SVG 1.1 Tiny specification. Opera 9.0 supported SVG 1.1 Basic and some of SVG 1.1 Full. Opera 9.5 also has partial support for SVG 1.2 Tiny.<ref>[http://dev.opera.com/articles/svg/ Opera's developer SVG page]</ref> | * [[Opera]] 8.0 supported the SVG 1.1 Tiny specification. Opera 9.0 supported SVG 1.1 Basic and some of SVG 1.1 Full. Opera 9.5 also has partial support for SVG 1.2 Tiny.<ref>[http://dev.opera.com/articles/svg/ Opera's developer SVG page]</ref> | ||
As of Version 8, Internet Explorer includes no support for SVG.<ref>[http://www.msnbc.msn.com/id/26646919/ Creator of Web spots a flaw in Internet Explorer] - MSNBC</ref> | As of Version 8, [[Internet Explorer]] includes no support for SVG.<ref>[http://www.msnbc.msn.com/id/26646919/ Creator of Web spots a flaw in Internet Explorer] - MSNBC</ref> | ||
Various [[plugin]]s are available to add SVG support to Internet Explorer.<br /> | Various [[plugin]]s are available to add SVG support to Internet Explorer.<br /> | ||
The most popular | The most popular of these plugins is [[Adobe]]'s SVG Viewer. Adobe have stated that they will discontinue support for this plugin on 1st January 2009<ref>SVG Viewer [http://www.adobe.com/svg/eol.html end of life announcement]</ref>, but it will remain available for [http://www.adobe.com/svg/viewer/install/mainframed.html download] for the foreseeable future.<br /> | ||
Other plugins include [[Renesis]] and [[ASV]]. | Other plugins include [[Renesis]] and [[ASV]]. | ||
Internet Explorer does have native support for [[VML]], Microsoft's own vector graphical markup language on which SVG is partly based. Some SVG-based websites such as [[Google Maps]] conditionally serve SVG to modern browsers and VML to Internet Explorer, for maximum compatibility. | |||
{| class="wikitable" style="text-align: center" | |||
! colspan="7" | SVG version support, by [[rendering engine]] (latest stable version) | |||
|- | |||
! colspan="2" | | |||
! [[Gecko]] | |||
! [[WebKit]] | |||
! [[KHTML]] | |||
! [[Presto]] | |||
! [[Trident]] | |||
|- | |||
! style="text-align: left" | 1.2 | |||
! style="text-align: left" | Tiny | |||
| {{no}} | |||
| {{no}} | |||
| {{no}} | |||
| Partial | |||
| {{no}} | |||
|- | |||
! style="text-align: left" rowspan="3" | 1.1 | |||
! style="text-align: left" | Full | |||
| Partial | |||
| Partial | |||
| Partial | |||
| Partial | |||
| {{no}} | |||
|- | |||
! style="text-align: left" | Basic | |||
| Partial | |||
| Partial | |||
| Partial | |||
| Partial | |||
| {{no}} | |||
|- | |||
! style="text-align: left" | Tiny | |||
| Partial | |||
| Partial | |||
| Partial | |||
| {{yes}} | |||
| {{no}} | |||
|- | |||
|} | |||
==History== | |||
In April 1998, a group of four companies - [[Adobe]], [[IBM]], [[Netscape]] and [[Sun Microsystems]] - submitted to the [[W3C]] an [[XML]]-based [[vector graphics]] markup language called [[PGML]] (Precision Graphics Markup Language).<br /> | |||
One month later another group - consisting of [[Microsoft]], [[Macromedia]], [[Hewlett Packard]], and [[Visio]] - submitted another XML-based [[markup language]] for vector graphics, called VML (Vector Markup Language). | |||
As a result of these two proposals the W3C created the SVG Working Group, chaired by [[Chris Lilley]], in order to develop an XML-based graphical markup language based on the two proposed formats.<br /> | |||
===Specification versions=== | |||
The latest version of the SVG Specification can always be found [http://www.w3.org/TR/SVG/ here]. | |||
* [http://www.w3.org/TR/SVG10/ SVG 1.0] became a [[W3C Recommendation]] on 4th September 2001. | |||
* [http://www.w3.org/TR/SVG11/ SVG 1.1] became a W3C Recommendation on 14th January 2003. | |||
* [http://www.w3.org/TR/SVG12/ SVG 1.2] is currently under development and became a [[W3C Working Draft]] on 13 April 2005. | |||
==Notes== | |||
{{Reflist}}[[Category:Suggestion Bot Tag]] |
Latest revision as of 11:00, 14 October 2024
Scalable Vector Graphics (SVG) is a modular XML-based markup language for describing static, interactive, and animated two-dimensional vector graphics.
The SVG specifications are created, developed and maintained by the W3C. SVG Version 1.1 currently has W3C Recommendation status.
Browser support for SVG
All modern web browsers except Internet Explorer currently feature native support for some form of SVG.[1]
- Gecko-based browsers such as Firefox, Camino, Netscape, and Flock have have included partial support for SVG 1.1 Full since 2005. Support was greatly enhanced in Gecko 1.9 / Firefox 3.0.[2]
- Webkit-based browsers such as Safari and Chrome have included partial support for SVG 1.1 Full since 2006.[3]
- Konqueror includes partial support for SVG 1.1 Full.[4]
- Opera 8.0 supported the SVG 1.1 Tiny specification. Opera 9.0 supported SVG 1.1 Basic and some of SVG 1.1 Full. Opera 9.5 also has partial support for SVG 1.2 Tiny.[5]
As of Version 8, Internet Explorer includes no support for SVG.[6]
Various plugins are available to add SVG support to Internet Explorer.
The most popular of these plugins is Adobe's SVG Viewer. Adobe have stated that they will discontinue support for this plugin on 1st January 2009[7], but it will remain available for download for the foreseeable future.
Other plugins include Renesis and ASV.
Internet Explorer does have native support for VML, Microsoft's own vector graphical markup language on which SVG is partly based. Some SVG-based websites such as Google Maps conditionally serve SVG to modern browsers and VML to Internet Explorer, for maximum compatibility.
SVG version support, by rendering engine (latest stable version) | ||||||
---|---|---|---|---|---|---|
Gecko | WebKit | KHTML | Presto | Trident | ||
1.2 | Tiny | No | No | No | Partial | No |
1.1 | Full | Partial | Partial | Partial | Partial | No |
Basic | Partial | Partial | Partial | Partial | No | |
Tiny | Partial | Partial | Partial | Yes | No |
History
In April 1998, a group of four companies - Adobe, IBM, Netscape and Sun Microsystems - submitted to the W3C an XML-based vector graphics markup language called PGML (Precision Graphics Markup Language).
One month later another group - consisting of Microsoft, Macromedia, Hewlett Packard, and Visio - submitted another XML-based markup language for vector graphics, called VML (Vector Markup Language).
As a result of these two proposals the W3C created the SVG Working Group, chaired by Chris Lilley, in order to develop an XML-based graphical markup language based on the two proposed formats.
Specification versions
The latest version of the SVG Specification can always be found here.
- SVG 1.0 became a W3C Recommendation on 4th September 2001.
- SVG 1.1 became a W3C Recommendation on 14th January 2003.
- SVG 1.2 is currently under development and became a W3C Working Draft on 13 April 2005.