apache > xml > graphics
Apache Batik
 

Batik implementation status

This page details information about Batik’s implementation of the SVG 1.1 and related specifications. The features of the implementation are annotated with their level of support, which can be at one of three levels:

Not supported

If a feature is not supported, this means that Batik performs no useful processing for it. This feature could be silently ignored or an exception might be thrown when trying to use it.

Partially supported

If a feature is partially suppored, this means that Batik performs some processing for it, but there are known bugs with this processing.

Fully supported

If a feature is fully supported, this means that Batik performs the correct processing for it, as detailed in the relevant specification.

Note that the information on this page is based on the code in the Subversion repository trunk.

Elements, attributes and properties

The table below lists the SVG elements and the attributes and properties on them that are supported by Batik. For an element to be fully supported, its attributes and the properties that apply to it must also be fully supported. If an attribute of the element or a property that applies to the element is only partially supported or is not supported, the element can be at most partially supported. An element is not supported if it is not processed by Batik, even if some of its attributes are supported (such as the core attributes id or xml:base).

Note that all presentation attributes are supported on all stylable elements. These attributes are not listed in the table. Only those properties that apply to a given element are listed.

svg:a
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
targetnoWhile target is not supported, new windows can be opened with xlink:show="new".
transformyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefpartialURI references to animation elements will not trigger the animation when the link is activated.
xlink:roleyes[1]
xlink:showyes
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
displayyes
enable-backgroundyes
filteryes
maskyes
opacityyes
svg:altGlyph
Attributes
classyes
dxyes
dyyes
externalResourcesRequiredno
formatno
glyphRefno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
rotateyes
styleyes
systemLanguageyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
alignment-baselineno
baseline-shiftyes
coloryes
directionyes
displayyes
dominant-baselineno
fillyes
fill-opacityyes
fill-ruleyes
fontyes
font-familyyes
font-sizeyes
font-size-adjustno
font-stretchno
font-styleyes
font-variantno
font-weightyes
glyph-orientation-horizontalyes
glyph-orientation-verticalyes
kerningyes
letter-spacingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
text-anchoryes
text-decorationyes
unicode-bidiyes
visibilityyes
word-spacingyes
svg:altGlyphDef
Attributes
idyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:altGlyphItem
Attributes
idyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:animate
Attributes
accumulateyes
additiveyes
attributeNameyes
attributeTypeyes
beginyes
byyes
calcModeyes
duryes
endyes
externalResourcesRequiredno
fillyes
fromyes
idyes
keySplinesyes
keyTimesyes
maxyes
minyes
onbeginyes
onendyes
onloadyes
onrepeatyes
repeatCountyes
repeatDuryes
requiredExtensionsno
requiredFeaturesno
restartyes
systemLanguageno
toyes
valuesyes
svg:animateColor
Attributes
accumulateyes
additiveyes
attributeNameyes
attributeTypeyes
beginyes
byyes
calcModeyes
duryes
endyes
externalResourcesRequiredno
fillyes
fromyes
idyes
keySplinesyes
keyTimesyes
maxyes
minyes
onbeginyes
onendyes
onloadyes
onrepeatyes
repeatCountyes
repeatDuryes
requiredExtensionsno
requiredFeaturesno
restartyes
systemLanguageno
toyes
valuesyes
Properties
color-interpolationyes
color-renderingyes
svg:animateMotion
Attributes
accumulateyes
additiveyes
attributeNameyes
attributeTypeyes
beginyes
byyes
calcModeyes
duryes
endyes
externalResourcesRequiredno
fillyes
fromyes
idyes
keyPointsyes
keySplinesyes
keyTimesyes
maxyes
minyes
onbeginyes
onendyes
onloadyes
onrepeatyes
originyes
pathyes
repeatCountyes
repeatDuryes
requiredExtensionsno
requiredFeaturesno
restartyes
rotateyes
systemLanguageno
toyes
valuesyes
svg:animateTransform
Attributes
accumulateyes
additiveyes
attributeNameyes
attributeTypeyes
beginyes
byyes
calcModeyes
duryes
endyes
externalResourcesRequiredno
fillyes
fromyes
idyes
keySplinesyes
keyTimesyes
maxyes
minyes
onbeginyes
onendyes
onloadyes
onrepeatyes
repeatCountyes
repeatDuryes
requiredExtensionsno
requiredFeaturesno
restartyes
systemLanguageno
toyes
typeyes
valuesyes
svg:circle
Attributes
classyes
cxyes
cyyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
ryes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
fillyes
fill-opacityyes
fill-ruleyes
filteryes
maskyes
opacityyes
pointer-eventsyes
shape-renderingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
visibilityyes
svg:clipPath
Attributes
classyes
clipPathUnitsyes
externalResourcesRequiredno
idyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
enable-backgroundno
filteryes
maskyes
opacityyes
svg:color-profile
Attributes
idyes
localno
nameyes
rendering-intentyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:cursor
Attributes
externalResourcesRequiredno
idyes
requiredExtensionsyes
requiredFeaturesyes
systemLanguageyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:definition-src
Attributes
idyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefno
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:defs
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
enable-backgroundno
filteryes
maskyes
opacityyes
svg:desc
Attributes
classyes
idyes
styleyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:ellipse
Attributes
classyes
cxyes
cyyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
rxyes
ryyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
fillyes
fill-opacityyes
fill-ruleyes
filteryes
maskyes
opacityyes
pointer-eventsyes
shape-renderingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
visibilityyes
svg:feBlend
Attributes
heightyes
idyes
inyes
in2yes
modeyes
resultyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feColorMatrix
Attributes
heightyes
idyes
inyes
resultyes
typeyes
valuesyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feComponentTransfer
Attributes
heightyes
idyes
inyes
resultyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feComposite
Attributes
heightyes
idyes
inyes
in2yes
k1yes
k2yes
k3yes
k4yes
operatoryes
resultyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feConvolveMatrix
Attributes
biasyes
divisoryes
edgeModeyes
heightyes
idyes
inyes
kernelMatrixyes
kernelUnitLengthyes
orderyes
preserveAlphayes
resultyes
targetXyes
targetYyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feDiffuseLighting
Attributes
classyes
diffuseConstantyes
heightyes
idyes
inyes
kernelUnitLengthno
resultyes
styleyes
surfaceScaleyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
coloryes
color-interpolation-filtersyes
lighting-coloryes
svg:feDisplacementMap
Attributes
heightyes
idyes
inyes
in2yes
resultyes
scaleyes
widthyes
xyes
xChannelSelectoryes
yyes
yChannelSelectoryes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feDistantLight
Attributes
azimuthyes
elevationyes
idyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feFlood
Attributes
classyes
heightyes
idyes
inyes
resultyes
styleyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
coloryes
color-interpolation-filtersyes
flood-coloryes
flood-opacityyes
svg:feFuncA
Attributes
amplitudeyes
exponentyes
idyes
interceptyes
offsetyes
slopeyes
tableValuesyes
typeyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feFuncB
Attributes
amplitudeyes
exponentyes
idyes
interceptyes
offsetyes
slopeyes
tableValuesyes
typeyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feFuncG
Attributes
amplitudeyes
exponentyes
idyes
interceptyes
offsetyes
slopeyes
tableValuesyes
typeyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feFuncR
Attributes
amplitudeyes
exponentyes
idyes
interceptyes
offsetyes
slopeyes
tableValuesyes
typeyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feGaussianBlur
Attributes
heightyes
idyes
inyes
resultyes
stdDeviationyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feImage
Attributes
classyes
externalResourcesRequiredno
heightyes
idyes
preserveAspectRationo
resultyes
styleyes
widthyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clipno
clip-pathyes
clip-ruleyes
color-interpolationyes
color-interpolation-filtersyes
color-profileyes
color-renderingyes
cursoryes
filteryes
image-renderingyes
maskyes
opacityyes
overflowyes
pointer-eventsyes
visibilityyes
svg:feMerge
Attributes
heightyes
idyes
resultyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feMergeNode
Attributes
idyes
inyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feMorphology
Attributes
heightyes
idyes
inyes
operatoryes
radiusyes
resultyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feOffset
Attributes
dxyes
dyyes
heightyes
idyes
inyes
resultyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:fePointLight
Attributes
idyes
xyes
yyes
zyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feSpecularLighting
Attributes
classyes
heightyes
idyes
inyes
kernelUnitLengthyes
resultyes
specularConstantyes
specularExponentyes
styleyes
surfaceScaleyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
coloryes
color-interpolation-filtersyes
lighting-coloryes
svg:feSpotLight
Attributes
idyes
limitingConeAngleyes
pointsAtXyes
pointsAtYyes
pointsAtZyes
specularExponentyes
xyes
yyes
zyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:feTile
Attributes
heightyes
idyes
inyes
resultyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:feTurbulence
Attributes
baseFrequencyyes
heightyes
idyes
numOctavesyes
resultyes
seedyes
stitchTilesyes
typeyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
color-interpolation-filtersyes
svg:filter
Attributes
classyes
externalResourcesRequiredno
filterResyes
filterUnitsyes
heightyes
idyes
primitiveUnitsyes
styleyes
widthyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:font
Attributes
classyes
externalResourcesRequiredno
horiz-adv-xyes
horiz-origin-xyes
horiz-origin-yyes
idyes
styleyes
vert-adv-yyes
vert-origin-xyes
vert-origin-yyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:font-face
Attributes
accent-heightno
alphabeticno
ascentyes
bboxno
cap-heightno
descentyes
font-familyyes
font-sizeno
font-stretchno
font-styleyes
font-variantno
font-weightyes
hangingno
idyes
ideographicno
mathematicalno
overline-positionyes
overline-thicknessyes
panose-1yes
slopeyes
stemhno
stemvno
strikethrough-positionyes
strikethrough-thicknessyes
underline-positionyes
underline-thicknessyes
unicode-rangeno
units-per-emyes
v-alphabeticno
v-hangingno
v-ideographicno
v-mathematicalno
widthsno
x-heightno
xml:baseyes
xml:langyes
xml:spaceyes
svg:font-face-format
Attributes
idyes
stringno
xml:baseyes
xml:langyes
xml:spaceyes
svg:font-face-name
Attributes
idyes
nameyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:font-face-src
Attributes
idyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:font-face-uri
Attributes
idyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:foreignObject
Attributes
classno
heightno
idyes
onactivateno
onclickno
onfocusinno
onfocusoutno
onloadno
onmousedownno
onmousemoveno
onmouseoutno
onmouseoverno
onmouseupno
requiredExtensionsno
requiredFeaturesno
styleno
systemLanguageno
transformno
widthno
xno
yno
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clipno
displayno
overflowno
svg:g
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
displayyes
enable-backgroundyes
filteryes
maskyes
opacityyes
svg:glyph
Attributes
arabic-formyes
classyes
dyes
glyph-nameyes
horiz-adv-xyes
idyes
langyes
orientationyes
styleyes
unicodeyes
vert-adv-yyes
vert-origin-xyes
vert-origin-yyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:glyphRef
Attributes
classyes
dxno
dyno
font-familyno[2]
font-sizeno[2]
font-size-adjustno[2]
font-stretchno[2]
font-styleno[2]
font-variantno[2]
font-weightno[2]
formatno
glyphRefno
idyes
styleyes
xno
yno
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:hkern
Attributes
g1yes
g2yes
idyes
kyes
u1yes
u2yes
xml:baseyes
xml:langyes
xml:spaceyes
svg:image
Attributes
classyes
externalResourcesRequiredno
heightyes
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
preserveAspectRatioyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
widthyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clipno
clip-pathyes
clip-ruleyes
color-interpolationyes
color-profileyes
color-renderingyes
cursoryes
filteryes
image-renderingyes
maskyes
opacityyes
overflowyes
pointer-eventsyes
visibilityyes
svg:line
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
x1yes
x2yes
y1yes
y2yes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
fillyes
fill-opacityyes
fill-ruleyes
filteryes
markeryes
marker-endyes
marker-midyes
marker-startyes
maskyes
opacityyes
pointer-eventsyes
shape-renderingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
visibilityyes
svg:linearGradient
Attributes
classyes
coloryes
color-interpolationyes
color-renderingyes
externalResourcesRequiredno
gradientTransformyes
gradientUnitsyes
idyes
spreadMethodyes
stop-coloryes
stop-opacityyes
styleyes
x1yes
x2yes
y1yes
y2yes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:marker
Attributes
classyes
externalResourcesRequiredno
idyes
markerHeightyes
markerUnitsyes
markerWidthyes
orientyes
preserveAspectRatioyes
refXyes
refYyes
styleyes
viewBoxyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
enable-backgroundno
filteryes
maskyes
opacityyes
svg:mask
Attributes
classyes
externalResourcesRequiredno
heightyes
idyes
maskContentUnitsyes
maskUnitsyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
enable-backgroundno
filteryes
maskyes
opacityyes
svg:metadata
Attributes
idyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:missing-glyph
Attributes
classyes
dyes
horiz-adv-xyes
idyes
styleyes
vert-adv-yyes
vert-origin-xyes
vert-origin-yyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:mpath
Attributes
externalResourcesRequiredno
idyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:path
Attributes
classyes
dyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
pathLengthnoAuthor specified path length is ignored.
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
fillyes
fill-opacityyes
fill-ruleyes
filteryes
markeryes
marker-endyes
marker-midyes
marker-startyes
maskyes
opacityyes
pointer-eventsyes
shape-renderingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
visibilityyes
svg:pattern
Attributes
classyes
externalResourcesRequiredno
heightyes
idyes
patternContentUnitsyes
patternTransformyes
patternUnitsyes
preserveAspectRatioyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
viewBoxyes
widthyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
enable-backgroundno
filteryes
maskyes
opacityyes
svg:polygon
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
pointsyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
fillyes
fill-opacityyes
fill-ruleyes
filteryes
markeryes
marker-endyes
marker-midyes
marker-startyes
maskyes
opacityyes
pointer-eventsyes
shape-renderingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
visibilityyes
svg:polyline
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
pointsyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
fillyes
fill-opacityyes
fill-ruleyes
filteryes
markeryes
marker-endyes
marker-midyes
marker-startyes
maskyes
opacityyes
pointer-eventsyes
shape-renderingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
visibilityyes
svg:radialGradient
Attributes
classyes
cxyes
cyyes
externalResourcesRequiredno
fxyes
fyyes
gradientTransformyes
gradientUnitsyes
idyes
ryes
spreadMethodyes
styleyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:rect
Attributes
classyes
externalResourcesRequiredno
heightyes
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
rxyes
ryyes
styleyes
systemLanguageyes
transformyes
widthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
fillyes
fill-opacityyes
fill-ruleyes
filteryes
maskyes
opacityyes
pointer-eventsyes
shape-renderingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
visibilityyes
svg:script
Attributes
externalResourcesRequiredno
idyes
typeyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
svg:set
Attributes
attributeNameyes
attributeTypeyes
beginyes
duryes
endyes
externalResourcesRequiredno
fillyes
fromyes
idyes
maxyes
minyes
onbeginyes
onendyes
onloadyes
onrepeatyes
repeatCountyes
repeatDuryes
requiredExtensionsno
requiredFeaturesno
restartyes
systemLanguageno
xml:baseyes
xml:langyes
xml:spaceyes
svg:stop
Attributes
classyes
idyes
offsetyes
styleyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
coloryes
stop-coloryes
stop-opacityyes
svg:style
The :hover, :link, :visited, :active and :focus pseudo-classes are not supported in selectors.
Attributes
idyes
mediayes
titleyes
typeyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:svg
Attributes
baseProfileno
classyes
contentScriptTypeyes
contentStyleTypenotext/css is always the default style type.
externalResourcesRequiredno
heightyes
idyes
onabortyes
onclickyes
onerroryesThe event listener is added, but the error event is never fired by the implementation.
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
onresizeyes
onscrollyes
onunloadyes
onzoomyes
preserveAspectRatioyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
versionyes
viewBoxpartialAttribute not animatable.
widthyes
xyes
yyes
zoomAndPanyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clipno
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
displayyes
enable-backgroundyes
filteryes
maskyes
opacityyes
overflowyes
svg:switch
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
displayyes
enable-backgroundno
filteryes
maskyes
opacityyes
svg:symbol
Attributes
classyes
externalResourcesRequiredno
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
preserveAspectRatioyes
styleyes
viewBoxyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clipno
clip-pathyes
color-interpolationyes
color-renderingyes
cursoryes
enable-backgroundno
filteryes
maskyes
opacityyes
overflowyes
svg:text
Attributes
classyes
dxyes
dyyes
externalResourcesRequiredno
idyes
lengthAdjustyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
rotateyes
styleyes
systemLanguageyes
textLengthyes
transformyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
coloryes
color-interpolationyes
color-renderingyes
cursoryes
directionyes
displayyes
dominant-baselineno
fillyes
fill-opacityyes
fill-ruleyes
filteryes
fontyes
font-familyyes
font-sizeyes
font-size-adjustno
font-stretchno
font-styleyes
font-variantno
font-weightyes
glyph-orientation-horizontalyes
glyph-orientation-verticalyes
kerningyes
letter-spacingyes
maskyes
opacityyes
pointer-eventsyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
text-anchoryes
text-decorationyes
text-renderingyes
unicode-bidiyes
visibilityyes
word-spacingyes
writing-modeyes
svg:textPath
Attributes
classyes
externalResourcesRequiredno
idyes
lengthAdjustyes
methodnoalign is always used.
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
spacingnoexact is always used.
startOffsetyes
styleyes
systemLanguageyes
textLengthyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
alignment-baselineno
baseline-shiftyes
coloryes
directionyes
displayyes
dominant-baselineno
fillyes
fill-opacityyes
fill-ruleyes
fontyes
font-familyyes
font-sizeyes
font-size-adjustno
font-stretchno
font-styleyes
font-variantno
font-weightyes
glyph-orientation-horizontalyes
glyph-orientation-verticalyes
kerningyes
letter-spacingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
text-anchoryes
text-decorationyes
unicode-bidiyes
visibilityyes
word-spacingyes
svg:title
Attributes
classyes
idyes
styleyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:tref
Attributes
classyes
dxyes
dyyes
externalResourcesRequiredno
idyes
lengthAdjustyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
rotateyes
styleyes
systemLanguageyes
textLengthyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
alignment-baselineno
baseline-shiftyes
coloryes
directionyes
displayyes
dominant-baselineno
fillyes
fill-opacityyes
fill-ruleyes
fontyes
font-familyyes
font-sizeyes
font-size-adjustno
font-stretchno
font-styleyes
font-variantno
font-weightyes
glyph-orientation-horizontalyes
glyph-orientation-verticalyes
kerningyes
letter-spacingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
text-anchoryes
text-decorationyes
unicode-bidiyes
visibilityyes
word-spacingyes
svg:tspan
Attributes
classyes
dxyes
dyyes
externalResourcesRequiredno
idyes
lengthAdjustyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
rotateyes
styleyes
systemLanguageyes
textLengthyes
xyes
yyes
xml:baseyes
xml:langyes
xml:spaceyes
Properties
alignment-baselineno
baseline-shiftyes
coloryes
directionyes
displayyes
dominant-baselineno
fillyes
fill-opacityyes
fill-ruleyes
fontyes
font-familyyes
font-sizeyes
font-size-adjustno
font-stretchno
font-styleyes
font-variantno
font-weightyes
glyph-orientation-horizontalyes
glyph-orientation-verticalyes
kerningyes
letter-spacingyes
strokeyes
stroke-dasharrayyes
stroke-dashoffsetyes
stroke-linecapyes
stroke-linejoinyes
stroke-miterlimityes
stroke-opacityyes
stroke-widthyes
text-anchoryes
text-decorationyes
unicode-bidiyes
visibilityyes
word-spacingyes
svg:use
Attributes
classyes
externalResourcesRequiredno
heightyes
idyes
onclickyes
onfocusinyes
onfocusoutyes
onloadyes
onmousedownyes
onmousemoveyes
onmouseoutyes
onmouseoveryes
onmouseupyes
requiredExtensionsyes
requiredFeaturesyes
styleyes
systemLanguageyes
transformyes
widthyes
xyes
yyes
xlink:actuateyes[1]
xlink:arcroleyes[1]
xlink:hrefyes
xlink:roleyes[1]
xlink:showyes[1]
xlink:titleyes[1]
xlink:typeyes[1]
xml:baseyes
xml:langyes
xml:spaceyes
Properties
clip-pathyes
clip-ruleyes
color-interpolationyes
color-renderingyes
cursoryes
filteryes
maskyes
opacityyes
pointer-eventsyes
visibilityyes
svg:view
Attributes
externalResourcesRequiredno
idyes
preserveAspectRatioyes
viewBoxyes
viewTargetnoNo highlighting is performed.
zoomAndPanyes
xml:baseyes
xml:langyes
xml:spaceyes
svg:vkern
Attributes
g1yes
g2yes
idyes
kyes
u1yes
u2yes
xml:baseyes
xml:langyes
xml:spaceyes

