70
APPENDIX C SVG Attributes and Properties Reference In this reference, you will find all attributes and properties in SVG 1.0 listed in alphabetical order. In some cases, the same attribute name is used with different meanings and allowed values. To indicate this, the attributes are separated and numbered, for example, 1 (2), meaning attribute one of two. NOTE You can find the definition of the SVG 1.0 data types at http://www.w3.org/TR/SVG/types.html. accent-height Allowed Value A number value Parent font-face accumulate Allowed Values none, sum Parents animate, animateColor, animateMotion, animateTransform

SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Embed Size (px)

Citation preview

Page 1: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

APPENDIX C

SVG Attributes andProperties Reference

In this reference, you will find all attributes and properties inSVG 1.0 listed in alphabetical order.

In some cases, the same attribute name is used with differentmeanings and allowed values. To indicate this, the attributesare separated and numbered, for example, 1 (2), meaningattribute one of two.

NOTE

You can find the definition of the SVG 1.0 data types athttp://www.w3.org/TR/SVG/types.html.

accent-height

Allowed ValueA number value

Parentfont-face

accumulate

Allowed Valuesnone, sum

Parentsanimate, animateColor, animateMotion, animateTransform

0672324296 AppC 1/5/05 10:59 AM Page Web-51

Page 2: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

additive

Allowed Valuesreplace, sum

Parentsanimate, animateColor, animateMotion, animateTransform

alignment-baseline

Allowed Valuesbaseline, top, before-edge, text-top, text-before-edge, middle, bottom, after-edge,text-bottom, text-after-edge, ideographic, lower, hanging, mathematical, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

alphabetic

Allowed ValueA number value

Parentfont-face

amplitude

Allowed ValueA number value

ParentsfeFuncA, feFuncB, feFuncG, feFuncR

APPENDIX C SVG Attributes and Properties ReferenceWeb-52

0672324296 AppC 1/5/05 10:59 AM Page Web-52

Page 3: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

arabic-form

Allowed Valuesinitial, medial, terminal, isolated

Parentglyph

ascent

Allowed ValueA number value

Parentfont-face

attributeName

Allowed ValueAn attribute name

Parentsanimate, animateColor, animateTransform, set

attributeType

Allowed ValuesCSS, XML, auto

Parentsanimate, animateColor, animateTransform, set

azimuth

Allowed ValueA number value

azimuth Web-53C

0672324296 AppC 1/5/05 10:59 AM Page Web-53

Page 4: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentfeDistantLight

baseFrequency

Allowed ValuesA list of one or two positive numbers

ParentfeTurbulence

baseline-shift

Allowed Valuesbaseline, sub, super, a percentage value, a length value, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

bbox

Allowed ValuesFour numbers specifying, in order, lower-left x, lower-left y, upper-right x, upper-right y ofbounding box of font

Parentfont-face

begin

Allowed ValuesA semicolon-separated list of values

Parentsanimate, animateColor, animateMotion, animateTransform, set

APPENDIX C SVG Attributes and Properties ReferenceWeb-54

0672324296 AppC 1/5/05 10:59 AM Page Web-54

Page 5: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

bias

Allowed ValueA number value

ParentfeConvolveMatrix

by

Allowed ValueA string value

Parentsanimate, animateColor, animateMotion, animateTransform

calcMode

Parentsanimate, animateColor, animateMotion, animateTransform

cap-height

Allowed ValueA number value

Parentfont-face

class

Allowed ValuesA list of class names

Parentsa, altGlyph, circle, clipPath, defs, desc, ellipse, feDiffuseLighting, feFlood, feImage,feSpecularLighting, filter, font, foreignObject, g, glyph, glyphRef, image, line,

class Web-55C

0672324296 AppC 1/5/05 10:59 AM Page Web-55

Page 6: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

linearGradient, marker, mask, missing-glyph, path, pattern, polygon, polyline,radialGradient, rect, stop, svg, switch, symbol, text, textPath, title, tref, tspan, use

clip

Allowed ValuesA shape, auto, inherit

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, image, marker, mask, missing-glyph, pattern, svg, switch, symbol, use

clip-path

Allowed ValuesA URI, none, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

clip-rule

Allowed Valuesevenodd, nonzero, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

clipPathUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

ParentclipPath

APPENDIX C SVG Attributes and Properties ReferenceWeb-56

0672324296 AppC 1/5/05 10:59 AM Page Web-56

Page 7: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

color

Allowed ValueA color value

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feDiffuseLighting, feFlood, feImage,feSpecularLighting, filter, font, foreignObject, g, glyph, image, line,linearGradient, marker, mask, missing-glyph, path, pattern, polygon, polyline,radialGradient, rect, stop, svg, switch, symbol, text, textPath, tref, tspan, use

color-interpolation

Allowed Valuesauto, sRGB, linearRGB, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feDiffuseLighting, feFlood, feImage,feSpecularLighting, filter, font, foreignObject, g, glyph, image, line, linearGradient,marker, mask, missing-glyph, path, pattern, polygon, polyline, radialGradient, rect,stop, svg, switch, symbol, text, textPath, tref, tspan, use

color-interpolation-filters

