You can find some basic examples of SVG syntax and usage in the W3C SVG test suite.
Note: As of Gecko 2.0, Gecko supports SVG animation using SMIL. See SVG animation with SMIL for a brief overview. Full documentation for SVG is forthcoming. Someday.
There is also a description of the Mozilla support of the changes in SVG 2.
Element implementation status
A quick overview of the SVG 1.1 elements and the current status of the native support.
| Element | Notes |
|---|---|
| Structure Module | |
| svg |
|
| g |
|
| defs |
|
| desc |
|
| title |
|
| metadata |
|
| symbol |
|
| use |
|
| Conditional Processing Module | |
| switch |
|
| Image Module | |
| image |
|
| Style Module | |
| style |
|
| Shape Module | |
| path |
|
| rect |
|
| circle |
|
| line |
|
| ellipse |
|
| polyline |
|
| polygon |
|
| Text Module | |
| text |
|
| tspan |
|
| tref |
|
| textPath |
|
| altGlyph |
|
| altGlyphDef |
|
| altGlyphItem |
|
| glyphRef |
|
| Marker Module | |
| marker |
|
| Color Profile Module | |
| color-profile |
|
| Gradient Module | |
| linearGradient |
|
| radialGradient |
|
| stop |
|
| Pattern Module | |
| pattern |
|
| Clip Module | |
| clipPath |
|
| Mask Module | |
| mask |
|
| Filter Module | |
| filter |
|
| feBlend |
|
| feColorMatrix |
|
| feComponentTransfer |
|
| feComposite |
|
| feConvolveMatrix |
|
| feDiffuseLighting |
|
| feDisplacementMap |
|
| feFlood |
|
| feGaussianBlur |
|
| feImage |
|
| feMerge |
|
| feMergeNode |
|
| feMorphology |
|
| feOffset |
|
| feSpecularLighting |
|
| feTile |
|
| feTurbulence |
|
| feDistantLight |
|
| fePointLight |
|
| feSpotLight |
|
| feFuncR |
|
| feFuncG |
|
| feFuncB |
|
| feFuncA |
|
| Cursor Module | |
| cursor |
|
| Hyperlinking Module | |
| a |
|
| View Module | |
| view |
|
| Scripting Module | |
| script |
|
| Animation Module | |
| animate |
|
| set |
|
| animateMotion |
|
| animateTransform |
|
| animateColor |
|
| mpath |
|
| Font Module | |
| font |
|
| font-face |
|
| glyph |
|
| missing-glyph |
|
| hkern |
|
| vkern |
|
| font-face-src |
|
| font-face-uri |
|
| font-face-format |
|
| font-face-name |
|
| definition-src |
|
| Extensibility Module | |
| foreignObject |
|
Document Tags and Contributors
Tags:
Contributors to this page:
Sebastianz,
Longsonr,
teoli,
kscarfone,
ethertank,
Dholbert,
trevorh,
Sheppy,
fscholz,
Taken,
Arsen7,
Soupdragon,
Jürgen Jeka,
Drew LeSueur,
charlesreilly,
Jonathan_Watt,
Mvent2,
Mgalli,
MarkFinkle,
Nightstrike,
MarcDiethelm,
Jeff Schiller,
Pmsyyz,
Gepstein6,
Nickolay,
Mgjbot,
Okome,
Ptak82,
Tor,
Callek,
Koznak,
BenoitL,
Takenbot,
Dria,
Gavindoughtie,
Bzbarsky
Last updated by:
Sebastianz,