Notes:

  1. Values for the XLink attributes other than xlink:href that are not those required by SVG are ignored. For example, setting xlink:title="Something" or xlink:actuate="other" has no effect.

  2. glyphRef elements can reference glyphs only by URI, not by font properties.

DOM interfaces

The table below lists the SVG DOM interfaces that are supported by Batik. For each interface, the name of each IDL attribute and operation introduced on the interface is given, along with its level of support. For cases where the implementation of an attribute or operation introduced in a superinterface may differ depending on which subinterface has inherited it, this is noted next to that attribute or operation. Both the ECMAScript and Java bindings have the same implementation level as specified for the IDL interfaces in the table.

GetSVGDocument
Operations
getSVGDocumentnoNo objects implement this interface.
SVGAElement
Attributes
targetyes
SVGAltGlyphDefElement
SVGAltGlyphElement
Attributes
formatyes
glyphRefyes
SVGAltGlyphItemElement
SVGAngle
Attributes
unitTypeyes
valueyes
valueAsStringyes
valueInSpecifiedUnitsyes
Operations
newValueSpecifiedUnitsyes
convertToSpecifiedUnitsyes
SVGAnimateColorElement
SVGAnimatedAngle
Attributes
animValyes
baseValyes
SVGAnimatedBoolean
Attributes
animValyes
baseValyes
SVGAnimatedEnumeration
Attributes
animValyes
baseValyes
SVGAnimatedInteger
Attributes
animValyes
baseValyes
SVGAnimatedLength
Attributes
animValyes
baseValyes
SVGAnimatedLengthList
Attributes
animValyes
baseValyes
SVGAnimatedNumber
Attributes
animValyes
baseValyes
SVGAnimatedNumberList
Attributes
animValyes
baseValyes
SVGAnimatedPathData
Attributes
animatedNormalizedPathSegListno
animatedPathSegListyes
normalizedPathSegListyes
pathSegListyes
SVGAnimatedPoints
Attributes
animatedPointsyes
pointsyes
SVGAnimatedPreserveAspectRatio
Attributes
animValyes
baseValyes
SVGAnimatedRect
Attributes
animValyes
baseValyes
SVGAnimatedString
Attributes
animValyes
baseValyes
SVGAnimatedTransformList
Attributes
animValyes
baseValyes
SVGAnimateElement
SVGAnimateMotionElement
SVGAnimateTransformElement
SVGAnimationElement
Attributes
targetElementyes
Operations
getStartTimeyes
getCurrentTimeyes
getSimpleDurationyes
SVGCircleElement
Attributes
cxyes
cyyes
ryes
SVGClipPathElement
Attributes
clipPathUnitsyes
SVGColor
Attributes
colorTypeyes
iccColoryes
rgbColoryes
Operations
setRGBColoryes
setRGBColorICCColoryes
setColoryes
SVGColorProfileElement
Attributes
localyes
nameyes
renderingIntentyes
SVGColorProfileRule
Attributes
nameno
renderingIntentno
srcno
SVGComponentTransferFunctionElement
Attributes
amplitudeyes
exponentyes
interceptyes
offsetyes
slopeyes
tableValuesno
typeyes
SVGCSSRule
SVGCursorElement
Attributes
xyes
yyes
SVGDefinitionSrcElement
SVGDefinitionSrcElement
SVGDefsElement
SVGDescElement
SVGDocument
Attributes
domainyes
referreryes
rootElementyes
titleyes
URLyes
SVGElement
Attributes
idyes
ownerSVGElementyes
viewportElementyes
xmlbaseyes
SVGElementInstance
Attributes
childNodesno
correspondingElementno
correspondingUseElementno
firstChildno
lastChildno
nextSiblingno
parentNodeno
previousSiblingno
SVGElementInstanceList
Attributes
lengthno
Operations
itemno
SVGEllipseElement
Attributes
cxyes
cyyes
rxyes
ryyes
SVGEvent
SVGExternalResourcesRequired
Attributes
externalResourcesRequiredyes
SVGFEBlendElement
Attributes
in1yes
in2yes
modeyes
SVGFEColorMatrixElement
Attributes
in1yes
typeyes
valuesno
SVGFEComponentTransferElement
Attributes
in1yes
SVGFECompositeElement
Attributes
in1yes
in2yes
k1yes
k2yes
k3yes
k4yes
operatoryes
SVGFEConvolveMatrixElement
Attributes
biasyes
divisorno
edgeModeyes
kernelMatrixno
kernelUnitLengthXno
kernelUnitLengthYno
orderXno
orderYno
preserveAlphayes
targetXno
targetYno
SVGFEDiffuseLightingElement
Attributes
diffuseConstantyes
in1yes
kernelUnitLengthXyes
kernelUnitLengthYyes
surfaceScaleyes
SVGFEDisplacementMapElement
Attributes
in1yes
in2yes
scaleyes
xChannelSelectoryes
yChannelSelectoryes
SVGFEDistantLightElement
Attributes
azimuthyes
elevationyes
SVGFEFloodElement
Attributes
in1yes
SVGFEFuncAElement
SVGFEFuncBElement
SVGFEFuncGElement
SVGFEFuncRElement
SVGFEGaussianBlurElement
Attributes
in1yes
stdDeviationXno
stdDeviationYno
Operations
setStdDeviationyes
SVGFEImageElement
Attributes
preserveAspectRationo
SVGFEMergeElement
SVGFEMergeNodeElement
Attributes
in1yes
SVGFEMorphologyElement
Attributes
in1yes
operatoryes
radiusXno
radiusYno
SVGFEOffsetElement
Attributes
dxyes
dyyes
in1yes
SVGFEPointLightElement
Attributes
xyes
yyes
zyes
SVGFESpecularLightingElement
Attributes
in1yes
specularConstantyes
specularExponentyes
surfaceScaleyes
SVGFESpotLightElement
Attributes
limitingConeAngleyes
pointsAtXyes
pointsAtYyes
pointsAtZyes
specularExponentyes
xyes
yyes
zyes
SVGFETileElement
Attributes
in1yes
SVGFETurbulenceElement
Attributes
baseFrequencyXno
baseFrequencyYno
numOctavesyes
seedyes
stitchTilesyes
typeyes
SVGFilterElement
Attributes
filterResXno
filterResYno
filterUnitsyes
heightyes
primitiveUnitsyes
widthyes
xyes
yyes
Operations
setFilterResno
SVGFilterPrimitiveStandardAttributes
Attributes
heightyes
resultyes
widthyes
xyes
yyes
SVGFitToViewBox
Attributes
preserveAspectRatioyes
viewBoxpartialImplemented for <svg> elements.
SVGFontElement
SVGFontFaceElement
SVGFontFaceFormatElement
SVGFontFaceNameElement
SVGFontFaceSrcElement
SVGFontFaceUriElement
SVGForeignObjectElement
Attributes
heightyes
widthyes
xyes
yyes
SVGGElement
SVGGlyphElement
SVGGlyphRefElement
Attributes
dxyes
dyyes
formatyes
glyphRefyes
xyes
yyes
SVGGradientElement
Attributes
gradientTransformyes
gradientUnitsyes
spreadMethodyes
SVGHKernElement
SVGICCColor
Attributes
colorProfileyes
colorsyes
SVGImageElement
Attributes
heightyes
preserveAspectRatioyes
widthyes
xyes
yyes
SVGLangSpace
Attributes
xmllangyes
xmlspaceyes
SVGLength
Attributes
unitTypeyes
valueyes
valueAsStringyes
valueInSpecifiedUnitsyes
Operations
newValueSpecifiedUnitsyes
convertToSpecifiedUnitsyes
SVGLengthList
Attributes
numberOfItemsyes
Operations
clearyes
initializeyes
getItemyes
insertItemBeforeyes
replaceItemyes
removeItemyes
appendItemyes
SVGLinearGradientElement
Attributes
x1yes
x2yes
y1yes
y2yes
SVGLineElement
Attributes
x1yes
x2yes
y1yes
y2yes
SVGLocatable
Attributes
farthestViewportElementyes
nearestViewportElementyes
Operations
getBBoxyes
getCTMyes
getScreenCTMyes
getTransformToElementyes
SVGMarkerElement
Attributes
markerHeightyes
markerUnitsyes
markerWidthyes
orientAngleyes
orientTypeyes
refXyes
refYyes
Operations
setOrientToAutoyes
setOrientToAngleyes
SVGMaskElement
Attributes
heightyes
maskContentUnitsyes
maskUnitsyes
widthyes
xyes
yyes
SVGMatrix
Attributes
ayes
byes
cyes
dyes
eyes
fyes
Operations
multiplyyes
inverseyes
translateyes
scaleyes
scaleNonUniformyes
rotateyes
rotateFromVectoryes
flipXyes
flipYyes
skewXyes
skewYyes
SVGMetadataElement
SVGMissingGlyphElement
SVGMPathElement
SVGNumber
Attributes
valueyes
SVGNumberList
Attributes
numberOfItemsyes
Operations
clearyes
initializeyes
getItemyes
insertItemBeforeyes
replaceItemyes
removeItemyes
appendItemyes
SVGPaint
Attributes
paintTypeyes
uriyes
Operations
setUriyes
setPaintyes
SVGPathElement
Attributes
pathLengthno
Operations
getTotalLengthyes
getPointAtLengthyes
getPathSegAtLengthyes
createSVGPathSegClosePathyes
createSVGPathSegMovetoAbsyes
createSVGPathSegMovetoRelyes
createSVGPathSegLinetoAbsyes
createSVGPathSegLinetoRelyes
createSVGPathSegCurvetoCubicAbsyes
createSVGPathSegCurvetoCubicRelyes
createSVGPathSegCurvetoQuadraticAbsyes
createSVGPathSegCurvetoQuadraticRelyes
createSVGPathSegArcAbsyes
createSVGPathSegArcRelyes
createSVGPathSegLinetoHorizontalAbsyes
createSVGPathSegLinetoHorizontalRelyes
createSVGPathSegLinetoVerticalAbsyes
createSVGPathSegLinetoVerticalRelyes
createSVGPathSegCurvetoCubicSmoothAbsyes
createSVGPathSegCurvetoCubicSmoothRelyes
createSVGPathSegCurvetoQuadraticSmoothAbsyes
createSVGPathSegCurvetoQuadraticSmoothRelyes
SVGPathSeg
Attributes
pathSegTypeyes
pathSegTypeAsLetteryes
SVGPathSegArcAbs
Attributes
angleyes
largeArcFlagyes
r1yes
r2yes
sweepFlagyes
xyes
yyes
SVGPathSegArcRel
Attributes
angleyes
largeArcFlagyes
r1yes
r2yes
sweepFlagyes
xyes
yyes
SVGPathSegClosePath
SVGPathSegCurvetoCubicAbs
Attributes
xyes
x1yes
x2yes
yyes
y1yes
y2yes
SVGPathSegCurvetoCubicRel
Attributes
xyes
x1yes
x2yes
yyes
y1yes
y2yes
SVGPathSegCurvetoCubicSmoothAbs
Attributes
xyes
x2yes
yyes
y2yes
SVGPathSegCurvetoCubicSmoothRel
Attributes
xyes
x2yes
yyes
y2yes
SVGPathSegCurvetoQuadraticAbs
Attributes
xyes
x1yes
yyes
y1yes
SVGPathSegCurvetoQuadraticRel
Attributes
xyes
x1yes
yyes
y1yes
SVGPathSegCurvetoQuadraticSmoothAbs
Attributes
xyes
yyes
SVGPathSegCurvetoQuadraticSmoothRel
Attributes
xyes
yyes
SVGPathSegLinetoAbs
Attributes
xyes
yyes
SVGPathSegLinetoHorizontalAbs
Attributes
xyes
SVGPathSegLinetoHorizontalRel
Attributes
xyes
SVGPathSegLinetoRel
Attributes
xyes
yyes
SVGPathSegLinetoVerticalAbs
Attributes
yyes
SVGPathSegLinetoVerticalRel
Attributes
yyes
SVGPathSegList
Attributes
numberOfItemsyes
Operations
clearyes
initializeyes
getItemyes
insertItemBeforeyes
replaceItemyes
removeItemyes
appendItemyes
SVGPathSegMovetoAbs
Attributes
xyes
yyes
SVGPathSegMovetoRel
Attributes
xyes
yyes
SVGPatternElement
Attributes
heightyes
patternContentUnitsyes
patternTransformno
patternUnitsyes
widthyes
xyes
yyes
SVGPoint
Attributes
xyes
yyes
Operations
matrixTransformpartialNot implemented for any SVGPoint in an SVGPointList.
SVGPointList
Attributes
numberOfItemsyes
Operations
clearyes
initializeyes
getItemyes
insertItemBeforeyes
replaceItemyes
removeItemyes
appendItemyes
SVGPolygonElement
SVGPolylineElement
SVGPreserveAspectRatio
Attributes
alignyes
meetOrSliceyes
SVGRadialGradientElement
Attributes
cxyes
cyyes
fxyes
fyyes
ryes
SVGRect
Attributes
heightyes
widthyes
xyes
yyes
SVGRectElement
Attributes
heightyes
rxyes
ryyes
widthyes
xyes
yyes
SVGRenderingIntent
SVGScriptElement
Attributes
typeyes
SVGSetElement
SVGStopElement
Attributes
offsetyes
SVGStringList
Attributes
numberOfItemsno
Operations
clearno
initializeno
getItemno
insertItemBeforeno
replaceItemno
removeItemno
appendItemno
SVGStylable
Attributes
classNameyes
styleyes
Operations
getPresentationAttributeyes
SVGStyleElement
Attributes
mediayes
titleyes
typeyes
xmlspaceyes
SVGSVGElement
Attributes
contentScriptTypeyes
contentStyleTypeyes
currentScaleyes
currentTranslateyes
currentViewno
heightyes
pixelUnitToMillimeterXyes
pixelUnitToMillimeterYyes
screenPixelToMillimeterXyes
screenPixelToMillimeterYyes
useCurrentViewno
viewportyes
widthyes
xyes
yyes
Operations
suspendRedrawyes
unsuspendRedrawyes
unsuspendRedrawAllyes
forceRedrawyes
pauseAnimationsyes
unpauseAnimationsyes
animationsPausedyes
getCurrentTimeyes
setCurrentTimeyes
getIntersectionListyes
getEnclosureListyes
checkIntersectionyes
checkEnclosureyes
deselectAllyes
createSVGNumberyes
createSVGLengthyes
createSVGAngleyes
createSVGPointyes
createSVGMatrixyes
createSVGRectyes
createSVGTransformyes
createSVGTransformFromMatrixyes
getElementByIdyes
SVGSwitchElement
SVGSymbolElement
SVGTests
Attributes
requiredExtensionsno
requiredFeaturesno
systemLanguageno
Operations
hasExtensionno
SVGTextContentElement
Attributes
lengthAdjustyes
textLengthyes
Operations
getNumberOfCharsyes
getComputedTextLengthyes
getSubStringLengthyes
getStartPositionOfCharyes
getEndPositionOfCharyes
getExtentOfCharyes
getRotationOfCharyes
getCharNumAtPositionyes
selectSubStringyes
SVGTextElement
SVGTextPathElement
Attributes
methodyes
spacingyes
startOffsetyes
SVGTextPositioningElement
Attributes
dxyes
dyyes
rotateyes
xyes
yyes
SVGTitleElement
SVGTransform
Attributes
angleyes
matrixyes
typeyes
Operations
setMatrixyes
setTranslateyes
setScaleyes
setRotateyes
setSkewXyes
setSkewYyes
SVGTransformable
Attributes
transformyes
SVGTransformList
Attributes
numberOfItemsyes
Operations
clearyes
initializeyes
getItemyes
insertItemBeforeyes
replaceItemyes
removeItemyes
appendItemyes
createSVGTransformFromMatrixyes
consolidateyes
SVGTRefElement
SVGTSpanElement
SVGUnitTypes
SVGURIReference
Attributes
hrefyes
SVGUseElement
Attributes
animatedInstanceRootno
heightyes
instanceRootno
widthyes
xyes
yyes
SVGViewElement
Attributes
viewTargetno
SVGViewSpec
Attributes
preserveAspectRatioStringno
transformno
transformStringno
viewBoxStringno
viewTargetno
viewTargetStringno
SVGVKernElement
SVGZoomAndPan
Attributes
zoomAndPanyes
SVGZoomEvent
Attributes
newScaleno
newTranslateno
previousScaleno
previousTranslateno
zoomRectScreenno