Allowed Valuesauto, sRGB, linearRGB, inherit

Parentsa, defs, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feImage, feMerge,feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter, font,foreignObject, g, glyph, marker, mask, missing-glyph, pattern, svg, switch, symbol, use

color-profile

Allowed Valuesauto, sRGB, a color profile name, a URI, inherit

color-profile Web-57C

0672324296 AppC 1/5/05 10:59 AM Page Web-57

Page 8: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, image, marker, mask, missing-glyph, pattern, svg, switch, symbol, use

color-rendering

Allowed Valuesauto, optimizeSpeed, optimizeQuality, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feDiffuseLighting, feFlood, feImage,feSpecularLighting, filter, font, foreignObject, g, glyph, image, line, linearGradient,marker, mask, missing-glyph, path, pattern, polygon, polyline, radialGradient, rect,stop svg, switch, symbol, text, textPath, tref, tspan, use

content

Allowed Valuestructured text

Parentsdesc, foreignObject, title

contentScriptType

Parentsvg

contentStyleType

Parentsvg

cursor

Allowed ValuesA URI, auto, crosshair, default, pointer, move, e-resize, ne-resize, nw-resize, n-resize, se-resize, sw-resize, s-resize, w-resize, text, wait, help, inherit

APPENDIX C SVG Attributes and Properties ReferenceWeb-58

0672324296 AppC 1/5/05 10:59 AM Page Web-58

Page 9: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

cx

Allowed ValueA coordinate

Parentscircle, ellipse, radialGradient

cy

Allowed ValueA coordinate

Parentscircle, ellipse, radialGradient

d

Allowed ValuePath data

Parentsglyph, missing-glyph, path

descent

Allowed ValueA number value

Parentfont-face

descent Web-59C

0672324296 AppC 1/5/05 10:59 AM Page Web-59

Page 10: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

diffuseConstant

Allowed ValueA number value

ParentfeDiffuseLighting

direction

Allowed Valuesltr, rtl, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

display

Allowed Valuesinline, block, list-item, run-in, compact, marker, table, inline-table, table-row-group,table-header-group, table-footer-group, table-row, table-column-group, table-column,table-cell, table-caption, none, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

divisor

Allowed ValueA number value except zero

ParentfeConvolveMatrix

APPENDIX C SVG Attributes and Properties ReferenceWeb-60

0672324296 AppC 1/5/05 10:59 AM Page Web-60

Page 11: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

dominant-baseline

Allowed Valuesauto, autosense-script, no-change, reset, ideographic, lower, hanging, mathematical,inherit

CAUTION

There is a descrepancy between the SVG 1.0 specification and the SVG 1.0 DTD for this attribute.The values listed here are those specified by the DTD.

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

dur

Allowed ValuesClock-value, media, indefinite

Parentsanimate, animateColor, animateMotion, animateTransform, set

dx 1(2)

Allowed ValueA length value

ParentsfeOffset, glyphRef

dx 2(2)

Allowed ValueA list of length values

ParentsaltGlyph, text, tref, tspan

dx 2(2) Web-61C

0672324296 AppC 1/5/05 10:59 AM Page Web-61

Page 12: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

dy 1(2)

Allowed ValueA length value

ParentsaltGlyph, feOffset, glyphRef

dy 2(2)

Allowed ValueA list of length values

ParentsaltGlyph, text, tref, tspan

edgeMode

Allowed Valuesduplicate, wrap, none

ParentfeConvolveMatrix

elevation

Allowed ValueA number value

ParentfeDistantLight

enable-background

Allowed Valuesaccumulate, new [x, y, width, height], inherit

APPENDIX C SVG Attributes and Properties ReferenceWeb-62

0672324296 AppC 1/5/05 10:59 AM Page Web-62

Page 13: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, marker, mask, missing-glyph,pattern, svg, switch, symbol, use

end

Allowed Valuesend-value-list or end-value, which is one of the following: offset-value, syncbase-value,event-value, repeat-value, accessKey-value, wallclock-sync-value, indefinite

Parentsanimate, animateColor, animateMotion, animateTransform, set

exponent

Allowed ValueA number value

ParentsfeFuncA, feFuncB, feFuncG, feFuncR

externalResourcesRequired

Allowed ValueA boolean value

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, circle, clipPath,cursor, defs, ellipse, feImage, filter, font, foreignObject, g, image, line,linearGradient, marker, mask, mpath, path, pattern, polygon, polyline, radialGradient,rect, script, set, svg, switch, symbol, text, textPath, tref, tspan, use, view

fill 1(2)

Allowed Valuesremove, freeze

fill 1(2) Web-63C

0672324296 AppC 1/5/05 10:59 AM Page Web-63

Page 14: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsanimate, animateColor, animateMotion, animateTransform, set

fill 2(2)

Allowed ValueA paint value

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

fill-opacity

Allowed ValuesA number between 0.0 and 1.0 inclusive, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

fill-rule

Allowed Valuesevenodd, nonzero, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

filter

Allowed ValuesA URI, none, inherit

APPENDIX C SVG Attributes and Properties ReferenceWeb-64

0672324296 AppC 1/5/05 10:59 AM Page Web-64

Page 15: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

