-
Notifications
You must be signed in to change notification settings - Fork 20
/
attrdefs-database.js
173 lines (173 loc) · 7.07 KB
/
attrdefs-database.js
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
module.exports = {
"default": ["", "string"],
"feFuncA/amplitude": [1, "number"],
"feFuncB/amplitude": [1, "number"],
"feFuncG/amplitude": [1, "number"],
"feFuncR/amplitude": [1, "number"],
"feDistantLight/azimuth": [0, "number"],
"feTurbulence/baseFrequency": [0, "number-sequence"],
"feConvolveMatrix/bias": [0, "number"],
"circle/cx": [0, "number"],
"ellipse/cx": [0, "number"],
"radialGradient/cx": ["50%", "number"],
"circle/cy": [0, "number"],
"ellipse/cy": [0, "number"],
"radialGradient/cy": ["50%", "number"],
"feDiffuseLighting/diffuseConstant": [1, "number"],
"feConvolveMatrix/divisor": [1, "number"],
"feOffset/dx": [0, "number"],
"text/dx": [0, "number-sequence"],
"tspan/dx": [0, "number-sequence"],
"feOffset/dy": [0, "number"],
"text/dy": [0, "number-sequence"],
"tspan/dy": [0, "number-sequence"],
"feConvolveMatrix/edgeMode": ["duplicate", "string"],
"feDistantLight/elevation": [0, "number"],
"feFuncA/exponent": [1, "number"],
"feFuncB/exponent": [1, "number"],
"feFuncG/exponent": [1, "number"],
"feFuncR/exponent": [1, "number"],
"filter/filterRes": [null, "number-sequence"],
"filter/filterUnits": [null, "number-sequence"],
"radialGradient/fx": ["50%", "string"],
"radialGradient/fy": ["50%", "string"],
"*/height": [0, "number"],
"svg/height": ["100%", "number"],
"feFuncA/intercept": [0, "number"],
"feFuncB/intercept": [0, "number"],
"feFuncG/intercept": [0, "number"],
"feFuncR/intercept": [0, "number"],
"feComposite/k1": [0, "number"],
"feComposite/k2": [0, "number"],
"feComposite/k3": [0, "number"],
"feComposite/k4": [0, "number"],
"text/lengthAdjust": ["spacing", "string"],
"textPath/lengthAdjust": ["spacing", "string"],
"tspan/lengthAdjust": ["spacing", "string"],
"marker/markerHeight": [3, "number"],
"marker/markerUnits": ["strokeWidth", "string"],
"marker/markerWidth": [3, "number"],
"mask/maskContentUnits": ["userSpaceOnUse", "string"],
"mask/maskUnits": ["objectBoundingBox", "string"],
"textPath/method": ["align", "string"],
"feBlend/mode": ["normal", "string"],
"feFuncA/offset": [0, "number"],
"feFuncB/offset": [0, "number"],
"feFuncG/offset": [0, "number"],
"feFuncR/offset": [0, "number"],
"feComposite/operator": ["over", "string"],
"feMorphology/operator": ["erode", "string"],
"feConvolveMatrix/order": [3, "number-sequence"],
"marker/orient": [0, "number"],
"pattern/patternContentUnits": ["userSpaceOnUse", "string"],
"pattern/patternUnits": ["objectBoundingBox", "string"],
"*/points": ["", "number-sequence"],
"feSpotLight/pointsAtX": [0, "number"],
"feSpotLight/pointsAtY": [0, "number"],
"feSpotLight/pointsAtZ": [0, "number"],
"feConvolveMatrix/preserveAlpha": ["false", "string"],
"*/preserveAspectRatio": ["meet", "string"],
"filter/primitiveUnits": ["userSpaceOnUse", "string"],
"circle/r": [0, "number"],
"radialGradient/r": ["50%", "number"],
"feMorphology/radius": [0, "number-sequence"],
"marker/refX": [0, "number"],
"marker/refY": [0, "number"],
"text/rotate": [0, "number-sequence"],
"tspan/rotate": [0, "number-sequence"],
"ellipse/rx": [0, "number"],
"rect/rx": [0, "number"],
"ellipse/ry": [0, "number"],
"rect/ry": [0, "number"],
"feDisplacementMap/scale": [0, "number"],
"feTurbulence/seed": [0, "number"],
"feFuncA/slope": [1, "number"],
"feFuncB/slope": [1, "number"],
"feFuncG/slope": [1, "number"],
"feFuncR/slope": [1, "number"],
"textPath/spacing": ["exact", "string"],
"feSpecularLighting/specularConstant": [1, "number"],
"feSpecularLighting/specularExponent": [1, "number"],
"feSpotLight/specularExponent": [1, "number"],
"*/spreadMethod": ["pad", "string"],
"textPath/startOffset": [0, "number"],
"feGaussianBlur/stdDeviation": [0, "number-sequence"],
"feTurbulence/stitchTiles": ["noStitch", "string"],
"*/surfaceScale": [1, "number"],
"*/tableValues": ["", "number-sequence"],
"a/target": ["_self", "string"],
"feColorMatrix/type": ["matrix", "string"],
"feTurbulence/type": ["turbulence", "string"],
"feColorMatrix/values": ["", "number-sequence"],
"*/viewBox": ["", "number-sequence"],
"*/width": [0, "number"],
"svg/width": ["100%", "number"],
"*/x": [0, "number"],
"tspan/x": ["", "number"],
"line/x1": [0, "number"],
"linearGradient/x1": [0, "number"],
"line/x2": [0, "number"],
"linearGradient/x2": ["100%", "number"],
"feDisplacementMap/xChannelSelector": ["A", "string"],
"*/y": [0, "number"],
"tspan/y": ["", "number"],
"line/y1": [0, "number"],
"linearGradient/y1": [0, "number"],
"line/y2": [0, "number"],
"linearGradient/y2": [0, "number"],
"feDisplacementMap/yChannelSelector": ["A", "string"],
"fePointLight/z": [0, "number"],
"feSpotLight/z": [0, "number"],
// presentational attributes
"*/alignment-baseline": ["auto", "string"],
"*/baseline-shift": ["baseline", "string"],
"*/clip-path": ["none", "string"],
"*/clip-rule": ["nonzero", "string"],
"*/clip": ["auto", "string"],
"*/color-interpolation-filters": ["linearRGB", "string"],
"*/color-interpolation": ["sRGB", "string"],
"*/color-profile": ["auto", "string"],
"*/color-rendering": ["auto", "string"],
"*/cursor": ["auto", "string"],
"*/direction": ["ltr", "string"],
"*/display": ["inline", "string"],
"*/dominant-baseline": ["auto", "string"],
"*/enable-background": ["accumulate", "string"],
"*/fill-opacity": [1, "number"],
"*/fill": ["#000", "color"],
"*/filter": ["none", "string"],
"*/flood-color": ["#000", "color"],
"*/flood-opacity": [1, "number"],
"*/font-style": ["normal", "string"],
"*/font-variant": ["normal", "string"],
"*/font-weight": ["400", "string"],
"*/image-rendering": ["auto", "string"],
"*/kerning": ["auto", "string"],
"*/letter-spacing": ["normal", "string"],
"*/lighting-color": ["#fff", "color"],
"*/marker-end": ["none", "string"],
"*/marker-mid": ["none", "string"],
"*/marker-start": ["none", "string"],
"*/mask": ["none", "string"],
"*/opacity": [1, "number"],
"*/pointer-events": ["visiblePainted", "string"],
"*/shape-rendering": ["auto", "string"],
"stop/stop-color": ["#000", "color"],
"stop/stop-opacity": [1, "number"],
"stop/offset": ["", "number"],
"*/stroke-dasharray": ["none", "number-sequence"],
"*/stroke-dashoffset": [0, "number-sequence"],
"*/stroke-linecap": ["butt", "string"],
"*/stroke-linejoin": ["miter", "string"],
"*/stroke-miterlimit": [4, "number"],
"*/stroke-opacity": [1, "number"],
"*/stroke-width": [1, "number"],
"*/stroke": ["none", "color"],
"*/text-anchor": ["start", "string"],
"*/text-decoration": ["none", "string"],
"*/text-rendering": ["auto", "string"],
"*/unicode-bidi": ["normal", "string"],
"*/visibility": ["visible", "string"],
"*/word-spacing": ["normal", "string"],
"*/writing-mode": ["lr-tb", "string"]
}