From 35a96bde514a8897f6f0fcc41c5833bf63df2e2a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:29:01 +0200 Subject: Adding upstream version 1.0.2. Signed-off-by: Daniel Baumann --- share/attributes/CMakeLists.txt | 3 + share/attributes/README | 15 + share/attributes/attindex.html | 44 +++ share/attributes/css_defaults | 198 ++++++++++++ share/attributes/cssprops | 198 ++++++++++++ share/attributes/genMapDataCSS.pl | 405 ++++++++++++++++++++++++ share/attributes/genMapDataSVG.pl | 138 +++++++++ share/attributes/propidx.html | 268 ++++++++++++++++ share/attributes/svgprops | 638 ++++++++++++++++++++++++++++++++++++++ 9 files changed, 1907 insertions(+) create mode 100644 share/attributes/CMakeLists.txt create mode 100644 share/attributes/README create mode 100755 share/attributes/attindex.html create mode 100644 share/attributes/css_defaults create mode 100644 share/attributes/cssprops create mode 100755 share/attributes/genMapDataCSS.pl create mode 100755 share/attributes/genMapDataSVG.pl create mode 100755 share/attributes/propidx.html create mode 100644 share/attributes/svgprops (limited to 'share/attributes') diff --git a/share/attributes/CMakeLists.txt b/share/attributes/CMakeLists.txt new file mode 100644 index 0000000..7ce6e46 --- /dev/null +++ b/share/attributes/CMakeLists.txt @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +set(_FILES "svgprops" "cssprops" "css_defaults" "README") +install(FILES ${_FILES} DESTINATION ${INKSCAPE_SHARE_INSTALL}/attributes) diff --git a/share/attributes/README b/share/attributes/README new file mode 100644 index 0000000..a58ebb8 --- /dev/null +++ b/share/attributes/README @@ -0,0 +1,15 @@ +This directory contains data for XML attribute checking, CSS property +checking, and CSS defaults checking. + +svgprops - Mapping of valid attributes for elements in svg namespace + +cssprops - Mapping of valid CSS properties to svg elements + +css_defaults - Mapping of CSS properties to default values and inheritance. + +genMapData* - PERL script files that create the data files from the +Attribute and CSS Properties appendices of the SVG 1.1 2nd Edtion +specification located at http://www.w3.org/TR/SVG/ + +The data files are loaded at runtime. The default location is +'inkscape_data_dir/attributes'. They can be user customized. diff --git a/share/attributes/attindex.html b/share/attributes/attindex.html new file mode 100755 index 0000000..afb248e --- /dev/null +++ b/share/attributes/attindex.html @@ -0,0 +1,44 @@ + + + +Attribute Index – SVG 1.1 (Second Edition)
SVG 1.1 (Second Edition) – 16 August 2011TopContentsPreviousNextElementsAttributesProperties
+ +

Appendix M: Attribute Index

Contents

+ +

This appendix is informative, not normative.

+ +

M.1 Regular attributes

+ +

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.

+ +
AttributeElements on which the attribute may be specifiedAnim.
‘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’
+ +

M.2 Presentation attributes