filterRes

Allowed ValuesNumber followed by an optional number

Parentfilter

filterUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

Parentfilter

flood-color

Allowed ValuescurrentColor, color followed by an optional ICC color-profile, inherit

Parentsa, defs, feFlood, feImage, filter, font, foreignObject, g, glyph, marker, mask, missing-glyph, pattern, svg, switch, symbol, use

flood-opacity

Allowed ValuesA number between 0.0 and 1.0 inclusive, inherit

Parentsa, defs, feFlood, feImage, filter, font, foreignObject, g, glyph, marker, mask, missing-glyph, pattern, svg, switch, symbol, use

flood-opacity Web-65C

0672324296 AppC 1/5/05 10:59 AM Page Web-65

Page 16: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

font-family 1(2)

Allowed ValueA string value

Parentfont-face

font-family 2(2)

Allowed Valuesfamily-name, generic-family, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, glyphRef,marker, mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

font-size 1(2)

Allowed ValueA string value

Parentfont-face

font-size 2(2)

Allowed Valuesabsolute-size, relative-size, a length value, a percentage value, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, glyphRef,marker, mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-66

0672324296 AppC 1/5/05 10:59 AM Page Web-66

Page 17: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

font-size-adjust

Allowed ValuesA number value, none, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, glyphRef,marker, mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

font-stretch 1(2)

Allowed Valuesall or a list of one or more of the following: normal, ultra-condensed, extra-condensed,condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded

Parentfont-face

font-stretch 2(2)

Allowed Valuesnormal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed,semi-expanded, expanded, extra-expanded, ultra-expanded, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, glyphRef,marker, mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

font-style 1(2)

Allowed Valuesall or one or more of the following: normal, italic, oblique

Parentfont-face

font-style 1(2) Web-67C

0672324296 AppC 1/5/05 10:59 AM Page Web-67

Page 18: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

font-style 2(2)

Allowed Valuesnormal, italic, oblique, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, glyphRef,marker, mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

font-variant 1(2)

Allowed Valuesnormal and/or small-caps

Parentfont-face

font-variant 2(2)

Allowed Valuesnormal, small-caps, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, glyphRef,marker, mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

font-weight 1(2)

Allowed Valuesall or one or more of the following: normal, bold, 100, 200, 300, 400, 500, 600, 700, 800, 900

Parentfont-face

APPENDIX C SVG Attributes and Properties ReferenceWeb-68

0672324296 AppC 1/5/05 10:59 AM Page Web-68

Page 19: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

font-weight 2(2)

Allowed Valuesnormal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, glyphRef,marker, mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

format

Allowed ValueA string value

ParentsaltGlyph, glyphRef

from

Allowed ValueA string value

Parentsanimate, animateColor, animateMotion, animateTransform

fx

Allowed ValueA coordinate

ParentradialGradient

fy

Allowed ValueA coordinate

fy Web-69C

0672324296 AppC 1/5/05 10:59 AM Page Web-69

Page 20: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentradialGradient

g1

Allowed ValuesA list of one or more glyph names

Parentshkern, vkern

g2

Allowed ValuesA list of one or more glyph names

Parentshkern, vkern

glyph-name

Allowed ValuesA list of one or more glyph names

Parentglyph

glyph-orientation-horizontal

Allowed ValuesAn angle value, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-70

0672324296 AppC 1/5/05 10:59 AM Page Web-70

Page 21: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

glyph-orientation-vertical

Allowed ValuesAn angle value, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

glyphRef

Allowed ValueA string value

ParentsaltGlyph, glyphRef

gradientTransform

Allowed ValuesA list of transformations

ParentslinearGradient, radialGradient

gradientUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

ParentslinearGradient, radialGradient

hanging

Allowed ValueA number value

hanging Web-71C

0672324296 AppC 1/5/05 10:59 AM Page Web-71

Page 22: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentfont-face

height

Allowed ValueA length value

ParentsfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feMerge,feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter,foreignObject, image, mask, pattern, rect, svg, use

horiz-adv-x

Allowed ValueA number value

Parentsfont, glyph, missing-glyph

horiz-origin-x

Allowed ValueA number value

Parentfont

horiz-origin-y

Allowed ValueA number value

Parentfont

APPENDIX C SVG Attributes and Properties ReferenceWeb-72

0672324296 AppC 1/5/05 10:59 AM Page Web-72

Page 23: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

id

Allowed ValueAn ID value

Parentsa, altGlyph, altGlyphDef, altGlyphItem, animate, animateColor, animateMotion,animateTransform, circle, clipPath, color-profile, cursor, definition-src, defs, desc,ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feDistantLight, feFlood, feFuncA, feFuncB,feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology,feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence,filter, font, font-face, font-face-format, font-face-name, font-face-src, font-face-uri, foreignObject, g, glyph, glyphRef, hkern, image, line, linearGradient,marker, mask, metadata, missing-glyph, mpath, path, pattern, polygon, polyline,radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath,title, tref, tspan, use, view, vkern

ideographic

Allowed ValueA number value

Parentfont-face

image-rendering

Allowed Valuesauto, optimizeSpeed, optimizeQuality, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