ECMAScript objects

In addition to the host objects exposed to ECMAScript that implement the SVG DOM, the following objects are also available.

Global object
Properties
document

The current SVG document.

event

The most recently dispatched event object.

evt

An alias for event.

window

The global object (a self-reference).

Function properties
alert(message)

Displays an alert dialog with the specified message.

clearInterval(intervalID)

Cancels an interval that was set by a call to setInterval. The intervalID must be an object that has been returned by a previous setInterval call.

clearTimeout(timeoutID)

Cancels a timeout that was set by a call to setTimeout. The timeoutID must be an object that has been returned by a previous clearTimeout call.

confirm(message)

Displays a confirmation dialog with the specified message. The window has an OK and a Cancel button. The function returns true if the user clicks on the OK button, and false otherwise.

getURL(uri, function[, encoding])

Gets data from the given uri. This method returns immediately and the given function is called when the data is fully downloaded. The optional encoding argument is the encoding to assume the data is in, defaulting to UTF-8. The argument passed to the function is an object with three properties:

success
true if the data is available, false otherwise.
contentType
The content type of the data, if it is known by the implementation.
content
A string holding the data.
parseXML(text, document)

Parses and returns a DocumentFragment object. text is the string that is to be parsed as XML data, and document is a Document that will be used for creating new DOM objects.

