Visit Mozilla.org

Mozilla SVG Status

From MDC

This document covers the status of Mozilla SVG in the current development version ("trunk"). If you are looking for information about Firefox 2's SVG capabilities, that information is on a separate page.

[edit] Element implementation status

A quick overview of the SVG 1.1 elements and the current status of the native support. The sections are marked with their current status: supported, in progress, and not currently supported. Most of the unimplemented portions fall into three major modules: fonts, filters, and animation.

Element Notes
Structure Module
svg
  • Implemented.
  • currentScale and currentTranslate DOM attributes are implemented, but there is no pan and zoom user interface.
  • SVGSVGElement
    • Unimplemented attributes: contentScriptType, contentStyleType, viewport, useCurrentView, currentView
    • Unimplemented bindings: pauseAnimations, unpauseAnimations, animationsPaused, getCurrentTime, setCurrentTime, getIntersectionList, getEnclosureList, checkIntersection, checkEnclosure, deselectAll, getElementById
g
  • Implemented.
defs
  • Implemented.
desc
  • Implemented.
  • Only stored in the DOM, no user interface.
title
  • Implemented.
metadata
  • Implemented.
  • Only stored in the DOM, no user interface.
symbol
  • Implemented.
use
  • Implemented.
  • Only works for internal document references (bug 269482).
  • Doesn't completely follow <svg:use> cascading rules (bug 265894).
  • Doesn't deliver events to a SVGElementInstance tree (bug 265895).
Conditional Processing Module
switch
  • Implemented.
Image Module
image
  • Implemented.
  • Only works for raster images (bug 272288).
Style Module
style
  • Implemented.
Shape Module
path
  • Implemented.
  • SVGPathElement
    • Unimplemented attributes: normalizedPathSegList, animatedPathSegList, animatedNormalizedPathSegList
rect
  • Implemented.
circle
  • Implemented.
line
  • Implemented.
ellipse
  • Implemented.
polyline
  • Implemented.
polygon
  • Implemented.
Text Module
text
  • Implemented.
  • Font face selection only tries the first item in a list of face possibilities.
  • SVGTextElement
    • Unimplemented attributes: rotate, textLength, lengthAdjust
    • Unimplemented bindings: selectSubString
tspan
  • Implemented.
  • SVGTSpanElement
    • Unimplemented attributes: rotate, textLength, lengthAdjust
    • Unimplemented bindings: selectSubString
tref
  • Not implemented.
textPath
  • Implemented.
  • Unimplemented bindings: selectSubString
altGlyph
  • Not implemented.
altGlyphDef
  • Not implemented.
altGlyphItem
  • Not implemented.
glyphRef
  • Not implemented.
Marker Module
marker
  • Implemented.
Color Profile Module
color-profile
  • Not implemented.
Gradient Module
linearGradient
  • Implemented.
radialGradient
  • Implemented.
stop
  • Implemented.
Pattern Module
pattern
  • Implemented.
Clip Module
clipPath
  • Implemented.
Mask Module
mask
  • Implemented.
Filter Module
filter
  • Implemented.
  • Of the pseudo-inputs, only SourceGraphic and SourceAlpha are implemented.
  • Use of an unimplemented pseudo-input or filter element will cause the filter to be ignored and the referring graphic to be drawn without any filter.
feBlend
  • Implemented.
feColorMatrix
  • Implemented.
feComponentTransfer
  • Implemented.
feComposite
  • Implemented.
feConvolveMatrix
  • Implemented.
feDiffuseLighting
  • Implemented.
feDisplacementMap
feFlood
  • Implemented.
feGaussianBlur
  • Implemented.
feImage
feMerge
  • Implemented.
feMergeNode
  • Implemented.
feMorphology
  • Implemented.
feOffset
  • Implemented.
feSpecularLighting
  • Implemented.
feTile
  • Implemented.
feTurbulence
  • Implemented.
feDistantLight
  • Implemented.
fePointLight
  • Implemented.
feSpotLight
  • Implemented.
feFuncR
  • Implemented.
feFuncG
  • Implemented.
feFuncB
  • Implemented.
feFuncA
  • Implemented.
Cursor Module
cursor
  • Not implemented.
Hyperlinking Module
a
  • Only xlink:href and xlink:show attributes implemented.
View Module
view
  • Not implemented.
Scripting Module
script
  • Implemented.
Animation Module
animate
set
  • Not implemented.
animateMotion
  • Not implemented.
animateTransform
animateColor
  • Not implemented.
mpath
  • Not implemented.
Font Module
font
font-face
glyph
missing-glyph
  • Not implemented.
hkern
  • Not implemented.
vkern
  • Not implemented.
font-face-src
  • Not implemented.
font-face-uri
  • Not implemented.
font-face-format
  • Not implemented.
font-face-name
  • Not implemented.
definition-src
  • Not implemented.
Extensibility Module
foreignObject
  • Implemented.

[edit] Other Implementation Notes

onload event does not respect externalResourcesRequired attribute (bug 277955).

[edit] Original Document Information

  • Author(s): Tim Rowley
  • Other Contributors: Jonathan Watt, Steffen Wilberg
  • Last Updated Date: July 31, 2007
  • Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | Details.