image-rendering Web-73C

0672324296 AppC 1/5/05 10:59 AM Page Web-73

Page 24: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

in

Allowed ValuesSourceGraphic, SourceAlpha, BackgroundImage, BackgroundAlpha, FillPaint,StrokePaint, reference to another filter primitive

ParentsfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feMergeNode,feMorphology, feOffset, feSpecularLighting, feTile

in2

Allowed ValuesSourceGraphic, SourceAlpha, BackgroundImage, BackgroundAlpha, FillPaint,StrokePaint, reference to another filter primitive

ParentsfeBlend, feComposite, feDisplacementMap

intercept

Allowed ValueA number value

ParentsfeFuncA, feFuncB, feFuncG, feFuncR

k

Allowed ValueA number value

Parentshkern, vkern

APPENDIX C SVG Attributes and Properties ReferenceWeb-74

0672324296 AppC 1/5/05 10:59 AM Page Web-74

Page 25: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

k1

Allowed ValueA number value

ParentfeComposite

k2

Allowed ValueA number value

ParentfeComposite

k3

Allowed ValueA number value

ParentfeComposite

k4

Allowed ValueA number value

ParentfeComposite

kernelMatrix

Allowed ValueA list of numbers

kernelMatrix Web-75C

0672324296 AppC 1/5/05 10:59 AM Page Web-75

Page 26: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentfeConvolveMatrix

kernelUnitLength

Allowed ValuesA number optionally followed by a number

ParentsfeConvolveMatrix, feDiffuseLighting, feSpecularLighting

kerning

Allowed Valuesauto, a length value, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

keyPoints

Allowed ValuesA list of numbers between 0.0 and 1.0 inclusive

ParentanimateMotion

keySplines

Allowed ValuesA list of numbers between 0.0 and 1.0 inclusive. Must be an even multiple of fournumbers.

Parentsanimate, animateColor, animateMotion, animateTransform

APPENDIX C SVG Attributes and Properties ReferenceWeb-76

0672324296 AppC 1/5/05 10:59 AM Page Web-76

Page 27: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

keyTimes

Allowed ValuesA list of numbers between 0.0 and 1.0 inclusive

Parentsanimate, animateColor, animateMotion, animateTransform

lang

Allowed ValuesA list a language names according to RFC3066

Parentglyph

lengthAdjust

Allowed Valuesspacing, spacingAndGlyphs

Parentstext, textPath, tref, tspan

letter-spacing

Allowed Valuesnormal, a length value, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

lighting-color

Allowed ValuescurrentColor, color optionally followed by an ICC profile, inherit

lighting-color Web-77C

0672324296 AppC 1/5/05 10:59 AM Page Web-77

Page 28: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, defs, feDiffuseLighting, feImage, feSpecularLighting, filter, font, foreignObject,g, glyph, marker, mask, missing-glyph, pattern, svg, switch, symbol, use

limitingConeAngle

Allowed ValueA number value

ParentfeSpotLight

local

Allowed ValueA string value

Parentcolor-profile

marker-end

Allowed Valuesnone, inherit, a URI

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, svg, switch, symbol, use

marker-mid

Allowed Valuesnone, inherit, a URI

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, svg, switch, symbol, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-78

0672324296 AppC 1/5/05 10:59 AM Page Web-78

Page 29: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

marker-start

Allowed Valuesnone, inherit, a URI

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, svg, switch, symbol, use

markerHeight

Allowed ValueA length value

Parentmarker

markerUnits

Allowed ValuesstrokeWidth, userSpaceOnUse

Parentmarker

markerWidth

Allowed ValueA length value

Parentmarker

mask

Allowed ValuesA URI, none, inherit

mask Web-79C

0672324296 AppC 1/5/05 10:59 AM Page Web-79

Page 30: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

maskContentUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

Parentmask

maskUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

Parentmask

mathematical

Allowed ValueA number value

Parentfont-face

max

Allowed ValuesClock-value, media

Parentsanimate, animateColor, animateMotion, animateTransform, set

APPENDIX C SVG Attributes and Properties ReferenceWeb-80

0672324296 AppC 1/5/05 10:59 AM Page Web-80

Page 31: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

media

Allowed ValuesA list of media descriptors

Parentstyle

method

Allowed Valuesalign, stretch

ParenttextPath

min

Allowed ValuesClock-value, media

Parentsanimate, animateColor, animateMotion, animateTransform, set

mode

Allowed Valuesnormal, multiply, screen, darken, lighten

ParentfeBlend

name

Allowed ValueA string value

name Web-81C

0672324296 AppC 1/5/05 10:59 AM Page Web-81

Page 32: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentcolor-profile, font-face-name

numOctaves

Allowed ValueAn integer value

ParentfeTurbulence

offset 1(2)

Allowed ValueA number or percentage value

Parentstop

offset 2(2)

Allowed ValueA number value

ParentsfeFuncA, feFuncB, feFuncG, feFuncR

onabort

Allowed ValueScript expression

Parentsvg

APPENDIX C SVG Attributes and Properties ReferenceWeb-82

0672324296 AppC 1/5/05 10:59 AM Page Web-82

Page 33: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

onactivate

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onbegin