prompt(message[, defaultValue])

Displays an input dialog with the specified message. The defaultValue parameter specifies the initial contents of the text box in the window. The function returns the string entered by the user, or null if the window was cancelled.

setInterval(script, interval)

Evaluates the given script repeatedly after the specified amount of time. The value for script must be either a string, which is evaluated by eval every interval, or an ECMAScript function object, which is called every interval. This method does not stall the script: the evaluation is scheduled and the script continues its execution. The function returns an object that can be passed to the clearInterval function.

setTimeout(script, timeout)

Evaluates the given script after the specified amount of time. The value for script must be either a string, which is evaluated by eval after the timeout, or an ECMAScript function object, which is called after the timeout. This method does not stall the script: the evaluation is scheduled and the script continues its execution. The function returns an object that can be passed to the clearInterval function. The function returns an object that can be passed to the clearTimeout function.

SVG 1.1 test suite

The table below lists the test cases from the December 2006 release of the SVG 1.1 test suite and whether the latest Batik code in the Subversion repository passes each one.

SVG 1.1 test suite
animate-elem-02-tyes
animate-elem-03-tyes
animate-elem-04-tyes
animate-elem-05-tyes
animate-elem-06-tyes
animate-elem-07-tyes
animate-elem-08-tyes
animate-elem-09-tyes
animate-elem-10-tyes
animate-elem-11-tyes
animate-elem-12-tyes
animate-elem-13-tyes
animate-elem-14-tyes
animate-elem-15-tyes
animate-elem-17-tyes
animate-elem-19-tyes
animate-elem-20-tyes
animate-elem-21-tyes
animate-elem-22-byes
animate-elem-23-tyes
animate-elem-24-tyes
animate-elem-25-tyes
animate-elem-26-tyes
animate-elem-27-tyes
animate-elem-28-tyes
animate-elem-29-byes
animate-elem-30-tyes
animate-elem-31-tyes
animate-elem-32-tyes
animate-elem-33-tyes
animate-elem-34-tyes
animate-elem-36-tyes
animate-elem-37-tyes
animate-elem-39-tyes
animate-elem-40-tyes
animate-elem-41-tyes
animate-elem-44-tyes
animate-elem-46-tyes
animate-elem-52-tyes
animate-elem-60-tyes
animate-elem-61-tyes
animate-elem-62-tyes
animate-elem-63-tyes
animate-elem-64-tyes
animate-elem-65-tyes
animate-elem-66-tyes
animate-elem-67-tyes
animate-elem-68-tyes
animate-elem-69-tyes
animate-elem-70-tyes
animate-elem-77-tyes
animate-elem-78-tyes
animate-elem-80-tyes
animate-elem-81-tyes
animate-elem-82-tyes
animate-elem-83-tpartialPerforming interpolating animation of paths between an absolute and a corresponding relative path command (e.g. from "M0,0 L10,10" to "M0,0 l10,20") is not supported.
animate-elem-84-tyes
animate-elem-85-tpartialPerforming interpolating animation of colors to or from the currentColor keyword is not supported.
color-prof-01-fyes
color-prop-01-byes
color-prop-02-fyes
color-prop-03-tyes
coords-coord-01-tyes
coords-coord-02-tyes
coords-trans-01-byes
coords-trans-02-tyes
coords-trans-03-tyes
coords-trans-04-tyes
coords-trans-05-tyes
coords-trans-06-tyes
coords-units-01-byes
coords-units-02-byes
coords-units-03-byes
coords-viewattr-01-byes
coords-viewattr-02-byes
coords-viewattr-03-byes
extend-namespace-01-fyes
filters-blend-01-byes
filters-color-01-byes
filters-composite-02-byes
filters-comptran-01-byes
filters-conv-01-fpartial
filters-diffuse-01-fyes
filters-displace-01-fyes
filters-example-01-byes
filters-felem-01-bno
filters-gauss-01-byes
filters-image-01-byes
filters-light-01-fyes
filters-morph-01-fyes
filters-offset-01-byes
filters-specular-01-fyes
filters-tile-01-byes
filters-turb-01-fyes
fonts-desc-02-tpartialFont glyph selection based on certain properties is not supported.
fonts-elem-01-tyes
fonts-elem-02-tyes
fonts-elem-03-byes
fonts-elem-04-byes
fonts-elem-05-tyes
fonts-elem-06-tyes
fonts-elem-07-byes
fonts-glyph-02-tyes
fonts-glyph-03-tyes
fonts-glyph-04-tyes
fonts-kern-01-tyes
interact-cursor-01-fyes
interact-dom-01-byes
interact-events-01-byes
interact-order-01-byes
interact-order-02-byes
interact-order-03-byes
interact-zoom-01-tpartialTest is incorrect.
linking-a-01-byes
linking-a-02-byes
linking-a-03-byes
linking-a-04-tyes
linking-a-05-tyes
linking-a-07-tnoThe target attribute of the a element is ignored.
linking-uri-01-byes
linking-uri-02-byes
linking-uri-03-tyes
masking-intro-01-fyes
masking-mask-01-byes
masking-opacity-01-byes
masking-path-01-byes
masking-path-02-byes
masking-path-03-byes
masking-path-04-byes
masking-path-05-fyes
metadata-example-01-byes
painting-fill-01-tyes
painting-fill-02-tyes
painting-fill-03-tyes
painting-fill-04-tyes
painting-fill-05-byes
painting-marker-01-fyes
painting-marker-02-fyes
painting-marker-03-fyes
painting-render-01-byes
painting-stroke-01-tyes
painting-stroke-02-tyes
painting-stroke-03-tyes
painting-stroke-04-tyes
painting-stroke-07-tpartial
paths-data-01-tyes
paths-data-02-tyes
paths-data-03-fyes
paths-data-04-tyes
paths-data-05-tyes
paths-data-06-tyes
paths-data-07-tyes
paths-data-08-tyes
paths-data-09-tyes
paths-data-10-tyes
paths-data-12-tyes
paths-data-13-tyes
paths-data-14-tyes
paths-data-15-tyes
pservers-grad-01-byes
pservers-grad-02-byes
pservers-grad-03-byes
pservers-grad-04-byes
pservers-grad-05-byes
pservers-grad-06-byes
pservers-grad-07-byes
pservers-grad-08-byes
pservers-grad-09-byes
pservers-grad-10-byes
pservers-grad-11-byes
pservers-grad-12-byes
pservers-grad-13-byes
pservers-grad-14-byes
pservers-grad-15-byes
pservers-grad-16-byes
pservers-grad-17-byes
pservers-grad-18-byes
pservers-grad-19-bnoAnimation of gradients do not affect referencing elements.
pservers-pattern-01-byes
render-elems-01-tyes
render-elems-02-tyes
render-elems-03-tyes
render-elems-06-tyes
render-elems-07-tyes
render-elems-08-tyes
render-groups-01-byes
render-groups-03-tyes
script-handle-01-byes
script-handle-02-byes
script-handle-03-byes
script-handle-04-byes
shapes-circle-01-tyes
shapes-circle-02-tyes
shapes-ellipse-01-tyes
shapes-ellipse-02-tyes
shapes-intro-01-tyes
shapes-line-01-tyes
shapes-polygon-01-tyes
shapes-polyline-01-tyes
shapes-rect-01-tyes
shapes-rect-02-tyes
struct-cond-01-tyes
struct-cond-02-tyes
struct-cond-03-tyes
struct-defs-01-tyes
struct-dom-01-byes
struct-dom-02-byes
struct-dom-03-byes
struct-dom-04-byes
struct-dom-05-byes
struct-dom-06-byes
struct-frag-01-tyes
struct-frag-02-tyes
struct-frag-03-tyes
struct-frag-04-tyes
struct-frag-05-tyes
struct-frag-06-tyes
struct-group-01-tyes
struct-group-02-byes
struct-group-03-tyes
struct-image-01-tyes
struct-image-02-byes
struct-image-03-tyes
struct-image-04-tyes
struct-image-05-byes
struct-image-06-tyes
struct-image-07-tyes
struct-image-08-tyes
struct-image-09-tyes
struct-image-10-tno
struct-symbol-01-byes
struct-use-01-tyes
struct-use-03-tyes
struct-use-05-byes
styling-css-01-byes
styling-css-02-byes
styling-css-03-byes
styling-css-04-fyes
styling-css-05-byes
styling-css-06-bnoThe :hover, :link, :visited, :active and :focus pseudo-classes are not supported in selectors.
styling-inherit-01-byes
styling-pres-01-tyes
text-align-01-byes
text-align-02-byes
text-align-03-byes
text-align-04-byes
text-align-05-byes
text-align-06-byes
text-align-08-bno
text-altglyph-01-byes
text-deco-01-byes
text-fonts-01-tyes
text-fonts-02-tyes
text-fonts-03-tyes
text-intro-01-tyes
text-intro-02-byes
text-intro-03-byes
text-intro-04-tyes
text-intro-05-tyes
text-path-01-byes
text-spacing-01-byes
text-text-01-byes
text-text-03-byes
text-text-04-tyes
text-text-05-tno
text-text-06-tyes
text-text-07-tyes
text-text-08-byes
text-tref-01-byes
text-tselect-01-byes
text-tselect-02-fpartial
text-tspan-01-byes
text-ws-01-tyes
text-ws-02-tyes
types-basicDOM-01-byes