附录 G:属性索引

本附录为信息性内容,而非规范性内容。

G.1. 常规属性

下表列出了 SVG 语言中定义的所有属性,除了在下文的 表现属性 部分中介绍的 表现属性。对于每个属性,还列出了可以指定该属性的元素。

属性 可以指定该属性的元素 动画
accumulate animate, animateMotion, animateTransform
additive animate, animateMotion, animateTransform
amplitude feFuncA, feFuncB, feFuncG, feFuncR
aria-activedescendant a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-atomic a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-autocomplete a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-busy a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-checked a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-colcount a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-colindex a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-colspan a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-controls a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-current a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-describedby a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-details a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-disabled a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-dropeffect a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-errormessage a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-expanded a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-flowto a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-grabbed a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-haspopup a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-hidden a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-invalid a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-keyshortcuts a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-label a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-labelledby a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-level a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-live a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-modal a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-multiline a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-multiselectable a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-orientation a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-owns a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-placeholder a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-posinset a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-pressed a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-readonly a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-relevant a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-required a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-roledescription a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-rowcount a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-rowindex a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-rowspan a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-selected a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-setsize a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-sort a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-valuemax a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-valuemin a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-valuenow a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
aria-valuetext a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
attributeName animate, animateTransform, set
azimuth feDistantLight
baseFrequency feTurbulence
begin animate, animateMotion, animateTransform, set
begin discard
bias feConvolveMatrix
by animate, animateMotion, animateTransform
calcMode animate, animateMotion, animateTransform
class a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, iframe, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
clipPathUnits clipPath
crossorigin feImage
crossorigin image
crossorigin script
cx radialGradient
cy radialGradient
diffuseConstant feDiffuseLighting
divisor feConvolveMatrix
download a
dur animate, animateMotion, animateTransform, set
dx feDropShadow
dx feOffset
dx text
dx tspan
dy feDropShadow
dy feOffset
dy text
dy tspan
edgeMode feConvolveMatrix
edgeMode feGaussianBlur
elevation feDistantLight
end animate, animateMotion, animateTransform, set
exponent feFuncA, feFuncB, feFuncG, feFuncR
fill animate, animateMotion, animateTransform, set
filterUnits filter
fr radialGradient
from animate, animateMotion, animateTransform
fx radialGradient
fy radialGradient
gradientTransform linearGradient
gradientTransform radialGradient
gradientUnits linearGradient
gradientUnits radialGradient
height feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence
height filter
height mask
height pattern
href a
href animate, animateMotion, animateTransform, set
href discard
href feImage
href image
href linearGradient
href mpath
href pattern
href radialGradient
href script
href textPath
href use
hreflang a
id a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, iframe, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
in feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feGaussianBlur, feMergeNode, feMorphology, feOffset, feSpecularLighting, feTile
in2 feBlend
in2 feComposite
in2 feDisplacementMap
intercept feFuncA, feFuncB, feFuncG, feFuncR
k1 feComposite
k2 feComposite
k3 feComposite
k4 feComposite
kernelMatrix feConvolveMatrix
kernelUnitLength feConvolveMatrix
kernelUnitLength feDiffuseLighting
kernelUnitLength feSpecularLighting
keyPoints animateMotion
keySplines animate, animateMotion, animateTransform
keyTimes animate, animateMotion, animateTransform
lang a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, iframe, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
lengthAdjust text, textPath, tspan
limitingConeAngle feSpotLight
markerHeight marker
markerUnits marker
markerWidth marker
maskContentUnits mask
maskUnits mask
max animate, animateMotion, animateTransform, set
media style
method textPath
min animate, animateMotion, animateTransform, set
mode feBlend
numOctaves feTurbulence
offset feFuncA, feFuncB, feFuncG, feFuncR
offset stop
onabort svg
onafterprint
onbeforeprint
onbegin animate, animateMotion, animateTransform, set
oncancel a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
oncanplay a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
oncanplaythrough a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onchange a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onclick a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onclose a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
oncopy a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
oncuechange a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
oncut a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondblclick a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondrag a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondragend a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondragenter a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondragexit a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondragleave a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondragover a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondragstart a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondrop a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ondurationchange a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onemptied a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onend animate, animateMotion, animateTransform, set
onended a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onerror a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onerror svg
onfocus a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onfocusin a, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video
onfocusout a, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video
onhashchange
oninput a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
oninvalid a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onkeydown a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onkeypress a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onkeyup a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onload a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onloadeddata a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onloadedmetadata a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onloadstart a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmessage
onmousedown a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmouseenter a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmouseleave a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmousemove a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmouseout a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmouseover a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmouseup a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onmousewheel a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onoffline
ononline
onpagehide
onpageshow
onpaste a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onpause a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onplay a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onplaying a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onpopstate
onprogress a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onratechange a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onrepeat animate, animateMotion, animateTransform, set
onreset a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onresize a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onresize svg
onscroll a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onscroll svg
onseeked a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onseeking a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onselect a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onshow a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onstalled a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onstorage
onsubmit a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onsuspend a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ontimeupdate a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
ontoggle a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onunload
onunload svg
onvolumechange a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
onwaiting a, animate, animateMotion, animateTransform, audio, canvas, circle, defs, desc, ellipse, foreignObject, g, iframe, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
operator feComposite
operator feMorphology
order feConvolveMatrix
orient marker
origin animateMotion
path animateMotion
path textPath
pathLength circle, ellipse, line, path, polygon, polyline, rect
patternContentUnits pattern
patternTransform pattern
patternUnits pattern
ping a
playbackorder svg
points polygon
points polyline
pointsAtX feSpotLight
pointsAtY feSpotLight
pointsAtZ feSpotLight
preserveAlpha feConvolveMatrix
preserveAspectRatio canvas, feImage, image, marker, pattern, svg, symbol, view
primitiveUnits filter
r radialGradient
radius feMorphology
refX marker
refX symbol
refY marker
refY symbol
referrerpolicy a
rel a
repeatCount animate, animateMotion, animateTransform, set
repeatDur animate, animateMotion, animateTransform, set
requiredExtensions a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, discard, ellipse, foreignObject, g, iframe, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tspan, unknown, use, video
restart animate, animateMotion, animateTransform, set
result feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence
role a, audio, canvas, circle, discard, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, unknown, use, video, view
rotate animateMotion
rotate text
rotate tspan
scale feDisplacementMap
seed feTurbulence
side textPath
slope feFuncA, feFuncB, feFuncG, feFuncR
spacing textPath
specularConstant feSpecularLighting
specularExponent feSpecularLighting
specularExponent feSpotLight
spreadMethod linearGradient
spreadMethod radialGradient
startOffset textPath
stdDeviation feDropShadow
stdDeviation feGaussianBlur
stitchTiles feTurbulence
style a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, iframe, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
surfaceScale feDiffuseLighting
surfaceScale feSpecularLighting
systemLanguage a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, discard, ellipse, foreignObject, g, iframe, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tspan, unknown, use, video
tabindex a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, iframe, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
tableValues feFuncA, feFuncB, feFuncG, feFuncR
target a
targetX feConvolveMatrix
targetY feConvolveMatrix
textLength text
textLength textPath, tspan
timelinebegin svg
title style
to animate, animateMotion, animateTransform
to set
transform svg
type a
type animateTransform
type feColorMatrix
type feFuncA, feFuncB, feFuncG, feFuncR
type feTurbulence
type script
type style
values animate, animateMotion, animateTransform
values feColorMatrix
viewBox marker, pattern, svg, symbol, view
width feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence
width filter
width mask
width pattern
x feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence
x fePointLight
x feSpotLight
x filter
x mask
x pattern
x text
x tspan
x1 line
x1 linearGradient
x2 line
x2 linearGradient
xChannelSelector feDisplacementMap
xlink:href a, image, linearGradient, pattern, radialGradient, script, textPath, use
xlink:href feImage
xlink:title a, image, linearGradient, pattern, radialGradient, script, textPath, use
xml:space a, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, iframe, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, unknown, use, video, view
y feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence
y fePointLight
y feSpotLight
y filter
y mask
y pattern
y text
y tspan
y1 line
y1 linearGradient
y2 line
y2 linearGradient
yChannelSelector feDisplacementMap
z fePointLight
z feSpotLight
zoomAndPan svg, view

G.2. 表现属性

如在样式章节中所述,每个属性都有一个相应的表现属性。 下表列出了表现属性。

alignment-baseline, writing-mode, clip, clip-path, clip-rule, color, color-interpolation, color-interpolation-filters, color-rendering, cursor, direction, display, dominant-baseline, fill, fill-opacity, fill-rule, filter, flood-color, flood-opacity, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, glyph-orientation-horizontal, glyph-orientation-vertical, image-rendering, baseline-shift, lighting-color, marker-end, marker-mid, marker-start, mask, opacity, overflow, paint-order, pointer-events, shape-rendering, stop-color, stop-opacity, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, text-decoration, text-rendering, transform, unicode-bidi, vector-effect, visibility, word-spacing and letter-spacing