Allowed ValueScript expression

Parentsanimate, animateColor, animateMotion, animateTransform, set

onclick

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onend

Allowed ValueScript expression

Parentsanimate, animateColor, animateMotion, animateTransform, set

onerror

Allowed ValueScript expression

onerror Web-83C

0672324296 AppC 1/5/05 10:59 AM Page Web-83

Page 34: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsvg

onfocusin

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onfocusout

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onload

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onmousedown

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-84

0672324296 AppC 1/5/05 10:59 AM Page Web-84

Page 35: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

onmousemove

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onmouseout

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onmouseover

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onmouseup

Allowed ValueScript expression

Parentsa, altGlyph, circle, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use

onmouseup Web-85C

0672324296 AppC 1/5/05 10:59 AM Page Web-85

Page 36: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

onrepeat

Allowed ValueScript expression

Parentsanimate, animateColor, animateMotion, animateTransform, set

onresize

Allowed ValueScript expression

Parentsvg

onscroll

Allowed ValueScript expression

Parentsvg

onunload

Allowed ValueScript expression

Parentsvg

onzoom

Allowed ValueScript expression

APPENDIX C SVG Attributes and Properties ReferenceWeb-86

0672324296 AppC 1/5/05 10:59 AM Page Web-86

Page 37: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsvg

opacity

Allowed ValuesA number between 0.0 and 1.0 inclusive, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

operator 1(2)

Allowed Valueserode, dilate

ParentfeMorphology

operator 2(2)

Allowed Valuesover, in, out, atop, xor, arithmetic

ParentfeComposite

order

Allowed ValuesA number optionally followed by a number

ParentfeConvolveMatrix

order Web-87C

0672324296 AppC 1/5/05 10:59 AM Page Web-87

Page 38: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

orient

Allowed Valuesauto, angle

Parentmarker

orientation

Allowed Valuesh, v

Parentglyph

origin

Allowed Valuedefault

ParentanimateMotion

overflow

Allowed Valuesvisible, hidden, scroll, auto, inherit

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, image, marker, mask, missing-glyph, pattern, svg, switch, symbol, use

overline-position

Allowed ValueA number value

APPENDIX C SVG Attributes and Properties ReferenceWeb-88

0672324296 AppC 1/5/05 10:59 AM Page Web-88

Page 39: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentfont-face

overline-thickness

Allowed ValueA number value

Parentfont-face

panose-1

Allowed ValuesA list of 10 integers

Parentfont-face

path

Allowed ValuePath data

ParentanimateMotion

pathLength

Allowed ValueA number value

Parentpath

pathLength Web-89C

0672324296 AppC 1/5/05 10:59 AM Page Web-89

Page 40: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

patternContentUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

Parentpattern

patternTransform

Allowed ValuesA list of transformations

Parentpattern

patternUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

Parentpattern

pointer-events

Allowed ValuesvisiblePainted, visibleFill, visibleStroke, visible, painted, fill, stroke, all, none,inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-90

0672324296 AppC 1/5/05 10:59 AM Page Web-90

Page 41: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

points

Allowed ValuesA list of points

Parentspolygon, polyline

pointsAtX

Allowed ValueA number value

ParentfeSpotLight

pointsAtY

Allowed ValueA number value

ParentfeSpotLight

pointsAtZ

Allowed ValueA number value

ParentfeSpotLight

preserveAlpha

Allowed ValueA boolean value

preserveAlpha Web-91C

0672324296 AppC 1/5/05 10:59 AM Page Web-91

Page 42: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentfeConvolveMatrix

preserveAspectRatio

Allowed ValuesAn align value (none, xMinYMin, xMidYMin, xMaxYMin, xMinYMid, xMidYMid, xMaxYMid,xMinYMax, xMidYMax, xMaxYMax) and an optional meet or slice value

Parentsimage, marker, pattern, svg, symbol, view

primitiveUnits

Allowed ValuesuserSpaceOnUse, objectBoundingBox

Parentfilter

r

Allowed ValueA length value

Parentcircle, radialGradient

radius

Allowed ValuesA number optionally followed by a number

ParentfeMorphology

APPENDIX C SVG Attributes and Properties ReferenceWeb-92

0672324296 AppC 1/5/05 10:59 AM Page Web-92

Page 43: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

refX

Allowed ValueA coordinate

Parentmarker

refY

Allowed ValueA coordinate

Parentmarker

rendering-intent

Allowed Valuesauto, perceptual, relative-colorimetric, saturation, absolute-colorimetric

Parentcolor-profile

repeatCount

Allowed ValuesNumeric value, indefinite

Parentsanimate, animateColor, animateMotion, animateTransform, set

repeatDur

Allowed ValuesClock-value, indefinite

repeatDur Web-93C

0672324296 AppC 1/5/05 10:59 AM Page Web-93

Page 44: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsanimate, animateColor, animateMotion, animateTransform, set

requiredExtensions

Allowed ValuesA list of URI values

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, circle, clipPath,cursor, defs, ellipse, foreignObject, g, image, line, mask, path, pattern, polygon, polyline, rect, set, svg, switch, text, textPath, tref, tspan, use

requiredFeatures

