©
本文档使用
php中文网手册 发布
This appendix is informative, not normative.
The following table lists all of the attributes defined in the SVG language, except for the presentation attributes, which are treated in the Presentation attributes section below. For each attribute, the elements on which the attribute may be specified is also given.
| Attribute | Elements on which the attribute may be specified | Anim. |
|---|---|---|
| ‘accent-height’ | ‘font-face’ | |
| ‘accumulate’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘additive’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘alphabetic’ | ‘font-face’ | |
| ‘amplitude’ | ‘feFuncA’, ‘feFuncB’, ‘feFuncG’, ‘feFuncR’ | ✓ |
| ‘arabic-form’ | ‘glyph’ | |
| ‘ascent’ | ‘font-face’ | |
| ‘attributeName’ | ‘animate’, ‘animateColor’, ‘animateTransform’, ‘set’ | |
| ‘attributeType’ | ‘animate’, ‘animateColor’, ‘animateTransform’, ‘set’ | |
| ‘azimuth’ | ‘feDistantLight’ | ✓ |
| ‘baseFrequency’ | ‘feTurbulence’ | ✓ |
| ‘baseProfile’ | ‘svg’ | |
| ‘bbox’ | ‘font-face’ | |
| ‘begin’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘bias’ | ‘feConvolveMatrix’ | ✓ |
| ‘by’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘calcMode’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘cap-height’ | ‘font-face’ | |
| ‘class’ | ‘a’, ‘altGlyph’, ‘circle’, ‘clipPath’, ‘defs’, ‘desc’, ‘ellipse’, ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’, ‘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’ | ✓ |
| ‘clipPathUnits’ | ‘clipPath’ | ✓ |
| ‘contentScriptType’ | ‘svg’ | |
| ‘contentStyleType’ | ‘svg’ | |
| ‘cx’ | ‘circle’ | ✓ |
| ‘cx’ | ‘ellipse’ | ✓ |
| ‘cx’ | ‘radialGradient’ | ✓ |
| ‘cy’ | ‘circle’ | ✓ |
| ‘cy’ | ‘ellipse’ | ✓ |
| ‘cy’ | ‘radialGradient’ | ✓ |
| ‘d’ | ‘path’ | ✓ |
| ‘d’ | ‘glyph’, ‘missing-glyph’ | |
| ‘descent’ | ‘font-face’ | |
| ‘diffuseConstant’ | ‘feDiffuseLighting’ | ✓ |
| ‘divisor’ | ‘feConvolveMatrix’ | ✓ |
| ‘dur’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘dx’ | ‘altGlyph’ | ✓ |
| ‘dx’ | ‘feOffset’ | ✓ |
| ‘dx’ | ‘glyphRef’ | |
| ‘dx’ | ‘text’ | ✓ |
| ‘dx’ | ‘tref’, ‘tspan’ | ✓ |
| ‘dy’ | ‘altGlyph’ | ✓ |
| ‘dy’ | ‘feOffset’ | ✓ |
| ‘dy’ | ‘glyphRef’ | |
| ‘dy’ | ‘text’ | ✓ |
| ‘dy’ | ‘tref’, ‘tspan’ | ✓ |
| ‘edgeMode’ | ‘feConvolveMatrix’ | ✓ |
| ‘elevation’ | ‘feDistantLight’ | ✓ |
| ‘end’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘exponent’ | ‘feFuncA’, ‘feFuncB’, ‘feFuncG’, ‘feFuncR’ | ✓ |
| ‘externalResourcesRequired’ | ‘a’, ‘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’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘filterRes’ | ‘filter’ | ✓ |
| ‘filterUnits’ | ‘filter’ | ✓ |
| ‘font-family’ | ‘font-face’ | |
| ‘font-size’ | ‘font-face’ | |
| ‘font-stretch’ | ‘font-face’ | |
| ‘font-style’ | ‘font-face’ | |
| ‘font-variant’ | ‘font-face’ | |
| ‘font-weight’ | ‘font-face’ | |
| ‘format’ | ‘altGlyph’ | |
| ‘format’ | ‘glyphRef’ | |
| ‘from’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘fx’ | ‘radialGradient’ | ✓ |
| ‘fy’ | ‘radialGradient’ | ✓ |
| ‘g1’ | ‘hkern’, ‘vkern’ | |
| ‘g2’ | ‘hkern’, ‘vkern’ | |
| ‘glyph-name’ | ‘glyph’ | |
| ‘glyphRef’ | ‘altGlyph’ | |
| ‘glyphRef’ | ‘glyphRef’ | |
| ‘gradientTransform’ | ‘linearGradient’ | ✓ |
| ‘gradientTransform’ | ‘radialGradient’ | ✓ |
| ‘gradientUnits’ | ‘linearGradient’ | ✓ |
| ‘gradientUnits’ | ‘radialGradient’ | ✓ |
| ‘hanging’ | ‘font-face’ | |
| ‘height’ | ‘filter’ | ✓ |
| ‘height’ | ‘foreignObject’ | ✓ |
| ‘height’ | ‘image’ | ✓ |
| ‘height’ | ‘pattern’ | ✓ |
| ‘height’ | ‘rect’ | ✓ |
| ‘height’ | ‘svg’ | ✓ |
| ‘height’ | ‘use’ | ✓ |
| ‘height’ | ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’ | ✓ |
| ‘height’ | ‘mask’ | ✓ |
| ‘horiz-adv-x’ | ‘font’ | |
| ‘horiz-adv-x’ | ‘glyph’, ‘missing-glyph’ | |
| ‘horiz-origin-x’ | ‘font’ | |
| ‘horiz-origin-y’ | ‘font’ | |
| ‘id’ | ‘a’, ‘altGlyph’, ‘altGlyphDef’, ‘altGlyphItem’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘circle’, ‘clipPath’, ‘color-profile’, ‘cursor’, ‘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’ | ‘font-face’ | |
| ‘in’ | ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feGaussianBlur’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’ | ✓ |
| ‘in2’ | ‘feBlend’ | ✓ |
| ‘in2’ | ‘feComposite’ | ✓ |
| ‘in2’ | ‘feDisplacementMap’ | ✓ |
| ‘intercept’ | ‘feFuncA’, ‘feFuncB’, ‘feFuncG’, ‘feFuncR’ | ✓ |
| ‘k’ | ‘hkern’, ‘vkern’ | |
| ‘k1’ | ‘feComposite’ | ✓ |
| ‘k2’ | ‘feComposite’ | ✓ |
| ‘k3’ | ‘feComposite’ | ✓ |
| ‘k4’ | ‘feComposite’ | ✓ |
| ‘kernelMatrix’ | ‘feConvolveMatrix’ | ✓ |
| ‘kernelUnitLength’ | ‘feConvolveMatrix’ | ✓ |
| ‘kernelUnitLength’ | ‘feDiffuseLighting’ | ✓ |
| ‘kernelUnitLength’ | ‘feSpecularLighting’ | ✓ |
| ‘keyPoints’ | ‘animateMotion’ | |
| ‘keySplines’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘keyTimes’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘lang’ | ‘glyph’ | |
| ‘lengthAdjust’ | ‘text’, ‘textPath’, ‘tref’, ‘tspan’ | ✓ |
| ‘limitingConeAngle’ | ‘feSpotLight’ | ✓ |
| ‘local’ | ‘color-profile’ | |
| ‘markerHeight’ | ‘marker’ | ✓ |
| ‘markerUnits’ | ‘marker’ | ✓ |
| ‘markerWidth’ | ‘marker’ | ✓ |
| ‘maskContentUnits’ | ‘mask’ | ✓ |
| ‘maskUnits’ | ‘mask’ | ✓ |
| ‘mathematical’ | ‘font-face’ | |
| ‘max’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘media’ | ‘style’ | |
| ‘method’ | ‘textPath’ | ✓ |
| ‘min’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘mode’ | ‘feBlend’ | ✓ |
| ‘name’ | ‘color-profile’ | |
| ‘name’ | ‘font-face-name’ | |
| ‘numOctaves’ | ‘feTurbulence’ | ✓ |
| ‘offset’ | ‘stop’ | ✓ |
| ‘offset’ | ‘feFuncA’, ‘feFuncB’, ‘feFuncG’, ‘feFuncR’ | ✓ |
| ‘onabort’ | ‘svg’ | |
| ‘onactivate’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onbegin’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘onclick’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onend’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘onerror’ | ‘svg’ | |
| ‘onfocusin’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onfocusout’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onload’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onload’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘onmousedown’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onmousemove’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onmouseout’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onmouseover’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onmouseup’ | ‘a’, ‘altGlyph’, ‘circle’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘svg’, ‘switch’, ‘symbol’, ‘text’, ‘textPath’, ‘tref’, ‘tspan’, ‘use’ | |
| ‘onrepeat’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘onresize’ | ‘svg’ | |
| ‘onscroll’ | ‘svg’ | |
| ‘onunload’ | ‘svg’ | |
| ‘onzoom’ | ‘svg’ | |
| ‘operator’ | ‘feComposite’ | ✓ |
| ‘operator’ | ‘feMorphology’ | ✓ |
| ‘order’ | ‘feConvolveMatrix’ | ✓ |
| ‘orient’ | ‘marker’ | ✓ |
| ‘orientation’ | ‘glyph’ | |
| ‘origin’ | ‘animateMotion’ | |
| ‘overline-position’ | ‘font-face’ | |
| ‘overline-thickness’ | ‘font-face’ | |
| ‘panose-1’ | ‘font-face’ | |
| ‘path’ | ‘animateMotion’ | |
| ‘pathLength’ | ‘path’ | ✓ |
| ‘patternContentUnits’ | ‘pattern’ | ✓ |
| ‘patternTransform’ | ‘pattern’ | ✓ |
| ‘patternUnits’ | ‘pattern’ | ✓ |
| ‘points’ | ‘polygon’ | ✓ |
| ‘points’ | ‘polyline’ | ✓ |
| ‘pointsAtX’ | ‘feSpotLight’ | ✓ |
| ‘pointsAtY’ | ‘feSpotLight’ | ✓ |
| ‘pointsAtZ’ | ‘feSpotLight’ | ✓ |
| ‘preserveAlpha’ | ‘feConvolveMatrix’ | ✓ |
| ‘preserveAspectRatio’ | ‘feImage’, ‘image’, ‘marker’, ‘pattern’, ‘svg’, ‘symbol’, ‘view’ | ✓ |
| ‘primitiveUnits’ | ‘filter’ | ✓ |
| ‘r’ | ‘circle’ | ✓ |
| ‘r’ | ‘radialGradient’ | ✓ |
| ‘radius’ | ‘feMorphology’ | ✓ |
| ‘refX’ | ‘marker’ | ✓ |
| ‘refY’ | ‘marker’ | ✓ |
| ‘rendering-intent’ | ‘color-profile’ | |
| ‘repeatCount’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘repeatDur’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘requiredExtensions’ | ‘a’, ‘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’ | ‘a’, ‘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’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘result’ | ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’ | ✓ |
| ‘rotate’ | ‘altGlyph’ | ✓ |
| ‘rotate’ | ‘animateMotion’ | |
| ‘rotate’ | ‘text’ | ✓ |
| ‘rotate’ | ‘tref’, ‘tspan’ | ✓ |
| ‘rx’ | ‘ellipse’ | ✓ |
| ‘rx’ | ‘rect’ | ✓ |
| ‘ry’ | ‘ellipse’ | ✓ |
| ‘ry’ | ‘rect’ | ✓ |
| ‘scale’ | ‘feDisplacementMap’ | ✓ |
| ‘seed’ | ‘feTurbulence’ | ✓ |
| ‘slope’ | ‘font-face’ | |
| ‘slope’ | ‘feFuncA’, ‘feFuncB’, ‘feFuncG’, ‘feFuncR’ | ✓ |
| ‘spacing’ | ‘textPath’ | ✓ |
| ‘specularConstant’ | ‘feSpecularLighting’ | ✓ |
| ‘specularExponent’ | ‘feSpecularLighting’ | ✓ |
| ‘specularExponent’ | ‘feSpotLight’ | ✓ |
| ‘spreadMethod’ | ‘linearGradient’ | ✓ |
| ‘spreadMethod’ | ‘radialGradient’ | ✓ |
| ‘startOffset’ | ‘textPath’ | ✓ |
| ‘stdDeviation’ | ‘feGaussianBlur’ | ✓ |
| ‘stemh’ | ‘font-face’ | |
| ‘stemv’ | ‘font-face’ | |
| ‘stitchTiles’ | ‘feTurbulence’ | ✓ |
| ‘strikethrough-position’ | ‘font-face’ | |
| ‘strikethrough-thickness’ | ‘font-face’ | |
| ‘string’ | ‘font-face-format’ | |
| ‘style’ | ‘a’, ‘altGlyph’, ‘circle’, ‘clipPath’, ‘defs’, ‘desc’, ‘ellipse’, ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’, ‘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’ | ‘feDiffuseLighting’ | ✓ |
| ‘surfaceScale’ | ‘feSpecularLighting’ | ✓ |
| ‘systemLanguage’ | ‘a’, ‘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’ | ‘feFuncA’, ‘feFuncB’, ‘feFuncG’, ‘feFuncR’ | ✓ |
| ‘target’ | ‘a’ | ✓ |
| ‘targetX’ | ‘feConvolveMatrix’ | ✓ |
| ‘targetY’ | ‘feConvolveMatrix’ | ✓ |
| ‘textLength’ | ‘text’ | ✓ |
| ‘textLength’ | ‘textPath’, ‘tref’, ‘tspan’ | ✓ |
| ‘title’ | ‘style’ | |
| ‘to’ | ‘set’ | |
| ‘to’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘transform’ | ‘a’, ‘circle’, ‘clipPath’, ‘defs’, ‘ellipse’, ‘foreignObject’, ‘g’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘switch’, ‘text’, ‘use’ | ✓ |
| ‘type’ | ‘animateTransform’ | |
| ‘type’ | ‘feColorMatrix’ | ✓ |
| ‘type’ | ‘feTurbulence’ | ✓ |
| ‘type’ | ‘script’ | |
| ‘type’ | ‘style’ | |
| ‘type’ | ‘feFuncA’, ‘feFuncB’, ‘feFuncG’, ‘feFuncR’ | ✓ |
| ‘u1’ | ‘hkern’, ‘vkern’ | |
| ‘u2’ | ‘hkern’, ‘vkern’ | |
| ‘underline-position’ | ‘font-face’ | |
| ‘underline-thickness’ | ‘font-face’ | |
| ‘unicode’ | ‘glyph’ | |
| ‘unicode-range’ | ‘font-face’ | |
| ‘units-per-em’ | ‘font-face’ | |
| ‘v-alphabetic’ | ‘font-face’ | |
| ‘v-hanging’ | ‘font-face’ | |
| ‘v-ideographic’ | ‘font-face’ | |
| ‘v-mathematical’ | ‘font-face’ | |
| ‘values’ | ‘feColorMatrix’ | ✓ |
| ‘values’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’ | |
| ‘version’ | ‘svg’ | |
| ‘vert-adv-y’ | ‘font’ | |
| ‘vert-adv-y’ | ‘glyph’, ‘missing-glyph’ | |
| ‘vert-origin-x’ | ‘font’ | |
| ‘vert-origin-x’ | ‘glyph’, ‘missing-glyph’ | |
| ‘vert-origin-y’ | ‘font’ | |
| ‘vert-origin-y’ | ‘glyph’, ‘missing-glyph’ | |
| ‘viewBox’ | ‘marker’, ‘pattern’, ‘svg’, ‘symbol’, ‘view’ | ✓ |
| ‘viewTarget’ | ‘view’ | |
| ‘width’ | ‘filter’ | ✓ |
| ‘width’ | ‘foreignObject’ | ✓ |
| ‘width’ | ‘image’ | ✓ |
| ‘width’ | ‘pattern’ | ✓ |
| ‘width’ | ‘rect’ | ✓ |
| ‘width’ | ‘svg’ | ✓ |
| ‘width’ | ‘use’ | ✓ |
| ‘width’ | ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’ | ✓ |
| ‘width’ | ‘mask’ | ✓ |
| ‘widths’ | ‘font-face’ | |
| ‘x’ | ‘altGlyph’ | ✓ |
| ‘x’ | ‘cursor’ | ✓ |
| ‘x’ | ‘fePointLight’ | ✓ |
| ‘x’ | ‘feSpotLight’ | ✓ |
| ‘x’ | ‘filter’ | ✓ |
| ‘x’ | ‘foreignObject’ | ✓ |
| ‘x’ | ‘glyphRef’ | |
| ‘x’ | ‘image’ | ✓ |
| ‘x’ | ‘pattern’ | ✓ |
| ‘x’ | ‘rect’ | ✓ |
| ‘x’ | ‘svg’ | ✓ |
| ‘x’ | ‘text’ | ✓ |
| ‘x’ | ‘use’ | ✓ |
| ‘x’ | ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’ | ✓ |
| ‘x’ | ‘mask’ | ✓ |
| ‘x’ | ‘tref’, ‘tspan’ | ✓ |
| ‘x-height’ | ‘font-face’ | |
| ‘x1’ | ‘line’ | ✓ |
| ‘x1’ | ‘linearGradient’ | ✓ |
| ‘x2’ | ‘line’ | ✓ |
| ‘x2’ | ‘linearGradient’ | ✓ |
| ‘xChannelSelector’ | ‘feDisplacementMap’ | ✓ |
| ‘xlink:actuate’ | ‘a’ | |
| ‘xlink:actuate’ | ‘altGlyph’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘color-profile’, ‘cursor’, ‘feImage’, ‘filter’, ‘font-face-uri’, ‘glyphRef’, ‘image’, ‘mpath’, ‘pattern’, ‘script’, ‘set’, ‘use’ | |
| ‘xlink:arcrole’ | ‘a’, ‘altGlyph’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘color-profile’, ‘cursor’, ‘feImage’, ‘filter’, ‘font-face-uri’, ‘glyphRef’, ‘image’, ‘linearGradient’, ‘mpath’, ‘pattern’, ‘radialGradient’, ‘script’, ‘set’, ‘textPath’, ‘tref’, ‘use’ | |
| ‘xlink:href’ | ‘a’ | ✓ |
| ‘xlink:href’ | ‘altGlyph’ | |
| ‘xlink:href’ | ‘color-profile’ | |
| ‘xlink:href’ | ‘cursor’ | ✓ |
| ‘xlink:href’ | ‘feImage’ | ✓ |
| ‘xlink:href’ | ‘filter’ | ✓ |
| ‘xlink:href’ | ‘font-face-uri’ | |
| ‘xlink:href’ | ‘glyphRef’ | |
| ‘xlink:href’ | ‘image’ | ✓ |
| ‘xlink:href’ | ‘linearGradient’ | ✓ |
| ‘xlink:href’ | ‘mpath’ | |
| ‘xlink:href’ | ‘pattern’ | ✓ |
| ‘xlink:href’ | ‘radialGradient’ | ✓ |
| ‘xlink:href’ | ‘script’ | |
| ‘xlink:href’ | ‘textPath’ | ✓ |
| ‘xlink:href’ | ‘use’ | ✓ |
| ‘xlink:href’ | ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘set’ | |
| ‘xlink:href’ | ‘tref’ | ✓ |
| ‘xlink:role’ | ‘a’, ‘altGlyph’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘color-profile’, ‘cursor’, ‘feImage’, ‘filter’, ‘font-face-uri’, ‘glyphRef’, ‘image’, ‘linearGradient’, ‘mpath’, ‘pattern’, ‘radialGradient’, ‘script’, ‘set’, ‘textPath’, ‘tref’, ‘use’ | |
| ‘xlink:show’ | ‘a’ | |
| ‘xlink:show’ | ‘altGlyph’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘color-profile’, ‘cursor’, ‘feImage’, ‘filter’, ‘font-face-uri’, ‘glyphRef’, ‘image’, ‘mpath’, ‘pattern’, ‘script’, ‘set’, ‘use’ | |
| ‘xlink:title’ | ‘a’, ‘altGlyph’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘color-profile’, ‘cursor’, ‘feImage’, ‘filter’, ‘font-face-uri’, ‘glyphRef’, ‘image’, ‘linearGradient’, ‘mpath’, ‘pattern’, ‘radialGradient’, ‘script’, ‘set’, ‘textPath’, ‘tref’, ‘use’ | |
| ‘xlink:type’ | ‘a’, ‘altGlyph’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘color-profile’, ‘cursor’, ‘feImage’, ‘filter’, ‘font-face-uri’, ‘glyphRef’, ‘image’, ‘linearGradient’, ‘mpath’, ‘pattern’, ‘radialGradient’, ‘script’, ‘set’, ‘textPath’, ‘tref’, ‘use’ | |
| ‘xml:base’ | ‘a’, ‘altGlyph’, ‘altGlyphDef’, ‘altGlyphItem’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘circle’, ‘clipPath’, ‘color-profile’, ‘cursor’, ‘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’ | ‘a’, ‘altGlyph’, ‘altGlyphDef’, ‘altGlyphItem’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘circle’, ‘clipPath’, ‘color-profile’, ‘cursor’, ‘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:space’ | ‘a’, ‘altGlyph’, ‘altGlyphDef’, ‘altGlyphItem’, ‘animate’, ‘animateColor’, ‘animateMotion’, ‘animateTransform’, ‘circle’, ‘clipPath’, ‘color-profile’, ‘cursor’, ‘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’ | |
| ‘y’ | ‘altGlyph’ | ✓ |
| ‘y’ | ‘cursor’ | ✓ |
| ‘y’ | ‘fePointLight’ | ✓ |
| ‘y’ | ‘feSpotLight’ | ✓ |
| ‘y’ | ‘filter’ | ✓ |
| ‘y’ | ‘foreignObject’ | ✓ |
| ‘y’ | ‘glyphRef’ | |
| ‘y’ | ‘image’ | ✓ |
| ‘y’ | ‘pattern’ | ✓ |
| ‘y’ | ‘rect’ | ✓ |
| ‘y’ | ‘svg’ | ✓ |
| ‘y’ | ‘text’ | ✓ |
| ‘y’ | ‘use’ | ✓ |
| ‘y’ | ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’ | ✓ |
| ‘y’ | ‘mask’ | ✓ |
| ‘y’ | ‘tref’, ‘tspan’ | ✓ |
| ‘y1’ | ‘line’ | ✓ |
| ‘y1’ | ‘linearGradient’ | ✓ |
| ‘y2’ | ‘line’ | ✓ |
| ‘y2’ | ‘linearGradient’ | ✓ |
| ‘yChannelSelector’ | ‘feDisplacementMap’ | ✓ |
| ‘z’ | ‘fePointLight’ | ✓ |
| ‘z’ | ‘feSpotLight’ | ✓ |
| ‘zoomAndPan’ | ‘svg’, ‘view’ |
As described in the Styling chapter, for each property there exists a corresponding presentation attribute. The table below lists the presentation attributes and the elements on which they may be specified.
| Presentation attributes | Elements on which the attributes may be specified |
|---|---|
| ‘alignment-baseline’, ‘baseline-shift’, ‘clip-path’, ‘clip-rule’, ‘clip’, ‘color-interpolation-filters’, ‘color-interpolation’, ‘color-profile’, ‘color-rendering’, ‘color’, ‘cursor’, ‘direction’, ‘display’, ‘dominant-baseline’, ‘enable-background’, ‘fill-opacity’, ‘fill-rule’, ‘fill’, ‘filter’, ‘flood-color’, ‘flood-opacity’, ‘font-family’, ‘font-size-adjust’, ‘font-size’, ‘font-stretch’, ‘font-style’, ‘font-variant’, ‘font-weight’, ‘glyph-orientation-horizontal’, ‘glyph-orientation-vertical’, ‘image-rendering’, ‘kerning’, ‘letter-spacing’, ‘lighting-color’, ‘marker-end’, ‘marker-mid’, ‘marker-start’, ‘mask’, ‘opacity’, ‘overflow’, ‘pointer-events’, ‘shape-rendering’, ‘stop-color’, ‘stop-opacity’, ‘stroke-dasharray’, ‘stroke-dashoffset’, ‘stroke-linecap’, ‘stroke-linejoin’, ‘stroke-miterlimit’, ‘stroke-opacity’, ‘stroke-width’, ‘stroke’, ‘text-anchor’, ‘text-decoration’, ‘text-rendering’, ‘unicode-bidi’, ‘visibility’, ‘word-spacing’ and ‘writing-mode’ | ‘a’, ‘altGlyph’, ‘animate’, ‘animateColor’, ‘circle’, ‘clipPath’, ‘defs’, ‘ellipse’, ‘feBlend’, ‘feColorMatrix’, ‘feComponentTransfer’, ‘feComposite’, ‘feConvolveMatrix’, ‘feDiffuseLighting’, ‘feDisplacementMap’, ‘feFlood’, ‘feGaussianBlur’, ‘feImage’, ‘feMerge’, ‘feMorphology’, ‘feOffset’, ‘feSpecularLighting’, ‘feTile’, ‘feTurbulence’, ‘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’, ‘tref’, ‘tspan’ and ‘use’ |