-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathSVG_Element_List.txt
119 lines (97 loc) · 3.49 KB
/
SVG_Element_List.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
SVG elements implemented in oksvg:
Document Elements
Yes: 'svg', 'g', ‘transform’,
No: 'marker', ‘class’, ‘externalResourcesRequired’
Partial:
'title' : svg root element only
'meta' : svg root element only
'desc' : svg root element only
Drawing elements:
Yes: ‘circle’, ‘ellipse’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ’defs’, 'id', ’use’
Note: 'defs' should be declared before 'use' in the svg.
Path:
Yes: 'd' path description, all commands, M, m, L, l, H, h, V, v, C, c, Q, q, S, s, T, t, A, and a
Note: A and a are approximated with quadratic bezier curves
No:
'pathlength'
Presentation attributes
Yes:
‘opacity’, ‘fill’, ‘stroke’, ‘fill-opacity’, ‘fill-rule’, ‘opacity’, ‘stroke-dasharray’, ‘stroke-dashoffset’, ‘stroke-linecap’, ‘stroke-linejoin’, ‘stroke-opacity’, ‘stroke-width’,
Yes: 'color' : all HTML4 names, and formats
'style': Only listed presentation attributes
Yes:
gradient elements: ‘linearGradient’ and ‘radialGradient’.
No:
— ‘alignment-baseline’, ‘baseline-shift’, ‘clip’, ‘clip-path’, ‘clip-rule’, ‘color-interpolation’, ‘color-interpolation-filters’, ‘color-profile’, ‘color-rendering’, ‘cursor’, ‘direction’, ‘display’, ‘dominant-baseline’, ‘enable-background’, ‘filter’, ‘flood-color’, ‘flood-opacity’, ‘font-family’, ‘font-size’, ‘font-size-adjust’, ‘font-stretch’, ‘font-style’, ‘font-variant’, ‘font-weight’, ‘glyph-orientation-horizontal’, ‘glyph-orientation-vertical’, ‘image-rendering’, ‘kerning’, ‘letter-spacing’, ‘lighting-color’, ‘marker-end’, ‘marker-mid’, ‘marker-start’, ‘mask’,‘overflow’, ‘pointer-events’, ‘shape-rendering’, ‘stop-color’, ‘stop-opacity’, ‘stroke-miterlimit’, ‘text-anchor’, ‘text-decoration’, ‘text-rendering’, ‘unicode-bidi’, ‘visibility’, ‘word-spacing’, ‘writing-mode’
No:
common attributes : ‘id’, ‘xml:base’, ‘xml:lang’, ‘xml:space’
conditional processing attributes — ‘requiredFeatures’, ‘requiredExtensions’, ‘systemLanguage’
graphical event attributes — ‘onfocusin’, ‘onfocusout’, ‘onactivate’, ‘onclick’, ‘onmousedown’, ‘onmouseup’, ‘onmouseover’, ‘onmousemove’, ‘onmouseout’, ‘onload’;
pattern elements : 'pattern'
‘a’
‘altGlyph’
‘altGlyphDef’
‘altGlyphItem’
‘animate’
‘animateColor’
‘animateMotion’
‘animateTransform’
‘clipPath’
‘color-profile’
‘cursor’
‘defs’
‘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’
‘glyph’
‘glyphRef’
‘hkern’
‘image’
‘linearGradient’
‘marker’
‘mask’
‘missing-glyph’
‘mpath’
‘pattern’
‘radialGradient’
‘script’
‘set’
‘stop’
‘switch’
‘symbol’
‘text’
‘textPath’
‘tref’
‘tspan’
‘use’
‘view’
‘vkern’