Allowed ValuesA list of feature strings

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, circle, clipPath,cursor, defs, ellipse, foreignObject, g, image, line, mask, path, pattern, polygon, polyline, rect, set, svg, switch, text, textPath, tref, tspan, use

restart

Allowed Valuesalways, never, whenNotActive

Parentsanimate, animateColor, animateMotion, animateTransform, set

result

Allowed ValueA filter primitive reference

APPENDIX C SVG Attributes and Properties ReferenceWeb-94

0672324296 AppC 1/5/05 10:59 AM Page Web-94

Page 45: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentsfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feMerge,feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence

rotate 1(2)

Allowed ValuesAngle, auto, auto-reverse

ParentanimateMotion

rotate 2(2)

Allowed ValuesA list of numbers

ParentsaltGlyph, text, tref, tspan

rx

Allowed ValueA length value

Parentellipse, rect

ry

Allowed ValueA length value

Parentellipse, rect

ry Web-95C

0672324296 AppC 1/5/05 10:59 AM Page Web-95

Page 46: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

scale

Allowed ValueA number value

ParentfeDisplacementMap

seed

Allowed ValueA number value

ParentfeTurbulence

shape-rendering

Allowed Valuesauto, optimizeSpeed, crispEdges, geometricPrecision, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

slope

Allowed ValueA number value

ParentsfeFuncA, feFuncB, feFuncG, feFuncR, font-face

APPENDIX C SVG Attributes and Properties ReferenceWeb-96

0672324296 AppC 1/5/05 10:59 AM Page Web-96

Page 47: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

spacing

Allowed Valuesauto, exact

ParenttextPath

specularConstant

Allowed ValueA number value

ParentfeSpecularLighting

specularExponent

Allowed ValueA number value between 1.0 and 128.0 inclusive

ParentsfeSpecularLighting, feSpotLight

spreadMethod

Allowed Valuespad, reflect, repeat

ParentslinearGradient, radialGradient

startOffset

Allowed ValueA string value

startOffset Web-97C

0672324296 AppC 1/5/05 10:59 AM Page Web-97

Page 48: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParenttextPath

stdDeviation

Allowed ValuesA number optionally followed by a number

ParentfeGaussianBlur

stemh

Allowed ValueA number value

Parentfont-face

stemv

Allowed ValueA number value

Parentfont-face

stitchTiles

Allowed Valuesstitch, noStitch

ParentfeTurbulence

APPENDIX C SVG Attributes and Properties ReferenceWeb-98

0672324296 AppC 1/5/05 10:59 AM Page Web-98

Page 49: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

stop-color

Allowed ValuescurrentColor, color optionally followed by an ICC profile, inherit

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, linearGradient, marker, mask,missing-glyph, pattern, radialGradient, stop, svg, switch, symbol, use

stop-opacity

Allowed ValuesA number between 0.0 and 1.0, inherit

Parentsa, defs, feImage, filter, font, foreignObject, g, glyph, linearGradient, marker, mask,missing-glyph, pattern, radialGradient, stop, svg, switch, symbol, use

strikethrough-position

Allowed ValueA number value

Parentfont-face

strikethrough-thickness

Allowed ValueA number value

Parentfont-face

string

Allowed ValueA string value

string Web-99C

0672324296 AppC 1/5/05 10:59 AM Page Web-99

Page 50: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentfont-face-format

stroke

Allowed ValueA paint value

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

stroke-dasharray

Allowed Valuesnone, a dasharray, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

stroke-dashoffset

Allowed ValuesA length value, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

stroke-linecap

Allowed Valuesbutt, round, square, inherit

APPENDIX C SVG Attributes and Properties ReferenceWeb-100

0672324296 AppC 1/5/05 10:59 AM Page Web-100

Page 51: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

stroke-linejoin

Allowed Valuesmiter, round, bevel, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

stroke-miterlimit

Allowed ValuesA number greater than or equal to 1, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

stroke-opacity

Allowed ValuesA number between 0.0 and 1.0 inclusive, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

stroke-width

Allowed ValuesA length value, inherit

stroke-width Web-101C

0672324296 AppC 1/5/05 10:59 AM Page Web-101

Page 52: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect, svg,switch, symbol, text, textPath, tref, tspan, use

style

Allowed ValueStyle sheet data

Parentsa, altGlyph, circle, clipPath, defs, desc, ellipse, feDiffuseLighting, feFlood, feImage,feSpecularLighting, filter, font, foreignObject, g, glyph, glyphRef, image, line,linearGradient, marker, mask, missing-glyph, path, pattern, polygon, polyline,radialGradient, rect, stop, svg, switch, symbol, text, textPath, title, tref, tspan, use

surfaceScale

Allowed ValueA number value

ParentsfeDiffuseLighting, feSpecularLighting

systemLanguage

Allowed ValuesA list of language codes according to RFC3066

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, circle, clipPath,cursor, defs, ellipse, foreignObject, g, image, line, mask, path, pattern, polygon,polyline, rect, set, svg, switch, text, textPath, tref, tspan, use

tableValues

Allowed ValuesA list of one or more numbers

APPENDIX C SVG Attributes and Properties ReferenceWeb-102