+ +

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 attributesElements 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’ +
+ +
SVG 1.1 (Second Edition) – 16 August 2011TopContentsPreviousNextElementsAttributesProperties
\ No newline at end of file diff --git a/share/attributes/css_defaults b/share/attributes/css_defaults new file mode 100644 index 0000000..a7d7893 --- /dev/null +++ b/share/attributes/css_defaults @@ -0,0 +1,198 @@ +"alignment-baseline" - "auto" - "no" + +"backface-visibility" - "visible" - "no" + +"baseline-shift" - "baseline" - "no" + +"clip" - "auto" - "no" + +"clip-path" - "none" - "no" + +"clip-rule" - "nonzero" - "yes" + +"color" - "NO_DEFAULT" - "yes" + +"color-interpolation" - "sRGB" - "yes" + +"color-interpolation-filters" - "linearRGB" - "yes" + +"color-profile" - "auto" - "yes" + +"color-rendering" - "auto" - "yes" + +"cursor" - "auto" - "yes" + +"direction" - "ltr" - "yes" + +"display" - "inline" - "no" + +"dominant-baseline" - "auto" - "no" + +"enable-background" - "accumulate" - "no" + +"fill" - "black" - "yes" + +"fill-opacity" - "1" - "yes" + +"fill-rule" - "nonzero" - "yes" + +"filter" - "none" - "no" + +"flood-color" - "black" - "no" + +"flood-opacity" - "1" - "no" + +"font" - "NO_DEFAULT" - "yes" + +"font-family" - "NO_DEFAULT" - "yes" + +"font-feature-settings" - "normal" - "yes" + +"font-size" - "medium" - "yes, the computed value is inherited" + +"font-size-adjust" - "none" - "yes" + +"font-stretch" - "normal" - "yes" + +"font-style" - "normal" - "yes" + +"font-variant" - "normal" - "yes" + +"font-variant-alternates" - "normal" - "yes" + +"font-variant-caps" - "normal" - "yes" + +"font-variant-east-asian" - "normal" - "yes" + +"font-variant-ligatures" - "normal" - "yes" + +"font-variant-numeric" - "normal" - "yes" + +"font-variant-position" - "normal" - "yes" + +"font-variation-settings" - "normal" - "yes" + +"font-weight" - "normal" - "yes" + +"glyph-orientation-horizontal" - "0deg" - "yes" + +"glyph-orientation-vertical" - "auto" - "yes" + +"image-rendering" - "auto" - "yes" + +"inline-size" - "0" - "no" + +"isolation" - "auto" - "no" + +"kerning" - "auto" - "yes" + +"letter-spacing" - "normal" - "yes" + +"lighting-color" - "white" - "no" + +"line-height" - "NO DEFAULT" - "no" + +"marker" - "none" - "yes" + +"marker-end" - "none" - "yes" + +"marker-mid" - "none" - "yes" + +"marker-start" - "none" - "yes" + +"mask" - "none" - "no" + +"mix-blend-mode" - "normal" - "no" + +"opacity" - "1" - "no" + +"overflow" - "hidden" - "no" + +"paint-order" - "normal" - "yes" + +"perspective" - "none" - "no" + +"perspective-origin" - "NO_DEFAULT" - "no" + +"pointer-events" - "visiblePainted" - "yes" + +"shape-inside" - "auto" - "no" + +"shape-margin" - "0" - "no" + +"shape-padding" - "0" - "no" + +"shape-rendering" - "auto" - "yes" + +"shape-subtract" - "auto" - "no" + +"solid-color" - "#000000" - "no" + +"solid-opacity" - "1" - "no" + +"stop-color" - "black" - "no" + +"stop-opacity" - "1" - "no" + +"stroke" - "none" - "yes" + +"stroke-dasharray" - "none" - "yes" + +"stroke-dashoffset" - "0" - "yes" + +"stroke-linecap" - "butt" - "yes" + +"stroke-linejoin" - "miter" - "yes" + +"stroke-miterlimit" - "4" - "yes" + +"stroke-opacity" - "1" - "yes" + +"stroke-width" - "1" - "yes" + +"text-align" - "start" - "yes" + +"text-anchor" - "start" - "yes" + +"text-decoration" - "NO_DEFAULT" - "no" + +"text-decoration-color" - "NO_DEFAULT" - "no" + +"text-decoration-fill" - "NO_DEFAULT" - "no" + +"text-decoration-line" - "none" - "no" + +"text-decoration-stroke" - "NO_DEFAULT" - "no" + +"text-decoration-style" - "solid" - "no" + +"text-indent" - "0" - "yes" + +"text-orientation" - "mixed" - "yes" + +"text-rendering" - "auto" - "yes" + +"text-transform" - "none" - "yes" + +"title" - "NO DEFAULT" - "no" + +"transform" - "none" - "no" + +"transform-box" - "NO_DEFAULT" - "no" + +"transform-origin" - "NO_DEFAULT" - "no" + +"transform-style" - "flat" - "no" + +"unicode-bidi" - "normal" - "no" + +"vector-effect" - "none" - "no" + +"visibility" - "visible" - "yes" + +"white-space" - "normal" - "yes" + +"word-spacing" - "normal" - "yes" + +"writing-mode" - "lr-tb" - "yes" + diff --git a/share/attributes/cssprops b/share/attributes/cssprops new file mode 100644 index 0000000..0bdc3d7 --- /dev/null +++ b/share/attributes/cssprops @@ -0,0 +1,198 @@ +"alignment-baseline" - "tspan","tref","altGlyph","textPath" + +"backface-visibility" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"baseline-shift" - "tspan","tref","altGlyph","textPath" + +"clip" - "svg","symbol","foreignObject","pattern","marker" + +"clip-path" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"clip-rule" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","clip-path","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","path","rect","circle","ellipse","line","polyline","polygon","stop","feFlood","feDiffuseLighting","feSpecularLighting","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color-interpolation" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","animateColor" + +"color-interpolation-filters" - "feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","filter","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color-profile" - "image","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color-rendering" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","animateColor" + +"cursor" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"direction" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"display" - "svg","g","switch","a","foreignObject","text","tspan","tref","altGlyph","textPath","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"dominant-baseline" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"enable-background" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"fill" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"fill-opacity" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"fill-rule" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"filter" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"flood-color" - "feFlood" + +"flood-opacity" - "feFlood" + +"font" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-family" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-feature-settings" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-size" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-size-adjust" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-stretch" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-style" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-alternates" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-caps" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-east-asian" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-ligatures" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-numeric" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-position" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variation-settings" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-weight" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"glyph-orientation-horizontal" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"glyph-orientation-vertical" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"image-rendering" - "pattern","image","feImage","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"inline-size" - "text" + +"isolation" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"kerning" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"letter-spacing" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"lighting-color" - "feDiffuseLighting","feSpecularLighting" + +"line-height" - "text","tspan","flowRoot","flowPara" + +"marker" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"marker-end" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"marker-mid" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"marker-start" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"mask" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"mix-blend-mode" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"opacity" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"overflow" - "svg","symbol","foreignObject","pattern","marker" + +"paint-order" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"perspective" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"perspective-origin" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"pointer-events" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"shape-inside" - "text" + +"shape-margin" - "text" + +"shape-padding" - "text" + +"shape-rendering" - "path","rect","circle","ellipse","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"shape-subtract" - "text" + +"solid-color" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"solid-opacity" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"stop-color" - "stop" + +"stop-opacity" - "stop" + +"stroke" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-dasharray" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-dashoffset" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-linecap" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-linejoin" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-miterlimit" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-opacity" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-width" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-align" - "flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-anchor" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-decoration" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-color" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-fill" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-line" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-stroke" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-style" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-indent" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-orientation" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-rendering" - "text","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-transform" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"title" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","g" + +"transform" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"transform-box" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"transform-origin" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"transform-style" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"unicode-bidi" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"vector-effect" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"visibility" - "text","tspan","tref","altGlyph","textPath","a","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"white-space" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"word-spacing" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"writing-mode" - "text","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl new file mode 100755 index 0000000..6e95b1e --- /dev/null +++ b/share/attributes/genMapDataCSS.pl @@ -0,0 +1,405 @@ +#!/usr/bin/env perl + +# Purpose: To extract the css_defaults and cssprops data from the +# SVG 1.1 2nd Ed specification file propidx.html. The file can be found at: +# +# http://www.w3.org/TR/SVG/propidx.html +# +# A number of adjustments must be made after parsing the HTML file. + +# Author: Tavmjong Bah +# Rewrite of script by Abhishek + +use strict; +use warnings; +use HTML::TokeParser; + +# Groups of elements defined in spec. +# Note "use" is not a container element but it acts like one! +# Note "flowRoot, flowPara, flowSpan, flowRegion, and flowRect are Inkscape +# specific (failed SVG1.2 items) +my @container_elements = ("a", "defs", "glyph", "g", "marker", "mask", "missing-glyph", "pattern", "svg", "switch", "symbol", "use"); +my @graphics_elements = ("circle", "ellipse", "image", "line", "path", "polygon", "polyline", "rect", "text", "flowRoot", "use"); +my @filter_primitives = ("feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", + "feDiffuseLighting", "feDisplacementMap", "feFlood", "feGaussianBlur", "feImage", + "feMerge", "feMorphology", "feOffset", "feSpecularLighting", "feTile", "feTurbulence" ); +my @text_content_elements = ("altGlyph", "textPath", "text", "tref", "tspan", "flowRoot", "flowPara", "flowSpan"); +my @shapes = ("path", "rect", "circle", "ellipse", "line", "polyline", "polygon"); +my @viewport = ("svg", "symbol", "foreignObject" ); + +my $p= HTML::TokeParser->new('propidx.html') or die "Can't open file: $!"; + +my %properties; +my $property; + +# Loop over tokens +while( my $t = $p->get_token ) { + + # Look for (start token with value 'tr'). + if( $t->[0] eq 'S' and lc $t->[1] eq 'tr') { + + print "---------\n"; + + my $column = 0; + while( $t = $p->get_token ) { + + # Keep track of column + if( $t->[0] eq 'S' and lc $t->[1] eq 'td') { + $column++; + $t = $p->get_token; # Skip to next token + } + + if( $column == 1 and $t->[0] eq 'S' and lc $t->[1] =~ 'span') { + # First column is always property name, defined inside . + # print " span ${$t->[2]}{'class'}\n"; + # if( ${$t->[2]}{'class'} =~ 'prop-name' ) { + # print " $t->[4]\n"; + # } $property =~ s/\‘//; + + $t = $p->get_token; + $property = $t->[1]; + $property =~ s/‘//; # Opening single quote + $property =~ s/’//; # Closing single quote + print "Property: $property\n"; + } + + if( $column == 3 and $t->[0] eq 'T') { + # Third column is default value (simple text). + my $default = $t->[1]; + $properties{ $property }->{default} = $default; + print " Default: $default\n"; + } + + if( $column == 4 and $t->[0] eq 'S' ) { + # Fourth column is "Applies to" + if( lc $t->[1] eq 'span' && ${$t->[2]}{'class'} =~ 'element-name' ) { + $t = $p->get_token; + my $element = $t->[1]; + $element =~ s/‘//; # Opening single quote + $element =~ s/’//; # Closing single quote + print " Elements: $element\n"; + push @{$properties{ $property }->{elements}}, $element; + } elsif ( lc $t->[1] eq 'a' ) { + my $text = $p->get_trimmed_text; + if( $text ne "" ) { + print " Text ->$text<-\n"; + if( $text =~ "container" ) { + print " Adding container elements\n"; + push @{$properties{ $property }->{elements}}, @container_elements; + $properties{ $property }->{addedContainers} = 1; + } + if( $text =~ "text" ) { + print " Adding text content elements\n"; + push @{$properties{ $property }->{elements}}, @text_content_elements; + } + if( $text =~ "graphics" ) { + print " Adding graphics elements\n"; + push @{$properties{ $property }->{elements}}, @graphics_elements; + } + if( $text =~ "primitives" ) { + print " Adding filter primitive elements\n"; + push @{$properties{ $property }->{elements}}, @filter_primitives; + } + if( $text =~ "shape" ) { + print " Adding shape elements\n"; + push @{$properties{ $property }->{elements}}, @shapes; + } + if( $text =~ "viewport" ) { + print " Adding viewport elements\n"; + push @{$properties{ $property }->{elements}}, @viewport; + } + } + } else { + print " Not Elements: $t->[1]\n"; + } + } + + if( $column == 5 and $t->[0] eq 'T') { + # Fifth column is inherit value (simple text). + my $inherit = $t->[1]; + $properties{ $property }->{inherit} = $inherit; + print " Inherit: $inherit\n"; + } + + if( $t->[0] eq 'E' and lc $t->[1] eq 'tr') { + last; + } + + } + } + +} + +# Adjustments +$properties{ "alignment-baseline" }->{default} = "auto"; +$properties{ "color" }->{default} = "NO_DEFAULT"; # Depends on user agent. +$properties{ "font" }->{default} = "NO_DEFAULT"; # See individual font properties. +$properties{ "font-family" }->{default} = "NO_DEFAULT"; +$properties{ "marker" }->{default} = "none"; # Same as marker-start, etc. +$properties{ "overflow" }->{default} = "hidden"; # On all but outermost , user agent style sheet sets this to hidden. + +# This is the safest thing to do.... +$properties{ "text-decoration" }->{default} = "NO_DEFAULT"; +$properties{ "text-decoration" }->{inherit} = "no"; + +# +push @{$properties{ "color" }->{elements}}, @text_content_elements; +push @{$properties{ "color" }->{elements}}, @shapes; +push @{$properties{ "color" }->{elements}}, "stop", "feFlood", "feDiffuseLighting", "feSpecularLighting"; + +push @{$properties{ "color-interpolation-filters" }->{elements}}, "filter"; + +@{$properties{ "clip-rule" }->{elements}} = @graphics_elements; +push @{$properties{ "clip-rule" }->{elements}}, "clip-path"; # Can inherit + +push @{$properties{ "display" }->{elements}}, @graphics_elements; + +push @{$properties{ "image-rendering" }->{elements}}, "pattern", "image", "feImage"; + +# "title" isn't in the SVG spec (except for style sheets) but it is commonly supported by browsers +push @{$properties{ "title" }->{elements}}, @graphics_elements, "g"; +$properties{ "title" }->{default} = "NO DEFAULT"; +$properties{ "title" }->{inherit} = "no"; + +push @{$properties{ "visibility" }->{elements}}, @graphics_elements; + + +$properties{ "marker-end" }->{default} = $properties{ "marker-start" }->{default}; +$properties{ "marker-mid" }->{default} = $properties{ "marker-start" }->{default}; +$properties{ "marker-end" }->{inherit} = $properties{ "marker-start" }->{inherit}; +$properties{ "marker-mid" }->{inherit} = $properties{ "marker-start" }->{inherit}; +@{$properties{ "marker-end" }->{elements}} = @{$properties{ "marker-start" }->{elements}}; +@{$properties{ "marker-mid" }->{elements}} = @{$properties{ "marker-start" }->{elements}}; + + +# Inkscape uses CSS property 'line-height' even though this is not part of SVG spec. +push @{$properties{ "line-height" }->{elements}}, "text", "tspan", "flowRoot", "flowPara"; +$properties{ "line-height" }->{default} = "NO DEFAULT"; +$properties{ "line-height" }->{inherit} = "no"; + +# Inkscape uses CSS property 'text-align' for flowed text. It is not an SVG 1.1 property +# but is found in SVG 1.2 Tiny. +push @{$properties{ "text-align" }->{elements}}, "flowRoot", "flowPara", "flowSpan"; +$properties{ "text-align" }->{default} = "start"; +$properties{ "text-align" }->{inherit} = "yes"; + +# Compositing and Blending Level 1 +push @{$properties{ "mix-blend-mode" }->{elements}}, @container_elements; +push @{$properties{ "mix-blend-mode" }->{elements}}, @graphics_elements; +$properties{ "mix-blend-mode" }->{default} = "normal"; +$properties{ "mix-blend-mode" }->{inherit} = "no"; + +push @{$properties{ "isolation" }->{elements}}, @container_elements; +push @{$properties{ "isolation" }->{elements}}, @graphics_elements; +$properties{ "isolation" }->{default} = "auto"; +$properties{ "isolation" }->{inherit} = "no"; + +# SVG2 +push @{$properties{ "paint-order" }->{elements}}, @container_elements; +push @{$properties{ "paint-order" }->{elements}}, @graphics_elements; +$properties{ "paint-order" }->{default} = "normal"; +$properties{ "paint-order" }->{inherit} = "yes"; + +push @{$properties{ "solid-color" }->{elements}}, @container_elements; +push @{$properties{ "solid-color" }->{elements}}, @graphics_elements; +$properties{ "solid-color" }->{default} = "#000000"; +$properties{ "solid-color" }->{inherit} = "no"; + +push @{$properties{ "solid-opacity" }->{elements}}, @container_elements; +push @{$properties{ "solid-opacity" }->{elements}}, @graphics_elements; +$properties{ "solid-opacity" }->{default} = "1"; +$properties{ "solid-opacity" }->{inherit} = "no"; + +push @{$properties{ "vector-effect" }->{elements}}, @container_elements; +push @{$properties{ "vector-effect" }->{elements}}, @graphics_elements; +$properties{ "vector-effect" }->{default} = "none"; +$properties{ "vector-effect" }->{inherit} = "no"; + + +# SVG2 Text +push @{$properties{ "white-space" }->{elements}}, @container_elements; +push @{$properties{ "white-space" }->{elements}}, @text_content_elements; +$properties{ "white-space" }->{default} = "normal"; +$properties{ "white-space" }->{inherit} = "yes"; + +push @{$properties{ "shape-inside" }->{elements}}, "text"; +$properties{ "shape-inside" }->{default} = "auto"; +$properties{ "shape-inside" }->{inherit} = "no"; + +push @{$properties{ "shape-subtract" }->{elements}}, "text"; +$properties{ "shape-subtract" }->{default} = "auto"; +$properties{ "shape-subtract" }->{inherit} = "no"; + +push @{$properties{ "shape-padding" }->{elements}}, "text"; +$properties{ "shape-padding" }->{default} = "0"; +$properties{ "shape-padding" }->{inherit} = "no"; + +push @{$properties{ "shape-margin" }->{elements}}, "text"; +$properties{ "shape-margin" }->{default} = "0"; +$properties{ "shape-margin" }->{inherit} = "no"; + +push @{$properties{ "inline-size" }->{elements}}, "text"; +$properties{ "inline-size" }->{default} = "0"; +$properties{ "inline-size" }->{inherit} = "no"; + + +#CSS Text Level 3 +push @{$properties{ "text-indent" }->{elements}}, @container_elements; +push @{$properties{ "text-indent" }->{elements}}, @text_content_elements; +$properties{ "text-indent" }->{default} = "0"; +$properties{ "text-indent" }->{inherit} = "yes"; + +push @{$properties{ "text-transform" }->{elements}}, @container_elements; +push @{$properties{ "text-transform" }->{elements}}, @text_content_elements; +$properties{ "text-transform" }->{default} = "none"; +$properties{ "text-transform" }->{inherit} = "yes"; + + +# CSS Text Decoration +push @{$properties{ "text-decoration-line" }->{elements}}, @container_elements; +push @{$properties{ "text-decoration-line" }->{elements}}, @text_content_elements; +$properties{ "text-decoration-line" }->{default} = "none"; +$properties{ "text-decoration-line" }->{inherit} = "no"; + +push @{$properties{ "text-decoration-color" }->{elements}}, @container_elements; +push @{$properties{ "text-decoration-color" }->{elements}}, @text_content_elements; +$properties{ "text-decoration-color" }->{default} = "NO_DEFAULT"; +$properties{ "text-decoration-color" }->{inherit} = "no"; + +push @{$properties{ "text-decoration-style" }->{elements}}, @container_elements; +push @{$properties{ "text-decoration-style" }->{elements}}, @text_content_elements; +$properties{ "text-decoration-style" }->{default} = "solid"; +$properties{ "text-decoration-style" }->{inherit} = "no"; + +push @{$properties{ "text-decoration-fill" }->{elements}}, @container_elements; +push @{$properties{ "text-decoration-fill" }->{elements}}, @text_content_elements; +$properties{ "text-decoration-fill" }->{default} = "NO_DEFAULT"; +$properties{ "text-decoration-fill" }->{inherit} = "no"; + +push @{$properties{ "text-decoration-stroke" }->{elements}}, @container_elements; +push @{$properties{ "text-decoration-stroke" }->{elements}}, @text_content_elements; +$properties{ "text-decoration-stroke" }->{default} = "NO_DEFAULT"; +$properties{ "text-decoration-stroke" }->{inherit} = "no"; + + + +# CSS Fonts Level 3 +push @{$properties{ "font-variant-ligatures" }->{elements}}, @container_elements; +push @{$properties{ "font-variant-ligatures" }->{elements}}, @text_content_elements; +$properties{ "font-variant-ligatures" }->{default} = "normal"; +$properties{ "font-variant-ligatures" }->{inherit} = "yes"; + +push @{$properties{ "font-variant-position" }->{elements}}, @container_elements; +push @{$properties{ "font-variant-position" }->{elements}}, @text_content_elements; +$properties{ "font-variant-position" }->{default} = "normal"; +$properties{ "font-variant-position" }->{inherit} = "yes"; + +push @{$properties{ "font-variant-caps" }->{elements}}, @container_elements; +push @{$properties{ "font-variant-caps" }->{elements}}, @text_content_elements; +$properties{ "font-variant-caps" }->{default} = "normal"; +$properties{ "font-variant-caps" }->{inherit} = "yes"; + +push @{$properties{ "font-variant-numeric" }->{elements}}, @container_elements; +push @{$properties{ "font-variant-numeric" }->{elements}}, @text_content_elements; +$properties{ "font-variant-numeric" }->{default} = "normal"; +$properties{ "font-variant-numeric" }->{inherit} = "yes"; + +push @{$properties{ "font-variant-alternates" }->{elements}}, @container_elements; +push @{$properties{ "font-variant-alternates" }->{elements}}, @text_content_elements; +$properties{ "font-variant-alternates" }->{default} = "normal"; +$properties{ "font-variant-alternates" }->{inherit} = "yes"; + +push @{$properties{ "font-variant-east-asian" }->{elements}}, @container_elements; +push @{$properties{ "font-variant-east-asian" }->{elements}}, @text_content_elements; +$properties{ "font-variant-east-asian" }->{default} = "normal"; +$properties{ "font-variant-east-asian" }->{inherit} = "yes"; + +push @{$properties{ "font-variant" }->{elements}}, @container_elements; +push @{$properties{ "font-variant" }->{elements}}, @text_content_elements; +$properties{ "font-variant" }->{default} = "normal"; +$properties{ "font-variant" }->{inherit} = "yes"; + +push @{$properties{ "font-feature-settings" }->{elements}}, @container_elements; +push @{$properties{ "font-feature-settings" }->{elements}}, @text_content_elements; +$properties{ "font-feature-settings" }->{default} = "normal"; +$properties{ "font-feature-settings" }->{inherit} = "yes"; + + +# CSS Fonts Level 4 +push @{$properties{ "font-variation-settings" }->{elements}}, @container_elements; +push @{$properties{ "font-variation-settings" }->{elements}}, @text_content_elements; +$properties{ "font-variation-settings" }->{default} = "normal"; +$properties{ "font-variation-settings" }->{inherit} = "yes"; + + +# CSS Writing Modes +push @{$properties{ "text-orientation" }->{elements}}, @container_elements; +push @{$properties{ "text-orientation" }->{elements}}, @text_content_elements; +$properties{ "text-orientation" }->{default} = "mixed"; +$properties{ "text-orientation" }->{inherit} = "yes"; + +# CSS Transformations +push @{$properties{ "transform" }->{elements}}, @container_elements; +push @{$properties{ "transform" }->{elements}}, @graphics_elements; +$properties{ "transform" }->{default} = "none"; +$properties{ "transform" }->{inherit} = "no"; + +push @{$properties{ "transform-box" }->{elements}}, @container_elements; +push @{$properties{ "transform-box" }->{elements}}, @graphics_elements; +$properties{ "transform-box" }->{default} = "NO_DEFAULT"; # Default no 100% fixed. +$properties{ "transform-box" }->{inherit} = "no"; + +push @{$properties{ "transform-origin" }->{elements}}, @container_elements; +push @{$properties{ "transform-origin" }->{elements}}, @graphics_elements; +$properties{ "transform-origin" }->{default} = "NO_DEFAULT"; # Default is complicated +$properties{ "transform-origin" }->{inherit} = "no"; + +push @{$properties{ "transform-style" }->{elements}}, @container_elements; +push @{$properties{ "transform-style" }->{elements}}, @graphics_elements; +$properties{ "transform-style" }->{default} = "flat"; +$properties{ "transform-style" }->{inherit} = "no"; + +push @{$properties{ "perspective" }->{elements}}, @container_elements; +push @{$properties{ "perspective" }->{elements}}, @graphics_elements; +$properties{ "perspective" }->{default} = "none"; +$properties{ "perspective" }->{inherit} = "no"; + +push @{$properties{ "perspective-origin" }->{elements}}, @container_elements; +push @{$properties{ "perspective-origin" }->{elements}}, @graphics_elements; +$properties{ "perspective-origin" }->{default} = "NO_DEFAULT"; # Default is complicated +$properties{ "perspective-origin" }->{inherit} = "no"; + +push @{$properties{ "backface-visibility" }->{elements}}, @container_elements; +push @{$properties{ "backface-visibility" }->{elements}}, @graphics_elements; +$properties{ "backface-visibility" }->{default} = "visible"; +$properties{ "backface-visibility" }->{inherit} = "no"; + +# Output + +open( DEFAULTS, ">css_defaults_new" ) or die "Couldn't open output"; +open( ELEMENTS, ">cssprops_new" ) or die "Couldn't open output"; + +for $property ( sort keys %properties ) { + print "$property:\t$properties{ $property }->{default}\t$properties{ $property }->{inherit}\n"; + # Must add container elements to all properties that are inherited. + if( $properties{ $property }->{inherit} =~ "yes" ) { + # But not if they have already been added + if( !defined $properties{ $property }->{addedContainers} ) { + push @{$properties{ $property }->{elements}}, @container_elements; + } + } + print " @{ $properties{ $property }->{elements}}\n"; + + print DEFAULTS "\"$property\" - \"$properties{ $property }->{default}\" - \"$properties{ $property }->{inherit}\"\n\n"; + print ELEMENTS "\"$property\" - "; + my $first = 0; + foreach (@{$properties{ $property }->{elements}}) { + if( $first != 0 ) { + print ELEMENTS ","; + } + $first = 1; + print ELEMENTS "\"$_\""; + } + print ELEMENTS "\n\n"; +} + diff --git a/share/attributes/genMapDataSVG.pl b/share/attributes/genMapDataSVG.pl new file mode 100755 index 0000000..c2653e0 --- /dev/null +++ b/share/attributes/genMapDataSVG.pl @@ -0,0 +1,138 @@ +#!/usr/bin/env perl + +# Purpose: To extract the svgprops data from the +# SVG 1.1 2nd Ed specification file attindex.html. The file can be found at: +# +# http://www.w3.org/TR/SVG/attindex.html +# +# Note cssprops must be generated first to pickup "Presentation Attributes". + +# Author: Tavmjong Bah +# Rewrite of script by Abhishek + +use strict; +use warnings; +use HTML::TokeParser; + +my $p= HTML::TokeParser->new('attindex.html') or die "Can't open file: $!"; + +my %attributes; +my $attribute; + +# Loop over tokens +while( my $t = $p->get_token ) { + + # Look for
(start token with value 'tr'). + if( $t->[0] eq 'S' and lc $t->[1] eq 'tr') { + + print "---------\n"; + + my $column = 0; + while( $t = $p->get_token ) { + + # Keep track of column + if( $t->[0] eq 'S' and lc $t->[1] eq 'td') { + $column++; + $t = $p->get_token; # Skip to next token + } + + if( $column == 1 and $t->[0] eq 'S' and lc $t->[1] =~ 'span') { + # First column is always attribute name, defined inside
. + $t = $p->get_token; + $attribute = $t->[1]; + $attribute =~ s/‘//; # Opening single quote + $attribute =~ s/’//; # Closing single quote + print "Attribute: $attribute\n"; + } + + if( $column == 2 and $t->[0] eq 'S') { + # Second column is list of elements, each inside its own span. + if( lc $t->[1] eq 'span' && ${$t->[2]}{'class'} =~ 'element-name' ) { + $t = $p->get_token; + my $element = $t->[1]; + $element =~ s/‘//; # Opening single quote + $element =~ s/’//; # Closing single quote + print " Elements: $element\n"; + push @{$attributes{ $attribute }->{elements}}, $element; + } else { +# print " Not Elements: $t->[1]\n"; + } + } + + if( $t->[0] eq 'E' and lc $t->[1] eq 'tr') { + last; + } + + } + } + + # Stop if we get to presentation attributes + if( $t->[0] eq 'S' and lc $t->[1] eq 'h2') { + $t = $p->get_token; + if( $t->[1] =~ /Presentation/ ) { + print "Found: $t->[1], quitting.\n"; + last; + } + } +} + +# Adjustments +push @{$attributes{ "in" }->{elements}}, "feMergeNode"; +push @{$attributes{ "class" }->{elements}}, "flowRoot","flowPara","flowSpan","flowRect","flowRegion","solidColor"; +push @{$attributes{ "id" }->{elements}}, "flowRoot","flowPara","flowSpan","flowRect","flowRegion","solidColor"; +push @{$attributes{ "style" }->{elements}}, "flowRoot","flowPara","flowSpan","flowRect","flowRegion","solidColor"; +push @{$attributes{ "xml:space" }->{elements}}, "flowRoot","flowPara","flowSpan"; +push @{$attributes{ "transform" }->{elements}}, "flowRoot","flowPara","flowSpan"; +push @{$attributes{ "fr" }->{elements}}, "radialGradient"; +push @{$attributes{ "side" }->{elements}}, "textPath"; + +# Mesh gradients +push @{$attributes{ "id" }->{elements}}, "meshgradient","mesh","meshrow","meshpatch"; +push @{$attributes{ "path" }->{elements}}, "stop"; +push @{$attributes{ "gradientUnits" }->{elements}}, "meshgradient","mesh"; +push @{$attributes{ "gradientTransform" }->{elements}}, "meshgradient","mesh"; +#push @{$attributes{ "transform" }->{elements}}, "mesh"; +push @{$attributes{ "href" }->{elements}}, "meshgradient","mesh"; +push @{$attributes{ "type" }->{elements}}, "meshgradient","mesh"; +push @{$attributes{ "x" }->{elements}}, "meshgradient","mesh"; +push @{$attributes{ "y" }->{elements}}, "meshgradient","mesh"; +push @{$attributes{ "xlink:href" }->{elements}}, "meshgradient","mesh"; + +# Hatches +push @{$attributes{ "id" }->{elements}}, "hatch","hatchpath"; +push @{$attributes{ "pitch" }->{elements}}, "hatch"; +push @{$attributes{ "rotate" }->{elements}}, "hatch"; +push @{$attributes{ "hatchUnits" }->{elements}}, "hatch"; +push @{$attributes{ "hatchContentUnits" }->{elements}}, "hatch"; +push @{$attributes{ "transform" }->{elements}}, "hatch"; +push @{$attributes{ "href" }->{elements}}, "hatch"; +push @{$attributes{ "d" }->{elements}}, "hatchpath"; +push @{$attributes{ "offset" }->{elements}}, "hatchpath"; + + +# Output + +open( ELEMENTS, ">svgprops_new" ) or die "Couldn't open output"; + +for $attribute ( sort keys %attributes ) { + + print ELEMENTS "\"$attribute\" - "; + my $first = 0; + foreach (@{$attributes{ $attribute }->{elements}}) { + if( $first != 0 ) { + print ELEMENTS ","; + } + $first = 1; + print ELEMENTS "\"$_\""; + } + print ELEMENTS "\n\n"; +} + +# Copy cssprops verbatim. For every CSS property there is a +# corresponding "Presentation Attribute". + +open( PROPERTIES, "cssprops" ) or die "Couldn't open $!"; + +while( ) { + print ELEMENTS; +} diff --git a/share/attributes/propidx.html b/share/attributes/propidx.html new file mode 100755 index 0000000..c1684d2 --- /dev/null +++ b/share/attributes/propidx.html @@ -0,0 +1,268 @@ + + + +Property Index – SVG 1.1 (Second Edition)
SVG 1.1 (Second Edition) – 16 August 2011TopContentsPreviousNextElementsAttributesProperties
+ +

Appendix N: Property Index

+ +

This appendix is informative, not normative.

+ +
NameValuesInitial valueApplies toInh.PercentagesMediaAnim.
‘alignment-baseline’auto | baseline | before-edge | text-before-edge | + middle | central | after-edge | text-after-edge | + ideographic | alphabetic | hanging | mathematical | + inheritsee property description‘tspan’, ‘tref’, ‘altGlyph’, ‘textPath’ elementsnoN/A + visualyes
‘baseline-shift’baseline | sub | super | <percentage> + | <length> + | + inheritbaseline‘tspan’, ‘tref’, ‘altGlyph’, ‘textPath’ elementsnorefer to the "line height" of the ‘text’ element, which in + the case of SVG is defined to be equal to the font size + visualyes
‘clip’ + <shape> + | auto | + inheritautoelements + which establish a new viewport, ‘pattern’ elements and ‘marker’ elementsnoN/A + visualyes
‘clip-path’<funciri> | + none | + inheritnonecontainer + elements and graphics + elementsnoN/A + visualyes
‘clip-rule’nonzero | evenodd | + inheritnonzerographics elements within a ‘clipPath’ elementyesN/A + visualyes
‘color’<color> + | + inheritdepends on user agentelements to which properties ‘fill’, ‘stroke’, ‘stop-color’, ‘flood-color’, ‘lighting-color’ applyyesN/A + visualyes
‘color-interpolation’auto | sRGB | linearRGB | + inheritsRGBcontainer + elements, graphics + elements and ‘animateColor’yesN/A + visualyes
‘color-interpolation-filters’auto | sRGB | linearRGB | + inheritlinearRGBfilter + primitivesyesN/A + visualyes
‘color-profile’auto | sRGB | <name> | <funciri> | + inheritauto‘image’ elements that + refer to raster imagesyesN/A + visualyes
‘color-rendering’auto | optimizeSpeed | optimizeQuality | + inheritautocontainer + elements, graphics + elements and ‘animateColor’yesN/A + visualyes
‘cursor’[ [<funciri> + ,]* [ auto | crosshair | default | pointer | move | + e-resize | ne-resize | nw-resize | n-resize | se-resize | + sw-resize | s-resize | w-resize| text | wait | help ] ] | + + inheritautocontainer + elements and graphics + elementsyesN/A + visual, + interactiveyes
‘direction’ltr | rtl | + inheritltrtext + content elementsyesN/A + visualno
‘display’inline | 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 | + inheritinline‘svg’, ‘g’, ‘switch’, ‘a’, ‘foreignObject’, graphics + elements (including the ‘text’ element) and text + sub-elements (i.e., ‘tspan’, ‘tref’, ‘altGlyph’, ‘textPath’)noN/A + allyes
‘dominant-baseline’auto | use-script | no-change | reset-size | + ideographic | alphabetic | hanging | mathematical | + central | middle | text-after-edge | text-before-edge | + + inheritautotext + content elementsnoN/A + visualyes
‘enable-background’accumulate | new [ <x> <y> <width> + <height> ] | + inheritaccumulatecontainer + elementsnoN/A + visualno
‘fill’<paint> (See Specifying + paint)blackshapes and text content + elementsyesN/A + visualyes
‘fill-opacity’<opacity-value> | + inherit1shapes and text content + elementsyesN/A + visualyes
‘fill-rule’nonzero | evenodd | + inheritnonzeroshapes and text content + elementsyesN/A + visualyes
‘filter’<funciri> | none | + inheritnonecontainer + elements and graphics + elementsnoN/A + visualyes
‘flood-color’currentColor |
+ <color> + [<icccolor>] + |
+ + inherit
black‘feFlood’ elementsnoN/A + visualyes
‘flood-opacity’<opacity-value> | + inherit1‘feFlood’ elementsnoN/A + visualyes
‘font’[ [ ‘font-style’ + || ‘font-variant’ + || ‘font-weight’ + ]? ‘font-size’ + [ / + 'line-height' + ]? ‘font-family’ + ] | caption | icon | menu | message-box | small-caption | + status-bar | + inheritsee individual propertiestext + content elementsyessee individual properties + visualyes [1]
‘font-family’[[ + <family-name> + | + <generic-family> + ],]* [ + <family-name> + | + <generic-family>] + | + inheritdepends on user agenttext + content elementsyesN/A + visualyes
‘font-size’ + <absolute-size> + | + <relative-size> + | <length> + | + <percentage> + | + inheritmediumtext + content elementsyes, the computed value is inheritedrefer to parent element's font size + visualyes
‘font-size-adjust’ + <number> + | none | + inheritnonetext + content elementsyesN/A + visualyes [1]
‘font-stretch’normal | wider | narrower | ultra-condensed | + extra-condensed | condensed | semi-condensed | + semi-expanded | expanded | extra-expanded | + ultra-expanded | + inheritnormaltext + content elementsyesN/A + visualyes
‘font-style’normal | italic | oblique | + inheritnormaltext + content elementsyesN/A + visualyes
‘font-variant’normal | small-caps | + inheritnormaltext + content elementsyesN/A + visualyes
‘font-weight’normal | bold | bolder | lighter | 100 | 200 | 300 | + 400 | 500 | 600 | 700 | 800 | 900 | + inheritnormaltext + content elementsyesN/A + visualyes
‘glyph-orientation-horizontal’<angle> | + inherit0degtext + content elementsyesN/A + visualno
‘glyph-orientation-vertical’auto | <angle> | + inheritautotext + content elementsyesN/A + visualno
‘image-rendering’auto | optimizeSpeed | optimizeQuality | + inheritautoimagesyesN/A + visualyes
‘kerning’auto | <length> | + inheritautotext + content elementsyesN/A + visualyes
‘letter-spacing’normal | <length> | + inheritnormaltext + content elementsyesN/A + visualyes
‘lighting-color’currentColor |
+ <color> + [<icccolor>] + |
+ + inherit
white‘feDiffuseLighting’ and + ‘feSpecularLighting’ + elementsnoN/A + visualyes
‘marker’see individual propertiessee individual properties‘path’, ‘line’, ‘polyline’ and ‘polygon’ elementsyesN/A + visualyes
‘marker-end’
+ ‘marker-mid’
+ ‘marker-start’
none |
+ + inherit + |
+ <funciri>
none‘path’, ‘line’, ‘polyline’ and ‘polygon’ elementsyesN/A + visualyes
‘mask’<funciri> | none | + inheritnonecontainer + elements and graphics + elementsnoN/A + visualyes
‘opacity’<opacity-value> | + inherit1container + elements and graphics + elementsnoN/A + visualyes
‘overflow’visible | hidden | scroll | auto | + inheritsee proseelements + which establish a new viewport, ‘pattern’ elements and ‘marker’ elementsnoN/A + visualyes
‘pointer-events’visiblePainted | visibleFill | visibleStroke | + visible |
+ painted | fill | stroke | all | none | + inherit
visiblePaintedgraphics + elementsyesN/A + visualyes
‘shape-rendering’auto | optimizeSpeed | crispEdges |
+ geometricPrecision | + inherit
autoshapesyesN/A + visualyes
‘stop-color’currentColor |
+ <color> + [<icccolor>] + |
+ + inherit
black‘stop’ elementsnoN/A + visualyes
‘stop-opacity’<opacity-value> | + inherit1‘stop’ elementsnoN/A + visualyes
‘stroke’<paint> (See Specifying + paint)noneshapes and text content + elementsyesN/A + visualyes
‘stroke-dasharray’none | <dasharray> | + inheritnoneshapes and text content + elementsyesN/A + visualyes [1]
‘stroke-dashoffset’<percentage> | <length> | + inherit0shapes and text content + elementsyessee prose + visualyes
‘stroke-linecap’butt | round | square | + inheritbuttshapes and text content + elementsyesN/A + visualyes
‘stroke-linejoin’miter | round | bevel | + inheritmitershapes and text content + elementsyesN/A + visualyes
‘stroke-miterlimit’<miterlimit> | + inherit4shapes and text content + elementsyesN/A + visualyes
‘stroke-opacity’<opacity-value> | + inherit1shapes and text content + elementsyesN/A + visualyes
‘stroke-width’<percentage> | <length> | + inherit1shapes and text content + elementsyesN/A + visualyes
‘text-anchor’start | middle | end | + inheritstarttext + content elementsyesN/A + visualyes
‘text-decoration’none | [ underline || overline || line-through || + blink ] | + inheritnonetext + content elementsno (see prose)N/A + visualyes
‘text-rendering’auto | optimizeSpeed | optimizeLegibility |
+ geometricPrecision | + inherit
auto‘text’ elementsyesN/A + visualyes
‘unicode-bidi’normal | embed | bidi-override | + inheritnormaltext + content elementsnoN/A + visualno
‘visibility’visible | hidden | collapse | + inheritvisiblegraphics elements (including the ‘text’ element) and text + sub-elements (i.e., ‘tspan’, ‘tref’, ‘altGlyph’, ‘textPath’ and ‘a’)yesN/A + visualyes
‘word-spacing’normal | <length> | + inheritnormaltext + content elementsyesN/A + visualyes
‘writing-mode’lr-tb | rl-tb | tb-rl | lr | rl | tb | + inheritlr-tb‘text’ elementsyesN/A + visualno
+ +
  1. [1] The ‘font’, ‘font-size-adjust’ and ‘stroke-dasharray’ + properties are animatable but do not support additive animation.
+ +
SVG 1.1 (Second Edition) – 16 August 2011TopContentsPreviousNextElementsAttributesProperties
\ No newline at end of file diff --git a/share/attributes/svgprops b/share/attributes/svgprops new file mode 100644 index 0000000..2cce58e --- /dev/null +++ b/share/attributes/svgprops @@ -0,0 +1,638 @@ +"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","flowRoot","flowPara","flowSpan","flowRect","flowRegion","solidColor" + +"clipPathUnits" - "clipPath" + +"contentScriptType" - "svg" + +"contentStyleType" - "svg" + +"cx" - "circle","ellipse","radialGradient" + +"cy" - "circle","ellipse","radialGradient" + +"d" - "path","glyph","missing-glyph","hatchpath" + +"descent" - "font-face" + +"diffuseConstant" - "feDiffuseLighting" + +"divisor" - "feConvolveMatrix" + +"dur" - "animate","animateColor","animateMotion","animateTransform","set" + +"dx" - "altGlyph","feOffset","glyphRef","text","tref","tspan" + +"dy" - "altGlyph","feOffset","glyphRef","text","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","glyphRef" + +"fr" - "radialGradient" + +"from" - "animate","animateColor","animateMotion","animateTransform" + +"fx" - "radialGradient" + +"fy" - "radialGradient" + +"g1" - "hkern","vkern" + +"g2" - "hkern","vkern" + +"glyph-name" - "glyph" + +"glyphRef" - "altGlyph","glyphRef" + +"gradientTransform" - "linearGradient","radialGradient","meshgradient","mesh" + +"gradientUnits" - "linearGradient","radialGradient","meshgradient","mesh" + +"hanging" - "font-face" + +"hatchContentUnits" - "hatch" + +"hatchUnits" - "hatch" + +"height" - "filter","foreignObject","image","pattern","rect","svg","use","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","mask" + +"horiz-adv-x" - "font","glyph","missing-glyph" + +"horiz-origin-x" - "font" + +"horiz-origin-y" - "font" + +"href" - "meshgradient","mesh","hatch" + +"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","flowRoot","flowPara","flowSpan","flowRect","flowRegion","solidColor","meshgradient","mesh","meshrow","meshpatch","hatch","hatchpath" + +"ideographic" - "font-face" + +"in" - "feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feGaussianBlur","feMorphology","feOffset","feSpecularLighting","feTile","feMergeNode" + +"in2" - "feBlend","feComposite","feDisplacementMap" + +"intercept" - "feFuncA","feFuncB","feFuncG","feFuncR" + +"k" - "hkern","vkern" + +"k1" - "feComposite" + +"k2" - "feComposite" + +"k3" - "feComposite" + +"k4" - "feComposite" + +"kernelMatrix" - "feConvolveMatrix" + +"kernelUnitLength" - "feConvolveMatrix","feDiffuseLighting","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","font-face-name" + +"numOctaves" - "feTurbulence" + +"offset" - "stop","feFuncA","feFuncB","feFuncG","feFuncR","hatchpath" + +"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","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","feMorphology" + +"order" - "feConvolveMatrix" + +"orient" - "marker" + +"orientation" - "glyph" + +"origin" - "animateMotion" + +"overline-position" - "font-face" + +"overline-thickness" - "font-face" + +"panose-1" - "font-face" + +"path" - "animateMotion","stop" + +"pathLength" - "path" + +"patternContentUnits" - "pattern" + +"patternTransform" - "pattern" + +"patternUnits" - "pattern" + +"pitch" - "hatch" + +"points" - "polygon","polyline" + +"pointsAtX" - "feSpotLight" + +"pointsAtY" - "feSpotLight" + +"pointsAtZ" - "feSpotLight" + +"preserveAlpha" - "feConvolveMatrix" + +"preserveAspectRatio" - "feImage","image","marker","pattern","svg","symbol","view" + +"primitiveUnits" - "filter" + +"r" - "circle","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","animateMotion","text","tref","tspan","hatch" + +"rx" - "ellipse","rect" + +"ry" - "ellipse","rect" + +"scale" - "feDisplacementMap" + +"seed" - "feTurbulence" + +"side" - "textPath" + +"slope" - "font-face","feFuncA","feFuncB","feFuncG","feFuncR" + +"spacing" - "textPath" + +"specularConstant" - "feSpecularLighting" + +"specularExponent" - "feSpecularLighting","feSpotLight" + +"spreadMethod" - "linearGradient","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","flowRoot","flowPara","flowSpan","flowRect","flowRegion","solidColor" + +"surfaceScale" - "feDiffuseLighting","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","textPath","tref","tspan" + +"title" - "style" + +"to" - "set","animate","animateColor","animateMotion","animateTransform" + +"transform" - "a","circle","clipPath","defs","ellipse","foreignObject","g","image","line","path","polygon","polyline","rect","switch","text","use","flowRoot","flowPara","flowSpan","hatch" + +"type" - "animateTransform","feColorMatrix","feTurbulence","script","style","feFuncA","feFuncB","feFuncG","feFuncR","meshgradient","mesh" + +"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","animate","animateColor","animateMotion","animateTransform" + +"version" - "svg" + +"vert-adv-y" - "font","glyph","missing-glyph" + +"vert-origin-x" - "font","glyph","missing-glyph" + +"vert-origin-y" - "font","glyph","missing-glyph" + +"viewBox" - "marker","pattern","svg","symbol","view" + +"viewTarget" - "view" + +"width" - "filter","foreignObject","image","pattern","rect","svg","use","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","mask" + +"widths" - "font-face" + +"x" - "altGlyph","cursor","fePointLight","feSpotLight","filter","foreignObject","glyphRef","image","pattern","rect","svg","text","use","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","mask","tref","tspan","meshgradient","mesh" + +"x-height" - "font-face" + +"x1" - "line","linearGradient" + +"x2" - "line","linearGradient" + +"xChannelSelector" - "feDisplacementMap" + +"xlink:actuate" - "a","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","altGlyph","color-profile","cursor","feImage","filter","font-face-uri","glyphRef","image","linearGradient","mpath","pattern","radialGradient","script","textPath","use","animate","animateColor","animateMotion","animateTransform","set","tref","meshgradient","mesh" + +"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","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","flowRoot","flowPara","flowSpan" + +"y" - "altGlyph","cursor","fePointLight","feSpotLight","filter","foreignObject","glyphRef","image","pattern","rect","svg","text","use","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","mask","tref","tspan","meshgradient","mesh" + +"y1" - "line","linearGradient" + +"y2" - "line","linearGradient" + +"yChannelSelector" - "feDisplacementMap" + +"z" - "fePointLight","feSpotLight" + +"zoomAndPan" - "svg","view" + +"alignment-baseline" - "tspan","tref","altGlyph","textPath" + +"backface-visibility" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"baseline-shift" - "tspan","tref","altGlyph","textPath" + +"clip" - "svg","symbol","foreignObject","pattern","marker" + +"clip-path" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"clip-rule" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","clip-path","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","path","rect","circle","ellipse","line","polyline","polygon","stop","feFlood","feDiffuseLighting","feSpecularLighting","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color-interpolation" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","animateColor" + +"color-interpolation-filters" - "feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","filter","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color-profile" - "image","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"color-rendering" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","animateColor" + +"cursor" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"direction" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"display" - "svg","g","switch","a","foreignObject","text","tspan","tref","altGlyph","textPath","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"dominant-baseline" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"enable-background" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"fill" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"fill-opacity" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"fill-rule" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"filter" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"flood-color" - "feFlood" + +"flood-opacity" - "feFlood" + +"font" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-family" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-feature-settings" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-size" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-size-adjust" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-stretch" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-style" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-alternates" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-caps" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-east-asian" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-ligatures" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-numeric" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variant-position" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-variation-settings" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"font-weight" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"glyph-orientation-horizontal" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"glyph-orientation-vertical" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"image-rendering" - "pattern","image","feImage","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"inline-size" - "text" + +"isolation" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"kerning" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"letter-spacing" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"lighting-color" - "feDiffuseLighting","feSpecularLighting" + +"line-height" - "text","tspan","flowRoot","flowPara" + +"marker" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"marker-end" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"marker-mid" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"marker-start" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"mask" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"mix-blend-mode" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"opacity" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"overflow" - "svg","symbol","foreignObject","pattern","marker" + +"paint-order" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"perspective" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"perspective-origin" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"pointer-events" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"shape-inside" - "text" + +"shape-margin" - "text" + +"shape-padding" - "text" + +"shape-rendering" - "path","rect","circle","ellipse","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"shape-subtract" - "text" + +"solid-color" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"solid-opacity" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"stop-color" - "stop" + +"stop-opacity" - "stop" + +"stroke" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-dasharray" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-dashoffset" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-linecap" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-linejoin" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-miterlimit" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-opacity" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"stroke-width" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-align" - "flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-anchor" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-decoration" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-color" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-fill" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-line" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-stroke" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-style" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-indent" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-orientation" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-rendering" - "text","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"text-transform" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"title" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","g" + +"transform" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"transform-box" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"transform-origin" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"transform-style" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"unicode-bidi" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"vector-effect" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use" + +"visibility" - "text","tspan","tref","altGlyph","textPath","a","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"white-space" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"word-spacing" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + +"writing-mode" - "text","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + -- cgit v1.2.3