0672324296 AppC 1/5/05 10:59 AM Page Web-102

Page 53: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentsfeFuncA, feFuncB, feFuncG, feFuncR

target

Allowed ValueA frame or window name

Parenta

targetX

Allowed ValueAn integer value

ParentfeConvolveMatrix

targetY

Allowed ValueAn integer value

ParentfeConvolveMatrix

text-anchor

Allowed Valuesstart, middle, end, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

text-anchor Web-103C

0672324296 AppC 1/5/05 10:59 AM Page Web-103

Page 54: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

text-decoration

Allowed Valuesnone, underline, overline, line-through, blink, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

text-rendering

Allowed Valuesauto, optimizeSpeed, optimizeLegibility, geometricPrecision, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

textLength

Allowed ValueA length value

Parentstext, textPath, tref, tspan

title

Allowed ValueA string value

Parentstyle

APPENDIX C SVG Attributes and Properties ReferenceWeb-104

0672324296 AppC 1/5/05 10:59 AM Page Web-104

Page 55: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

to

Allowed ValueA string value

Parentanimate, animateColor, animateMotion, animateTransform, set

transform

Allowed ValuesA list of transformations

Parentsa, circle, clipPath, defs, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, switch, text, use

type 1(5)

Allowed ValueA media type according to RFC2045

Parentsscript, style

type 2(5)

Allowed ValuesfractalNoise, turbulence

ParentfeTurbulence

type 3(5)

Allowed Valuesidentity, table, discrete, linear, gamma

type 3(5) Web-105C

0672324296 AppC 1/5/05 10:59 AM Page Web-105

Page 56: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentsfeFuncA, feFuncB, feFuncG, feFuncR

type 4(5)

Allowed Valuesmatrix, saturate, hueRotate, luminanceToAlpha

ParentfeColorMatrix

type 5(5)

Allowed Valuestranslate, scale, rotate, skewX, skewY

ParentanimateTransform

u1

Allowed ValuesOne or more or a range of Unicode characters.

Parentshkern, vkern

u2

Allowed ValuesOne or more or a range of Unicode characters.

Parentshkern, vkern

APPENDIX C SVG Attributes and Properties ReferenceWeb-106

0672324296 AppC 1/5/05 10:59 AM Page Web-106

Page 57: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

underline-position

Allowed ValueA number value

Parentfont-face

underline-thickness

Allowed ValueA number value

Parentfont-face

unicode

Allowed ValuesOne or more Unicode characters

Parentglyph

unicode-bidi

Allowed Valuesnormal, embed, bidi-override, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

unicode-range

Allowed ValuesOne or more or a range of Unicode characters.

unicode-range Web-107C

0672324296 AppC 1/5/05 10:59 AM Page Web-107

Page 58: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentfont-face

units-per-em

Allowed ValueA number value

Parentfont-face

v-alphabetic

Allowed ValueA number value

Parentfont-face

v-hanging

Allowed ValueA number value

Parentfont-face

v-ideographic

Allowed ValueA number value

Parentfont-face

APPENDIX C SVG Attributes and Properties ReferenceWeb-108

0672324296 AppC 1/5/05 10:59 AM Page Web-108

Page 59: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

v-mathematical

Allowed ValueA number value

Parentfont-face

values

Allowed ValuesA list of one or more values

Parentsanimate, animateColor, animateMotion, animateTransform, feColorMatrix

version

Allowed ValueFixed value of 1.0

Parentsvg

vert-adv-y

Allowed ValueA number value

Parentsfont, glyph, missing-glyph

vert-origin-x

Allowed ValueA number value

vert-origin-x Web-109C

0672324296 AppC 1/5/05 10:59 AM Page Web-109

Page 60: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

Parentsfont, glyph, missing-glyph

vert-origin-y

Allowed ValueA number value

Parentsfont, glyph, missing-glyph

viewBox

Allowed ValuesA list of four numbers: min-x, min-y, width, height

Parentsmarker, pattern, svg, symbol, view

viewTarget

Allowed ValuesOne or more XML names

Parentview

visibility

Allowed Valuesvisible, hidden, collapse, inherit

Parentsa, altGlyph, circle, clipPath, defs, ellipse, feImage, filter, font, foreignObject, g,glyph, image, line, marker, mask, missing-glyph, path, pattern, polygon, polyline, rect,svg, switch, symbol, text, textPath, tref, tspan, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-110

0672324296 AppC 1/5/05 10:59 AM Page Web-110

Page 61: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

width

Allowed ValueA length value

ParentsfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feMerge,feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter,foreignObject, image, mask, pattern, rect, svg, use

widths

Allowed ValuesA list of an optional range of Unicode characters followed by one or more numbers

Parentfont-face

word-spacing

Allowed Valuesnormal, a length value, inherit

Parentsa, altGlyph, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker,mask, missing-glyph, pattern, svg, switch, symbol, text, textPath, tref, tspan, use

writing-mode

Allowed Valueslr-tb, rl-tb, tb-rl, lr, rl, tb, inherit

Parentsa, clipPath, defs, feImage, filter, font, foreignObject, g, glyph, marker, mask, missing-glyph, pattern, svg, switch, symbol, text, use

writing-mode Web-111C

0672324296 AppC 1/5/05 10:59 AM Page Web-111

Page 62: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

x 1(3)

Allowed ValueAn x coordinate

Parentscursor, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feMerge,feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter,foreignObject, image, mask, pattern, rect, svg, use

x 2(3)

Allowed ValuesA list of one or more x coordinates

ParentsaltGlyph, text, tref, tspan

x 3(3)

Allowed ValueA number value

ParentsfePointLight, feSpotLight, glyphRef

x-height

Allowed ValueA number value

Parentfont-face

APPENDIX C SVG Attributes and Properties ReferenceWeb-112

0672324296 AppC 1/5/05 10:59 AM Page Web-112

Page 63: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

x1

Allowed ValueAn x coordinate

Parentsline, linearGradient

x2

Allowed ValueAn x coordinate

Parentsline, linearGradient

xChannelSelector

Allowed ValuesR, G, B, A

ParentfeDisplacementMap

xlink:actuate 1(2)

Allowed ValueonRequest

Parenta

xlink:actuate 2(2)

Allowed ValueonLoad

xlink:actuate 2(2) Web-113C

0672324296 AppC 1/5/05 10:59 AM Page Web-113

Page 64: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentsaltGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

xlink:arcrole

Allowed ValueA URI as defined in RFC2396

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

xlink:href

Allowed ValueA URI as defined in RFC239

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

xlink:role

Allowed ValueA URI as defined in RFC2396

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-114

0672324296 AppC 1/5/05 10:59 AM Page Web-114

Page 65: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

xlink:show 1(2)

Allowed Valuesnew, replace

Parenta

xlink:show 2(2)

Allowed Valueembed

ParentsaltGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

xlink:title

Allowed ValueA string value

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

xlink:type

Allowed Valuesimple

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

xlink:type Web-115C

0672324296 AppC 1/5/05 10:59 AM Page Web-115

Page 66: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

xml:base

Allowed ValueA URI

Parentsa, altGlyph, altGlyphDef, altGlyphItem, animate, animateColor, animateMotion,animateTransform, circle, clipPath, color-profile, cursor, definition-src, defs, desc,ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feDistantLight, feFlood, feFuncA, feFuncB,feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology,feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence,filter, font, font-face, font-face-format, font-face-name, font-face-src, font-face-uri, foreignObject, g, glyph, glyphRef, hkern, image, line, linearGradient,marker, mask, metadata, missing-glyph, mpath, path, pattern, polygon, polyline,radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath,title, tref, tspan, use, view, vkern

xml:lang

Allowed ValueA language identifier

Parentsa, altGlyph, circle, clipPath, defs, desc, ellipse, feImage, filter, foreignObject, g,image, line, marker, mask, path, pattern, polygon, polyline, rect, svg, switch, symbol,text, textPath, title, tref, tspan, use

xml:space

Allowed Valuesdefault, preserve

Parentsa, altGlyph, circle, clipPath, defs, desc, ellipse, feImage, filter, foreignObject, g,image, line, marker, mask, path, pattern, polygon, polyline, rect, style, svg, switch,symbol, text, textPath, title, tref, tspan, use

APPENDIX C SVG Attributes and Properties ReferenceWeb-116

0672324296 AppC 1/5/05 10:59 AM Page Web-116

Page 67: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

xmlns

Allowed Value“http://www.w3.org/2000/svg”

Parentsvg

xmlns:xlink

Allowed Value“http://www.w3.org/1999/xlink”

Parentsa, altGlyph, animate, animateColor, animateMotion, animateTransform, color-profile,cursor, definition-src, feImage, filter, font-face-uri, glyphRef, image,linearGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use

y 1(3)

Allowed ValueA y coordinate

Parentscursor, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix,feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feMerge,feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter,foreignObject, image, mask, pattern, rect, svg, use

y 2(3)

Allowed ValuesA list of y coordinates

ParentsaltGlyph, text, tref, tspan

y 2(3) Web-117C

0672324296 AppC 1/5/05 10:59 AM Page Web-117

Page 68: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

y 3(3)

Allowed ValueA number value

ParentsfePointLight, feSpotLight, glyphRef

y1

Allowed ValueA y coordinate

Parentsline, linearGradient

y2

Allowed ValueA y coordinate

Parentsline, linearGradient

yChannelSelector

Allowed ValuesR, G, B, A

ParentfeDisplacementMap

z

Allowed ValueA number value

APPENDIX C SVG Attributes and Properties ReferenceWeb-118

0672324296 AppC 1/5/05 10:59 AM Page Web-118

Page 69: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

ParentsfePointLight, feSpotLight

zoomAndPan

Allowed Valuesdisable, magnify

Parentssvg, view

zoomAndPan Web-119C

0672324296 AppC 1/5/05 10:59 AM Page Web-119

Page 70: SVG Attributes and Properties Reference - …ptgmedia.pearsoncmg.com/images/0672324296/downloads/Appendix_… · APPENDIX C SVG Attributes and Properties Reference I n this reference,

0672324296 AppC 1/5/05 10:59 AM Page Web-120