@markuplint/html-spec 2.0.0-alpha.0.26 → 2.0.0-dev.20211213.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/index.json +8519 -5691
  2. package/package.json +5 -3
  3. package/src/aria-in-html/td.json +6 -2
  4. package/src/attributes/a.json +9 -40
  5. package/src/attributes/address.json +11 -0
  6. package/src/attributes/area.json +24 -44
  7. package/src/attributes/article.json +11 -0
  8. package/src/attributes/aside.json +11 -0
  9. package/src/attributes/audio.json +10 -32
  10. package/src/attributes/b.json +11 -0
  11. package/src/attributes/base.json +9 -13
  12. package/src/attributes/bdi.json +11 -0
  13. package/src/attributes/bdo.json +8 -8
  14. package/src/attributes/blockquote.json +11 -4
  15. package/src/attributes/body.json +57 -50
  16. package/src/attributes/br.json +11 -0
  17. package/src/attributes/button.json +27 -44
  18. package/src/attributes/canvas.json +16 -8
  19. package/src/attributes/caption.json +11 -0
  20. package/src/attributes/cite.json +11 -0
  21. package/src/attributes/code.json +11 -0
  22. package/src/attributes/col.json +18 -5
  23. package/src/attributes/colgroup.json +18 -5
  24. package/src/attributes/data.json +12 -5
  25. package/src/attributes/datalist.json +11 -0
  26. package/src/attributes/dd.json +11 -0
  27. package/src/attributes/del.json +14 -7
  28. package/src/attributes/details.json +11 -9
  29. package/src/attributes/dfn.json +11 -0
  30. package/src/attributes/dialog.json +15 -4
  31. package/src/attributes/div.json +11 -0
  32. package/src/attributes/dl.json +11 -0
  33. package/src/attributes/dt.json +11 -0
  34. package/src/attributes/em.json +11 -0
  35. package/src/attributes/embed.json +22 -16
  36. package/src/attributes/fieldset.json +9 -14
  37. package/src/attributes/figcaption.json +11 -0
  38. package/src/attributes/figure.json +11 -0
  39. package/src/attributes/footer.json +11 -0
  40. package/src/attributes/form.json +62 -29
  41. package/src/attributes/h1.json +11 -0
  42. package/src/attributes/h2.json +11 -0
  43. package/src/attributes/h3.json +11 -0
  44. package/src/attributes/h4.json +11 -0
  45. package/src/attributes/h5.json +11 -0
  46. package/src/attributes/h6.json +11 -0
  47. package/src/attributes/head.json +11 -0
  48. package/src/attributes/header.json +11 -0
  49. package/src/attributes/hr.json +11 -0
  50. package/src/attributes/html.json +11 -0
  51. package/src/attributes/i.json +11 -0
  52. package/src/attributes/iframe.json +51 -57
  53. package/src/attributes/img.json +31 -50
  54. package/src/attributes/input.json +128 -120
  55. package/src/attributes/ins.json +14 -7
  56. package/src/attributes/kbd.json +11 -0
  57. package/src/attributes/label.json +11 -8
  58. package/src/attributes/legend.json +11 -0
  59. package/src/attributes/li.json +12 -5
  60. package/src/attributes/link.json +110 -51
  61. package/src/attributes/main.json +11 -0
  62. package/src/attributes/map.json +13 -5
  63. package/src/attributes/mark.json +11 -0
  64. package/src/attributes/menu.json +11 -0
  65. package/src/attributes/meta.json +36 -21
  66. package/src/attributes/meter.json +27 -20
  67. package/src/attributes/nav.json +11 -0
  68. package/src/attributes/noscript.json +11 -0
  69. package/src/attributes/object.json +20 -27
  70. package/src/attributes/ol.json +19 -9
  71. package/src/attributes/optgroup.json +13 -9
  72. package/src/attributes/option.json +18 -14
  73. package/src/attributes/output.json +12 -12
  74. package/src/attributes/p.json +11 -0
  75. package/src/attributes/param.json +17 -8
  76. package/src/attributes/picture.json +11 -0
  77. package/src/attributes/portal.json +17 -8
  78. package/src/attributes/pre.json +11 -0
  79. package/src/attributes/progress.json +16 -8
  80. package/src/attributes/q.json +11 -4
  81. package/src/attributes/rp.json +11 -0
  82. package/src/attributes/rt.json +11 -0
  83. package/src/attributes/ruby.json +11 -0
  84. package/src/attributes/s.json +11 -0
  85. package/src/attributes/samp.json +11 -0
  86. package/src/attributes/script.json +48 -27
  87. package/src/attributes/section.json +11 -0
  88. package/src/attributes/select.json +17 -29
  89. package/src/attributes/slot.json +12 -5
  90. package/src/attributes/small.json +11 -0
  91. package/src/attributes/source.json +34 -16
  92. package/src/attributes/span.json +11 -0
  93. package/src/attributes/strong.json +11 -0
  94. package/src/attributes/style.json +12 -5
  95. package/src/attributes/sub.json +11 -0
  96. package/src/attributes/summary.json +11 -0
  97. package/src/attributes/sup.json +11 -0
  98. package/src/attributes/svg_a.json +81 -47
  99. package/src/attributes/svg_animate.json +93 -13
  100. package/src/attributes/svg_animateMotion.json +36 -32
  101. package/src/attributes/svg_animateTransform.json +27 -14
  102. package/src/attributes/svg_circle.json +87 -26
  103. package/src/attributes/svg_clipPath.json +79 -15
  104. package/src/attributes/svg_defs.json +76 -1
  105. package/src/attributes/svg_desc.json +7 -1
  106. package/src/attributes/svg_discard.json +13 -10
  107. package/src/attributes/svg_ellipse.json +88 -27
  108. package/src/attributes/svg_feBlend.json +88 -40
  109. package/src/attributes/svg_feColorMatrix.json +85 -38
  110. package/src/attributes/svg_feComponentTransfer.json +75 -31
  111. package/src/attributes/svg_feComposite.json +113 -56
  112. package/src/attributes/svg_feConvolveMatrix.json +118 -62
  113. package/src/attributes/svg_feDiffuseLighting.json +90 -42
  114. package/src/attributes/svg_feDisplacementMap.json +100 -47
  115. package/src/attributes/svg_feDistantLight.json +16 -11
  116. package/src/attributes/svg_feDropShadow.json +91 -43
  117. package/src/attributes/svg_feFlood.json +82 -37
  118. package/src/attributes/svg_feFuncA.json +6 -10
  119. package/src/attributes/svg_feFuncB.json +6 -10
  120. package/src/attributes/svg_feFuncG.json +6 -10
  121. package/src/attributes/svg_feFuncR.json +6 -10
  122. package/src/attributes/svg_feGaussianBlur.json +85 -38
  123. package/src/attributes/svg_feImage.json +97 -31
  124. package/src/attributes/svg_feMerge.json +75 -15
  125. package/src/attributes/svg_feMergeNode.json +6 -19
  126. package/src/attributes/svg_feMorphology.json +87 -39
  127. package/src/attributes/svg_feOffset.json +86 -39
  128. package/src/attributes/svg_fePointLight.json +21 -15
  129. package/src/attributes/svg_feSpecularLighting.json +95 -47
  130. package/src/attributes/svg_feSpotLight.json +52 -58
  131. package/src/attributes/svg_feTile.json +75 -31
  132. package/src/attributes/svg_feTurbulence.json +100 -33
  133. package/src/attributes/svg_filter.json +102 -27
  134. package/src/attributes/svg_foreignObject.json +83 -38
  135. package/src/attributes/svg_g.json +79 -8
  136. package/src/attributes/svg_hatch.json +103 -29
  137. package/src/attributes/svg_hatchpath.json +79 -11
  138. package/src/attributes/svg_image.json +97 -46
  139. package/src/attributes/svg_line.json +104 -27
  140. package/src/attributes/svg_linearGradient.json +118 -37
  141. package/src/attributes/svg_marker.json +124 -44
  142. package/src/attributes/svg_mask.json +89 -22
  143. package/src/attributes/svg_mesh.json +82 -10
  144. package/src/attributes/svg_meshgradient.json +22 -29
  145. package/src/attributes/svg_meshpatch.json +75 -1
  146. package/src/attributes/svg_meshrow.json +75 -1
  147. package/src/attributes/svg_metadata.json +7 -1
  148. package/src/attributes/svg_mpath.json +11 -8
  149. package/src/attributes/svg_path.json +86 -15
  150. package/src/attributes/svg_pattern.json +110 -46
  151. package/src/attributes/svg_polygon.json +88 -14
  152. package/src/attributes/svg_polyline.json +88 -14
  153. package/src/attributes/svg_radialGradient.json +132 -49
  154. package/src/attributes/svg_rect.json +90 -51
  155. package/src/attributes/svg_script.json +20 -17
  156. package/src/attributes/svg_set.json +27 -13
  157. package/src/attributes/svg_stop.json +92 -18
  158. package/src/attributes/svg_style.json +16 -13
  159. package/src/attributes/svg_svg.json +114 -62
  160. package/src/attributes/svg_switch.json +79 -8
  161. package/src/attributes/svg_symbol.json +27 -44
  162. package/src/attributes/svg_text.json +114 -32
  163. package/src/attributes/svg_textPath.json +123 -37
  164. package/src/attributes/svg_title.json +7 -1
  165. package/src/attributes/svg_tspan.json +110 -32
  166. package/src/attributes/svg_use.json +87 -46
  167. package/src/attributes/svg_view.json +21 -17
  168. package/src/attributes/table.json +11 -0
  169. package/src/attributes/tbody.json +11 -0
  170. package/src/attributes/td.json +9 -14
  171. package/src/attributes/template.json +11 -0
  172. package/src/attributes/textarea.json +42 -50
  173. package/src/attributes/tfoot.json +11 -0
  174. package/src/attributes/th.json +18 -20
  175. package/src/attributes/thead.json +11 -0
  176. package/src/attributes/time.json +12 -23
  177. package/src/attributes/title.json +11 -0
  178. package/src/attributes/tr.json +11 -0
  179. package/src/attributes/track.json +38 -0
  180. package/src/attributes/u.json +11 -0
  181. package/src/attributes/ul.json +11 -0
  182. package/src/attributes/var.json +11 -0
  183. package/src/attributes/video.json +34 -48
  184. package/src/attributes/wbr.json +11 -0
  185. package/src/global-attributes/_global.json +1334 -1161
  186. package/src/permitted-structures/svg_a.json +1 -1
  187. package/src/structure.test.ts +64 -0
  188. package/src/attributes/_custom.json +0 -10
@@ -1,1446 +1,1619 @@
1
1
  {
2
- "#HTMLGlobalAttrs": [
3
- {
4
- "name": "xml:lang",
5
- "type": "BCP47",
6
- "deprecated": true
7
- },
8
- {
9
- "name": "xml:base",
10
- "type": "IRI",
11
- "deprecated": true
12
- },
13
- {
14
- "name": "accesskey",
15
- "type": "String"
2
+ "#HTMLGlobalAttrs": {
3
+ "accesskey": {
4
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute",
5
+ "type": {
6
+ "token": "OneCodePointChar",
7
+ "ordered": true,
8
+ "unique": true,
9
+ "number": "zeroOrMore",
10
+ "separator": "space"
11
+ }
16
12
  },
17
- {
18
- "name": "autocapitalize",
13
+ "autocapitalize": {
14
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-autocapitalize",
19
15
  "type": {
20
- "enum": ["off", "on", "none", "sentences", "words", "characters"]
16
+ "enum": ["off", "on", "none", "sentences", "words", "characters"],
17
+ "disallowToSurroundBySpaces": true,
18
+ "invalidValueDefault": "sentences",
19
+ "missingValueDefault": "default",
20
+ "sameStates": {
21
+ "none": ["off"],
22
+ "sentences": ["on"]
23
+ }
21
24
  }
22
25
  },
23
- {
24
- "name": "autofocus",
26
+ "autofocus": {
27
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-fe-autofocus",
25
28
  "type": "Boolean"
26
29
  },
27
- {
28
- "name": "contenteditable",
30
+ "contenteditable": {
31
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable",
29
32
  "type": {
30
- "enum": ["true", "false"]
33
+ "enum": ["", "true", "false"],
34
+ "disallowToSurroundBySpaces": true,
35
+ "invalidValueDefault": "inherit",
36
+ "missingValueDefault": "inherit",
37
+ "sameStates": {
38
+ "true": [""]
39
+ }
31
40
  }
32
41
  },
33
- {
34
- "name": "dir",
42
+ "dir": {
43
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#attr-dir",
35
44
  "type": {
36
45
  "enum": ["ltr", "rtl", "auto"]
37
46
  }
38
47
  },
39
- {
40
- "name": "draggable",
48
+ "draggable": {
49
+ "ref": "https://html.spec.whatwg.org/multipage/dnd.html#attr-draggable",
41
50
  "type": {
42
- "enum": ["true", "false"]
51
+ "enum": ["true", "false"],
52
+ "invalidValueDefault": "auto",
53
+ "missingValueDefault": "auto"
43
54
  }
44
55
  },
45
- {
46
- "name": "enterkeyhint",
56
+ "enterkeyhint": {
57
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-enterkeyhint",
47
58
  "type": {
48
59
  "enum": ["enter", "done", "go", "next", "previous", "search", "send"]
49
60
  }
50
61
  },
51
- {
52
- "name": "hidden",
62
+ "hidden": {
63
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden",
53
64
  "type": "Boolean"
54
65
  },
55
- {
56
- "name": "inputmode",
66
+ "inputmode": {
67
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode",
57
68
  "type": {
58
69
  "enum": ["none", "text", "tel", "url", "email", "numeric", "decimal", "search"]
59
70
  }
60
71
  },
61
- {
62
- "name": "is",
63
- "type": "String"
72
+ "is": {
73
+ "ref": "https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
74
+ "type": "CustomElementName"
64
75
  },
65
- {
66
- "name": "itemid",
67
- "type": "String"
76
+ "itemid": {
77
+ "ref": "https://html.spec.whatwg.org/multipage/microdata.html#attr-itemid",
78
+ "type": "URL"
68
79
  },
69
- {
70
- "name": "itemprop",
71
- "type": "String"
80
+ "itemprop": {
81
+ "ref": "https://html.spec.whatwg.org/multipage/microdata.html#names:-the-itemprop-attribute",
82
+ "type": {
83
+ "token": "ItemProp",
84
+ "ordered": false,
85
+ "unique": true,
86
+ "separator": "space"
87
+ }
72
88
  },
73
- {
74
- "name": "itemref",
75
- "type": "DOMIDList",
89
+ "itemref": {
90
+ "ref": "https://html.spec.whatwg.org/multipage/microdata.html#attr-itemref",
91
+ "type": {
92
+ "token": "DOMID",
93
+ "separator": "space"
94
+ },
76
95
  "condition": {
77
96
  "self": "[itemscope]"
78
97
  }
79
98
  },
80
- {
81
- "name": "itemscope",
99
+ "itemscope": {
100
+ "ref": "https://html.spec.whatwg.org/multipage/microdata.html#attr-itemscope",
82
101
  "type": "Boolean"
83
102
  },
84
- {
85
- "name": "itemtype",
86
- "type": "ItemType"
103
+ "itemtype": {
104
+ "ref": "https://html.spec.whatwg.org/multipage/microdata.html#attr-itemtype",
105
+ "type": {
106
+ "token": "AbsoluteURL",
107
+ "ordered": false,
108
+ "unique": true,
109
+ "separator": "space"
110
+ }
87
111
  },
88
- {
89
- "name": "lang",
112
+ "lang": {
113
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#attr-lang",
90
114
  "type": "BCP47"
91
115
  },
92
- {
93
- "name": "nonce",
94
- "type": "String"
116
+ "nonce": {
117
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#attr-nonce",
118
+ "type": "Any"
95
119
  },
96
- {
97
- "name": "spellcheck",
120
+ "spellcheck": {
121
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-spellcheck",
98
122
  "type": {
99
- "enum": ["true", "false"]
123
+ "enum": ["", "true", "false"],
124
+ "disallowToSurroundBySpaces": true,
125
+ "invalidValueDefault": "default",
126
+ "missingValueDefault": "default",
127
+ "sameStates": {
128
+ "true": [""]
129
+ }
100
130
  }
101
131
  },
102
- {
103
- "name": "style",
104
- "type": "String"
132
+ "style": {
133
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#attr-style",
134
+ "type": "<css-declaration-list>"
105
135
  },
106
- {
107
- "name": "tabindex",
136
+ "tabindex": {
137
+ "ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex",
108
138
  "type": "TabIndex"
109
139
  },
110
- {
111
- "name": "title",
112
- "type": "String"
140
+ "title": {
141
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#attr-title",
142
+ "type": "Any"
113
143
  },
114
- {
115
- "name": "translate",
144
+ "translate": {
145
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#attr-translate",
116
146
  "type": {
117
- "enum": ["true", "false"]
147
+ "enum": ["", "yes", "no"],
148
+ "disallowToSurroundBySpaces": true,
149
+ "invalidValueDefault": "inherit",
150
+ "missingValueDefault": "inherit",
151
+ "sameStates": {
152
+ "yes": [""]
153
+ }
118
154
  }
119
155
  },
120
- {
121
- "name": "onabort",
122
- "type": "Function"
156
+ "class": {
157
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#classes",
158
+ "type": "<class-list>"
123
159
  },
124
- {
125
- "name": "onauxclick",
126
- "type": "Function"
160
+ "id": {
161
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute",
162
+ "type": "DOMID"
127
163
  },
128
- {
129
- "name": "onblur",
130
- "type": "Function"
164
+ "slot": {
165
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#attr-slot",
166
+ "type": "NoEmptyAny"
131
167
  },
132
- {
133
- "name": "oncancel",
134
- "type": "Function"
168
+ "xmlns": {
169
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#global-attributes:html-documents",
170
+ "type": "URL",
171
+ "ineffective": "*"
135
172
  },
136
- {
137
- "name": "oncanplay",
138
- "type": "Function"
173
+ "xml:lang": {
174
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#the-lang-and-xml:lang-attributes",
175
+ "type": "BCP47",
176
+ "deprecated": true
139
177
  },
140
- {
141
- "name": "oncanplaythrough",
142
- "type": "Function"
178
+ "xml:space": {
179
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#global-attributes:attr-xml-space",
180
+ "type": {
181
+ "enum": ["default", "preserve"]
182
+ },
183
+ "defaultValue": "default",
184
+ "deprecated": true
185
+ }
186
+ },
187
+ "#GlobalEventAttrs": {
188
+ "onabort": {
189
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onabort",
190
+ "type": "FunctionBody"
191
+ },
192
+ "onauxclick": {
193
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onabort",
194
+ "type": "FunctionBody"
195
+ },
196
+ "onblur": {
197
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onabort",
198
+ "type": "FunctionBody"
199
+ },
200
+ "oncancel": {
201
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncancel",
202
+ "type": "FunctionBody"
143
203
  },
144
- {
145
- "name": "onchange",
146
- "type": "Function"
204
+ "oncanplay": {
205
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncanplay",
206
+ "type": "FunctionBody"
147
207
  },
148
- {
149
- "name": "onclick",
150
- "type": "Function"
208
+ "oncanplaythrough": {
209
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncanplaythrough",
210
+ "type": "FunctionBody"
151
211
  },
152
- {
153
- "name": "onclose",
154
- "type": "Function"
212
+ "onchange": {
213
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onchange",
214
+ "type": "FunctionBody"
155
215
  },
156
- {
157
- "name": "oncontextmenu",
158
- "type": "Function"
216
+ "onclick": {
217
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onclick",
218
+ "type": "FunctionBody"
159
219
  },
160
- {
161
- "name": "oncopy",
162
- "type": "Function"
220
+ "onclose": {
221
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onclose",
222
+ "type": "FunctionBody"
163
223
  },
164
- {
165
- "name": "oncuechange",
166
- "type": "Function"
224
+ "oncontextlost": {
225
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncontextlost",
226
+ "type": "FunctionBody"
167
227
  },
168
- {
169
- "name": "oncut",
170
- "type": "Function"
228
+ "oncontextmenu": {
229
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncontextmenu",
230
+ "type": "FunctionBody"
171
231
  },
172
- {
173
- "name": "ondblclick",
174
- "type": "Function"
232
+ "oncontextrestored": {
233
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncontextrestored",
234
+ "type": "FunctionBody"
175
235
  },
176
- {
177
- "name": "ondrag",
178
- "type": "Function"
236
+ "oncuechange": {
237
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncuechange",
238
+ "type": "FunctionBody"
179
239
  },
180
- {
181
- "name": "ondragend",
182
- "type": "Function"
240
+ "ondblclick": {
241
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondblclick",
242
+ "type": "FunctionBody"
183
243
  },
184
- {
185
- "name": "ondragenter",
186
- "type": "Function"
244
+ "ondrag": {
245
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondrag",
246
+ "type": "FunctionBody"
187
247
  },
188
- {
189
- "name": "ondragexit",
190
- "type": "Function"
248
+ "ondragend": {
249
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondragend",
250
+ "type": "FunctionBody"
191
251
  },
192
- {
193
- "name": "ondragleave",
194
- "type": "Function"
252
+ "ondragenter": {
253
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondragenter",
254
+ "type": "FunctionBody"
195
255
  },
196
- {
197
- "name": "ondragover",
198
- "type": "Function"
256
+ "ondragleave": {
257
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondragleave",
258
+ "type": "FunctionBody"
199
259
  },
200
- {
201
- "name": "ondragstart",
202
- "type": "Function"
260
+ "ondragover": {
261
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondragover",
262
+ "type": "FunctionBody"
203
263
  },
204
- {
205
- "name": "ondrop",
206
- "type": "Function"
264
+ "ondragstart": {
265
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondragstart",
266
+ "type": "FunctionBody"
207
267
  },
208
- {
209
- "name": "ondurationchange",
210
- "type": "Function"
268
+ "ondrop": {
269
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondrop",
270
+ "type": "FunctionBody"
211
271
  },
212
- {
213
- "name": "onemptied",
214
- "type": "Function"
272
+ "ondurationchange": {
273
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ondurationchange",
274
+ "type": "FunctionBody"
215
275
  },
216
- {
217
- "name": "onended",
218
- "type": "Function"
276
+ "onemptied": {
277
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onemptied",
278
+ "type": "FunctionBody"
219
279
  },
220
- {
221
- "name": "onerror",
222
- "type": "Function"
280
+ "onended": {
281
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onended",
282
+ "type": "FunctionBody"
223
283
  },
224
- {
225
- "name": "onfocus",
226
- "type": "Function"
284
+ "onerror": {
285
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onerror",
286
+ "type": "FunctionBody"
227
287
  },
228
- {
229
- "name": "onformdata",
230
- "type": "Function"
288
+ "onfocus": {
289
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onfocus",
290
+ "type": "FunctionBody"
231
291
  },
232
- {
233
- "name": "oninput",
234
- "type": "Function"
292
+ "onformdata": {
293
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onformdata",
294
+ "type": "FunctionBody"
235
295
  },
236
- {
237
- "name": "oninvalid",
238
- "type": "Function"
296
+ "oninput": {
297
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oninput",
298
+ "type": "FunctionBody"
239
299
  },
240
- {
241
- "name": "onkeydown",
242
- "type": "Function"
300
+ "oninvalid": {
301
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oninvalid",
302
+ "type": "FunctionBody"
243
303
  },
244
- {
245
- "name": "onkeypress",
246
- "type": "Function"
304
+ "onkeydown": {
305
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeydown",
306
+ "type": "FunctionBody"
247
307
  },
248
- {
249
- "name": "onkeyup",
250
- "type": "Function"
308
+ "onkeypress": {
309
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeypress",
310
+ "type": "FunctionBody"
251
311
  },
252
- {
253
- "name": "onload",
254
- "type": "Function"
312
+ "onkeyup": {
313
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeyup",
314
+ "type": "FunctionBody"
255
315
  },
256
- {
257
- "name": "onloadeddata",
258
- "type": "Function"
316
+ "onload": {
317
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onload",
318
+ "type": "FunctionBody"
259
319
  },
260
- {
261
- "name": "onloadedmetadata",
262
- "type": "Function"
320
+ "onloadeddata": {
321
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onloadeddata",
322
+ "type": "FunctionBody"
263
323
  },
264
- {
265
- "name": "onloadstart",
266
- "type": "Function"
324
+ "onloadedmetadata": {
325
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onloadedmetadata",
326
+ "type": "FunctionBody"
267
327
  },
268
- {
269
- "name": "onmousedown",
270
- "type": "Function"
328
+ "onloadstart": {
329
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onloadstart",
330
+ "type": "FunctionBody"
271
331
  },
272
- {
273
- "name": "onmouseenter",
274
- "type": "Function"
332
+ "onmousedown": {
333
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onmousedown",
334
+ "type": "FunctionBody"
275
335
  },
276
- {
277
- "name": "onmouseleave",
278
- "type": "Function"
336
+ "onmouseenter": {
337
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onmouseenter",
338
+ "type": "FunctionBody"
279
339
  },
280
- {
281
- "name": "onmousemove",
282
- "type": "Function"
340
+ "onmouseleave": {
341
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onmouseleave",
342
+ "type": "FunctionBody"
283
343
  },
284
- {
285
- "name": "onmouseout",
286
- "type": "Function"
344
+ "onmousemove": {
345
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onmousemove",
346
+ "type": "FunctionBody"
287
347
  },
288
- {
289
- "name": "onmouseover",
290
- "type": "Function"
348
+ "onmouseout": {
349
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onmouseout",
350
+ "type": "FunctionBody"
291
351
  },
292
- {
293
- "name": "onmouseup",
294
- "type": "Function"
352
+ "onmouseover": {
353
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onmouseover",
354
+ "type": "FunctionBody"
295
355
  },
296
- {
297
- "name": "onpaste",
298
- "type": "Function"
356
+ "onmouseup": {
357
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onmouseup",
358
+ "type": "FunctionBody"
299
359
  },
300
- {
301
- "name": "onpause",
302
- "type": "Function"
360
+ "onpause": {
361
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onpause",
362
+ "type": "FunctionBody"
303
363
  },
304
- {
305
- "name": "onplay",
306
- "type": "Function"
364
+ "onplay": {
365
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onplay",
366
+ "type": "FunctionBody"
307
367
  },
308
- {
309
- "name": "onplaying",
310
- "type": "Function"
368
+ "onplaying": {
369
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onplaying",
370
+ "type": "FunctionBody"
311
371
  },
312
- {
313
- "name": "onprogress",
314
- "type": "Function"
372
+ "onprogress": {
373
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onprogress",
374
+ "type": "FunctionBody"
315
375
  },
316
- {
317
- "name": "onratechange",
318
- "type": "Function"
376
+ "onratechange": {
377
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onratechange",
378
+ "type": "FunctionBody"
319
379
  },
320
- {
321
- "name": "onreset",
322
- "type": "Function"
380
+ "onreset": {
381
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onreset",
382
+ "type": "FunctionBody"
323
383
  },
324
- {
325
- "name": "onresize",
326
- "type": "Function"
384
+ "onresize": {
385
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onresize",
386
+ "type": "FunctionBody"
327
387
  },
328
- {
329
- "name": "onscroll",
330
- "type": "Function"
388
+ "onscroll": {
389
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onscroll",
390
+ "type": "FunctionBody"
331
391
  },
332
- {
333
- "name": "onsecuritypolicyviolation",
334
- "type": "Function"
392
+ "onsecuritypolicyviolation": {
393
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation",
394
+ "type": "FunctionBody"
335
395
  },
336
- {
337
- "name": "onseeked",
338
- "type": "Function"
396
+ "onseeked": {
397
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onseeked",
398
+ "type": "FunctionBody"
339
399
  },
340
- {
341
- "name": "onseeking",
342
- "type": "Function"
400
+ "onseeking": {
401
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onseeking",
402
+ "type": "FunctionBody"
343
403
  },
344
- {
345
- "name": "onselect",
346
- "type": "Function"
404
+ "onselect": {
405
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onselect",
406
+ "type": "FunctionBody"
347
407
  },
348
- {
349
- "name": "onslotchange",
350
- "type": "Function"
408
+ "onslotchange": {
409
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onslotchange",
410
+ "type": "FunctionBody"
351
411
  },
352
- {
353
- "name": "onstalled",
354
- "type": "Function"
412
+ "onstalled": {
413
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onstalled",
414
+ "type": "FunctionBody"
355
415
  },
356
- {
357
- "name": "onsubmit",
358
- "type": "Function"
416
+ "onsubmit": {
417
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsubmit",
418
+ "type": "FunctionBody"
359
419
  },
360
- {
361
- "name": "onsuspend",
362
- "type": "Function"
420
+ "onsuspend": {
421
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsuspend",
422
+ "type": "FunctionBody"
363
423
  },
364
- {
365
- "name": "ontimeupdate",
366
- "type": "Function"
424
+ "ontimeupdate": {
425
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ontimeupdate",
426
+ "type": "FunctionBody"
367
427
  },
368
- {
369
- "name": "ontoggle",
370
- "type": "Function"
428
+ "ontoggle": {
429
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-ontoggle",
430
+ "type": "FunctionBody"
371
431
  },
372
- {
373
- "name": "onvolumechange",
374
- "type": "Function"
432
+ "onvolumechange": {
433
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onvolumechange",
434
+ "type": "FunctionBody"
375
435
  },
376
- {
377
- "name": "onwaiting",
378
- "type": "Function"
436
+ "onwaiting": {
437
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onwaiting",
438
+ "type": "FunctionBody"
379
439
  },
380
- {
381
- "name": "onwheel",
382
- "type": "Function"
440
+ "onwheel": {
441
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onwheel",
442
+ "type": "FunctionBody"
443
+ },
444
+ "onwebkitanimationend": {
445
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onwebkitanimationend",
446
+ "type": "FunctionBody",
447
+ "deprecated": true
448
+ },
449
+ "onwebkitanimationiteration": {
450
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onwebkitanimationiteration",
451
+ "type": "FunctionBody",
452
+ "deprecated": true
453
+ },
454
+ "onwebkitanimationstart": {
455
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onwebkitanimationstart",
456
+ "type": "FunctionBody",
457
+ "deprecated": true
383
458
  },
384
- {
385
- "name": "role",
386
- "type": "String"
459
+ "onwebkittransitionend": {
460
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onwebkittransitionend",
461
+ "type": "FunctionBody",
462
+ "deprecated": true
463
+ }
464
+ },
465
+ "#DocumentElementEventAttrs": {
466
+ "oncopy": {
467
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncopy",
468
+ "type": "FunctionBody"
469
+ },
470
+ "oncut": {
471
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncut",
472
+ "type": "FunctionBody"
473
+ },
474
+ "onpaste": {
475
+ "ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onpaste",
476
+ "type": "FunctionBody"
387
477
  }
388
- ],
389
- "#SVGAnimationAdditionAttrs": [
390
- {
391
- "name": "additive",
478
+ },
479
+ "#HTMLLinkAndFetchingAttrs": {
480
+ "href": {
481
+ "ref": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-href",
482
+ "type": "URL"
483
+ },
484
+ "target": {
485
+ "ref": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-target",
486
+ "type": "BrowsingContextNameOrKeyword",
487
+ "condition": {
488
+ "self": "[href]"
489
+ }
490
+ },
491
+ "download": {
492
+ "ref": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download",
493
+ "type": "Any",
494
+ "condition": {
495
+ "self": "[href]"
496
+ }
497
+ },
498
+ "ping": {
499
+ "ref": "https://html.spec.whatwg.org/multipage/links.html#ping",
500
+ "type": {
501
+ "token": "HTTPSchemaURL",
502
+ "separator": "space"
503
+ },
504
+ "condition": {
505
+ "self": "[href]"
506
+ }
507
+ },
508
+ "rel": {
509
+ "ref": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-rel",
510
+ "type": {
511
+ "token": {
512
+ "enum": [
513
+ "alternate",
514
+ "author",
515
+ "bookmark",
516
+ "external",
517
+ "help",
518
+ "license",
519
+ "next",
520
+ "nofollow",
521
+ "noopener",
522
+ "noreferrer",
523
+ "opener",
524
+ "prev",
525
+ "search",
526
+ "tag"
527
+ ]
528
+ },
529
+ "unique": true,
530
+ "separator": "space"
531
+ },
532
+ "condition": {
533
+ "self": "[href]"
534
+ }
535
+ },
536
+ "hreflang": {
537
+ "ref": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-hreflang",
538
+ "type": "BCP47",
539
+ "condition": {
540
+ "self": "[href]"
541
+ }
542
+ },
543
+ "type": {
544
+ "ref": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-type",
545
+ "type": "MIMEType",
546
+ "condition": {
547
+ "self": "[href]"
548
+ }
549
+ },
550
+ "referrerpolicy": {
551
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#referrer-policy-attribute",
552
+ "type": {
553
+ "enum": [
554
+ "",
555
+ "no-referrer",
556
+ "no-referrer-when-downgrade",
557
+ "same-origin",
558
+ "origin",
559
+ "strict-origin",
560
+ "origin-when-cross-origin",
561
+ "strict-origin-when-cross-origin",
562
+ "unsafe-url"
563
+ ]
564
+ },
565
+ "condition": {
566
+ "self": "[href]"
567
+ },
568
+ "defaultValue": "strict-origin-when-cross-origin"
569
+ },
570
+ "loading": {
571
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-loading-attribute",
572
+ "type": {
573
+ "enum": ["lazy", "eager"],
574
+ "invalidValueDefault": "eager",
575
+ "missingValueDefault": "eager"
576
+ }
577
+ },
578
+ "integrity": {
579
+ "ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-link-integrity",
580
+ "type": "Any",
581
+ "_TODO_": "The type is hash-source (https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description)"
582
+ },
583
+ "media": {
584
+ "ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-link-media",
585
+ "type": "<media-query-list>"
586
+ },
587
+ "crossorigin": {
588
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attribute",
589
+ "type": {
590
+ "enum": ["", "anonymous", "use-credentials"],
591
+ "invalidValueDefault": "anonymous",
592
+ "missingValueDefault": "No CORS",
593
+ "sameStates": {
594
+ "anonymous": [""]
595
+ }
596
+ }
597
+ }
598
+ },
599
+ "#HTMLEmbededAndMediaContentAttrs": {
600
+ "src": {
601
+ "ref": "https://html.spec.whatwg.org/multipage/media.html#attr-media-src",
602
+ "type": "URL"
603
+ },
604
+ "preload": {
605
+ "ref": "https://html.spec.whatwg.org/multipage/media.html#attr-media-preload",
606
+ "type": {
607
+ "enum": ["none", "metadata", "auto"],
608
+ "invalidValueDefault": "implementation-defined",
609
+ "missingValueDefault": "implementation-defined"
610
+ }
611
+ },
612
+ "autoplay": {
613
+ "ref": "https://html.spec.whatwg.org/multipage/media.html#attr-media-autoplay",
614
+ "type": "Boolean"
615
+ },
616
+ "loop": {
617
+ "ref": "https://html.spec.whatwg.org/multipage/media.html#attr-media-loop",
618
+ "type": "Boolean"
619
+ },
620
+ "muted": {
621
+ "ref": "https://html.spec.whatwg.org/multipage/media.html#attr-media-controls",
622
+ "type": "Boolean"
623
+ },
624
+ "controls": {
625
+ "ref": "https://html.spec.whatwg.org/multipage/media.html#attr-media-muted",
626
+ "type": "Boolean"
627
+ },
628
+ "height": {
629
+ "ref": "https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height",
630
+ "type": "Uint"
631
+ },
632
+ "srcset": {
633
+ "ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-srcset",
634
+ "type": "Srcset"
635
+ },
636
+ "sizes": {
637
+ "ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-sizes",
638
+ "type": "SourceSizeList"
639
+ },
640
+ "width": {
641
+ "ref": "https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width",
642
+ "type": "Uint"
643
+ }
644
+ },
645
+ "#HTMLFormControlElementAttrs": {
646
+ "autocomplete": {
647
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete",
648
+ "type": "AutoComplete"
649
+ },
650
+ "dirname": {
651
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-dirname",
652
+ "type": "NoEmptyAny"
653
+ },
654
+ "disabled": {
655
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled",
656
+ "type": "Boolean"
657
+ },
658
+ "form": {
659
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form",
660
+ "type": "DOMID"
661
+ },
662
+ "formaction": {
663
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formaction",
664
+ "type": "URL"
665
+ },
666
+ "formenctype": {
667
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formenctype",
668
+ "type": {
669
+ "enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"],
670
+ "invalidValueDefault": "application/x-www-form-urlencoded"
671
+ }
672
+ },
673
+ "formmethod": {
674
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formmethod",
675
+ "type": {
676
+ "enum": ["post", "get", "dialog"],
677
+ "invalidValueDefault": "get"
678
+ }
679
+ },
680
+ "formnovalidate": {
681
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formnovalidate",
682
+ "type": "Boolean"
683
+ },
684
+ "formtarget": {
685
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formtarget",
686
+ "type": "BrowsingContextNameOrKeyword"
687
+ },
688
+ "name": {
689
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name",
690
+ "type": "NoEmptyAny"
691
+ },
692
+ "maxlength": {
693
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-maxlength",
694
+ "type": "Uint"
695
+ },
696
+ "minlength": {
697
+ "ref": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-minlength",
698
+ "type": "Uint"
699
+ },
700
+ "readonly": {
701
+ "ref": "https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly",
702
+ "type": "Boolean"
703
+ },
704
+ "required": {
705
+ "ref": "https://html.spec.whatwg.org/multipage/input.html#attr-input-required",
706
+ "type": "Boolean"
707
+ }
708
+ },
709
+ "#HTMLTableCellElementAttrs": {
710
+ "colspan": {
711
+ "ref": "https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-colspan",
712
+ "type": {
713
+ "type": "integer",
714
+ "gt": 0,
715
+ "lte": 1000
716
+ }
717
+ },
718
+ "rowspan": {
719
+ "ref": "https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-rowspan",
720
+ "type": {
721
+ "type": "integer",
722
+ "gt": 0,
723
+ "lte": 65534
724
+ }
725
+ },
726
+ "headers": {
727
+ "ref": "https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-headers",
728
+ "type": {
729
+ "token": "DOMID",
730
+ "ordered": false,
731
+ "unique": true,
732
+ "separator": "space"
733
+ }
734
+ }
735
+ },
736
+ "#ARIAAttrs": {
737
+ "role": {
738
+ "ref": "https://html.spec.whatwg.org/multipage/infrastructure.html#attr-aria-role",
739
+ "type": {
740
+ "token": "NoEmptyAny",
741
+ "separator": "space"
742
+ }
743
+ }
744
+ },
745
+ "#SVGAnimationAdditionAttrs": {
746
+ "additive": {
747
+ "ref": "https://svgwg.org/specs/animations/#AdditiveAttribute",
392
748
  "type": {
393
749
  "enum": ["replace", "sum"]
394
750
  },
395
751
  "defaultValue": "replace"
396
752
  },
397
- {
398
- "name": "accumulate",
753
+ "accumulate": {
754
+ "ref": "https://svgwg.org/specs/animations/#AccumulateAttribute",
399
755
  "type": {
400
756
  "enum": ["none", "sum"]
401
757
  },
402
758
  "defaultValue": "none"
403
759
  }
404
- ],
405
- "#SVGAnimationAttributeTargetAttrs": [
406
- {
407
- "name": "attributeType",
760
+ },
761
+ "#SVGAnimationAttributeTargetAttrs": {
762
+ "attributeName": {
763
+ "ref": "https://svgwg.org/specs/animations/#AttributeNameAttribute",
764
+ "type": "XMLName"
765
+ },
766
+ "attributeType": {
767
+ "ref": "https://www.w3.org/TR/2001/REC-smil-animation-20010904/#AttributeTypeAttribute",
408
768
  "type": {
409
769
  "enum": ["CSS", "XML", "auto"]
410
770
  },
411
- "defaultValue": "auto"
412
- },
413
- {
414
- "name": "attributeName",
415
- "type": "String"
771
+ "defaultValue": "auto",
772
+ "noUse": true
416
773
  }
417
- ],
418
- "#SVGAnimationEventAttrs": [
419
- {
420
- "name": "onbegin",
421
- "type": "Function"
422
- },
423
- {
424
- "name": "onend",
425
- "type": "Function"
426
- },
427
- {
428
- "name": "onrepeat",
429
- "type": "Function"
774
+ },
775
+ "#SVGAnimationEventAttrs": {
776
+ "onbegin": {
777
+ "ref": "https://svgwg.org/svg2-draft/interact.html#OnBeginEventAttribute",
778
+ "type": "FunctionBody"
779
+ },
780
+ "onend": {
781
+ "ref": "https://svgwg.org/svg2-draft/interact.html#OnEndEventAttribute",
782
+ "type": "FunctionBody"
783
+ },
784
+ "onrepeat": {
785
+ "ref": "https://svgwg.org/svg2-draft/interact.html#OnRepeatEventAttribute",
786
+ "type": "FunctionBody"
430
787
  }
431
- ],
432
- "#SVGAnimationTargetElementAttrs": [
433
- {
434
- "name": "href",
788
+ },
789
+ "#SVGAnimationTargetElementAttrs": {
790
+ "href": {
791
+ "ref": "https://svgwg.org/specs/animations/#HrefAttribute",
435
792
  "type": "URL"
793
+ },
794
+ "xlink:href": {
795
+ "ref": "https://svgwg.org/svg2-draft/linking.html#XLinkHrefAttribute",
796
+ "type": "URL",
797
+ "deprecated": true
436
798
  }
437
- ],
438
- "#SVGAnimationTimingAttrs": [
439
- {
440
- "name": "begin",
441
- "type": "SVGBeginValueList",
799
+ },
800
+ "#SVGAnimationTimingAttrs": {
801
+ "begin": {
802
+ "ref": "https://svgwg.org/specs/animations/#BeginAttribute",
803
+ "type": "<begin-value-list>",
442
804
  "defaultValue": "0s"
443
805
  },
444
- {
445
- "name": "dur",
806
+ "dur": {
807
+ "ref": "https://svgwg.org/specs/animations/#DurAttribute",
446
808
  "type": [
447
- "SVGClockValue",
809
+ "<clock-value>",
448
810
  {
449
811
  "enum": ["media", "indefinite"]
450
812
  }
451
813
  ],
452
814
  "defaultValue": "indefinite"
453
815
  },
454
- {
455
- "name": "end",
456
- "type": "SVGEndValueList"
816
+ "end": {
817
+ "ref": "https://svgwg.org/specs/animations/#EndAttribute",
818
+ "type": "<end-value-list>"
457
819
  },
458
- {
459
- "name": "min",
460
- "type": "SVGClockValue",
461
- "defaultValue": "0"
820
+ "min": {
821
+ "ref": "https://svgwg.org/specs/animations/#MinAttribute",
822
+ "type": "<clock-value>",
823
+ "defaultValue": "0s"
462
824
  },
463
- {
464
- "name": "max",
465
- "type": "SVGClockValue"
825
+ "max": {
826
+ "ref": "https://svgwg.org/specs/animations/#MaxAttribute",
827
+ "type": "<clock-value>"
466
828
  },
467
- {
468
- "name": "restart",
829
+ "restart": {
830
+ "ref": "https://svgwg.org/specs/animations/#RestartAttribute",
469
831
  "type": {
470
832
  "enum": ["always", "whenNotActive", "never"]
471
833
  },
472
834
  "defaultValue": "always"
473
835
  },
474
- {
475
- "name": "repeatCount",
836
+ "repeatCount": {
837
+ "ref": "https://svgwg.org/specs/animations/#RepeatCountAttribute",
476
838
  "type": [
477
- "Float",
839
+ "<number>",
478
840
  {
479
841
  "enum": ["indefinite"]
480
842
  }
481
843
  ]
482
844
  },
483
- {
484
- "name": "repeatDur",
845
+ "repeatDur": {
846
+ "ref": "https://svgwg.org/specs/animations/#RepeatDurAttribute",
485
847
  "type": [
486
- "SVGClockValue",
848
+ "<clock-value>",
487
849
  {
488
850
  "enum": ["indefinite"]
489
851
  }
490
852
  ]
491
853
  },
492
- {
493
- "name": "fill",
854
+ "fill": {
855
+ "ref": "https://svgwg.org/specs/animations/#FillAttribute",
494
856
  "type": {
495
857
  "enum": ["freeze", "remove"]
496
858
  },
497
859
  "defaultValue": "remove"
498
860
  }
499
- ],
500
- "#SVGAnimationValueAttrs": [
501
- {
502
- "name": "calcMode",
861
+ },
862
+ "#SVGAnimationValueAttrs": {
863
+ "calcMode": {
864
+ "ref": "https://svgwg.org/specs/animations/#CalcModeAttribute",
503
865
  "type": {
504
866
  "enum": ["discrete", "linear", "paced", "spline"]
505
867
  },
506
868
  "defaultValue": "linear"
507
869
  },
508
- {
509
- "name": "values",
510
- "type": "String"
870
+ "values": {
871
+ "ref": "https://svgwg.org/specs/animations/#ValuesAttribute",
872
+ "type": "<list-of-value>"
873
+ },
874
+ "keyTimes": {
875
+ "ref": "https://svgwg.org/specs/animations/#KeyTimesAttribute",
876
+ "type": "<key-times>"
511
877
  },
512
- {
513
- "name": "keyTimes",
514
- "type": "SVGKeyTimes"
878
+ "keySplines": {
879
+ "ref": "https://svgwg.org/specs/animations/#KeySplinesAttribute",
880
+ "type": "<key-splines>"
515
881
  },
516
- {
517
- "name": "keySplines",
518
- "type": "SVGKeySplines"
882
+ "from": {
883
+ "ref": "https://svgwg.org/specs/animations/#FromAttribute",
884
+ "type": "<animatable-value>"
519
885
  },
520
- {
521
- "name": "from",
522
- "type": "SVGAnimatableValue"
886
+ "to": {
887
+ "ref": "https://svgwg.org/specs/animations/#ToAttribute",
888
+ "type": "<animatable-value>"
523
889
  },
524
- {
525
- "name": "to",
526
- "type": "SVGAnimatableValue"
890
+ "by": {
891
+ "ref": "https://svgwg.org/specs/animations/#ByAttribute",
892
+ "type": "<animatable-value>"
527
893
  },
528
- {
529
- "name": "by",
530
- "type": "SVGAnimatableValue"
894
+ "accelerate": {
895
+ "ref": "https://www.w3.org/TR/REC-smil/smil-timemanip.html#adef-accelerate",
896
+ "type": "<number-zero-one>",
897
+ "defaultValue": "0"
898
+ },
899
+ "decelerate": {
900
+ "ref": "https://www.w3.org/TR/REC-smil/smil-timemanip.html#adef-decelerate",
901
+ "type": "<number-zero-one>",
902
+ "defaultValue": "0"
531
903
  },
532
- {
533
- "name": "autoReverse",
904
+ "autoReverse": {
905
+ "ref": "https://www.w3.org/TR/REC-smil/smil-timemanip.html#TimeManip-autoReverseSyntax",
534
906
  "type": {
535
907
  "enum": ["true", "false"]
536
908
  },
537
909
  "defaultValue": "false"
538
910
  },
539
- {
540
- "name": "accelerate",
541
- "type": "ZeroToOne",
542
- "defaultValue": "0"
543
- },
544
- {
545
- "name": "decelerate",
546
- "type": "ZeroToOne",
547
- "defaultValue": "0"
911
+ "speed": {
912
+ "ref": "https://www.w3.org/TR/REC-smil/smil-timemanip.html#adef-speed",
913
+ "type": "<number>"
548
914
  }
549
- ],
550
- "#SVGConditionalProcessingAttrs": [
551
- {
552
- "name": "requiredExtensions",
553
- "type": "URLList"
554
- },
555
- {
556
- "name": "systemLanguage",
557
- "type": "SVGLanguageTags"
558
- },
559
- {
560
- "name": "requiredFeatures",
561
- "type": "String",
915
+ },
916
+ "#SVGConditionalProcessingAttrs": {
917
+ "requiredExtensions": {
918
+ "ref": "https://svgwg.org/svg2-draft/struct.html#RequiredExtensionsAttribute",
919
+ "type": {
920
+ "token": "URL",
921
+ "unique": true,
922
+ "separator": "space"
923
+ }
924
+ },
925
+ "systemLanguage": {
926
+ "ref": "https://svgwg.org/svg2-draft/struct.html#SystemLanguageAttribute",
927
+ "type": {
928
+ "token": "BCP47",
929
+ "unique": true,
930
+ "separator": "comma"
931
+ }
932
+ },
933
+ "requiredFeatures": {
934
+ "ref": "https://www.w3.org/TR/SVG11/struct.html#RequiredFeaturesAttribute",
935
+ "type": "<list-of-svg-feature-string>",
562
936
  "deprecated": true
563
937
  }
564
- ],
565
- "#SVGCoreAttrs": [
566
- {
567
- "name": "id",
938
+ },
939
+ "#SVGCoreAttrs": {
940
+ "id": {
941
+ "ref": "https://svgwg.org/svg2-draft/struct.html#IDAttribute",
568
942
  "type": "DOMID"
569
943
  },
570
- {
571
- "name": "tabindex",
944
+ "tabindex": {
945
+ "ref": "https://svgwg.org/svg2-draft/struct.html#SVGElementTabindexAttribute",
572
946
  "type": "TabIndex"
573
947
  },
574
- {
575
- "name": "autofocus",
948
+ "autofocus": {
949
+ "ref": "https://svgwg.org/svg2-draft/struct.html#SVGElementAutofocusAttribute",
576
950
  "type": "Boolean"
577
951
  },
578
- {
579
- "name": "lang",
952
+ "lang": {
953
+ "ref": "https://svgwg.org/svg2-draft/struct.html#LangAttribute",
580
954
  "type": "BCP47"
581
955
  },
582
- {
583
- "name": "class",
584
- "type": "String"
585
- },
586
- {
587
- "name": "style",
588
- "type": "String"
956
+ "class": {
957
+ "ref": "https://svgwg.org/svg2-draft/styling.html#ClassAttribute",
958
+ "type": "<class-list>"
589
959
  },
590
- {
591
- "name": "xml:base",
592
- "type": "IRI",
593
- "deprecated": true
960
+ "style": {
961
+ "ref": "https://svgwg.org/svg2-draft/styling.html#StyleAttribute",
962
+ "type": "<css-declaration-list>"
594
963
  },
595
- {
596
- "name": "xml:lang",
597
- "type": "BCP47",
598
- "deprecated": true
964
+ "xmlns": {
965
+ "ref": "https://html.spec.whatwg.org/multipage/dom.html#global-attributes:html-documents",
966
+ "type": "URL",
967
+ "ineffective": ":not(:root)"
599
968
  },
600
- {
601
- "name": "xml:space",
969
+ "xml:space": {
970
+ "ref": "https://svgwg.org/svg2-draft/struct.html#XMLSpaceAttribute",
602
971
  "type": {
603
972
  "enum": ["default", "preserve"]
604
973
  },
605
974
  "defaultValue": "default",
606
975
  "deprecated": true
607
- }
608
- ],
609
- "#SVGDocumentElementEventAttrs": [
610
- {
611
- "name": "oncopy",
612
- "type": "Function"
613
- },
614
- {
615
- "name": "oncut",
616
- "type": "Function"
617
- },
618
- {
619
- "name": "onpaste",
620
- "type": "Function"
621
- }
622
- ],
623
- "#SVGDocumentEventAttrs": [
624
- {
625
- "name": "onabort",
626
- "type": "Function"
627
- },
628
- {
629
- "name": "onerror",
630
- "type": "Function"
631
- },
632
- {
633
- "name": "onresize",
634
- "type": "Function"
635
- },
636
- {
637
- "name": "onscroll",
638
- "type": "Function"
639
- },
640
- {
641
- "name": "onunload",
642
- "type": "Function"
643
- }
644
- ],
645
- "#SVGFilterPrimitiveAttrs": [
646
- {
647
- "name": "height",
648
- "type": [
649
- "SVGLength",
650
- "SVGPercentage",
651
- {
652
- "enum": ["auto"]
653
- }
654
- ],
655
- "defaultValue": "auto"
656
976
  },
657
- {
658
- "name": "result",
659
- "type": "SVGFilterPrimitiveReference"
977
+ "xml:lang": {
978
+ "ref": "https://svgwg.org/svg2-draft/struct.html#LangSpaceAttrs",
979
+ "type": "BCP47",
980
+ "deprecated": true
660
981
  },
661
- {
662
- "name": "width",
982
+ "xml:base": {
983
+ "ref": "https://www.w3.org/TR/SVG11/struct.html#XMLBaseAttribute",
984
+ "type": "URL",
985
+ "deprecated": true
986
+ }
987
+ },
988
+ "#SVGFilterPrimitiveAttrs": {
989
+ "x": {
990
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-x",
991
+ "type": ["<svg-length>", "<percentage>"],
992
+ "defaultValue": "0%",
993
+ "animatable": true
994
+ },
995
+ "y": {
996
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-y",
997
+ "type": ["<svg-length>", "<percentage>"],
998
+ "defaultValue": "0%",
999
+ "animatable": true
1000
+ },
1001
+ "width": {
1002
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-width",
1003
+ "type": ["<svg-length>", "<percentage>"],
1004
+ "defaultValue": "100%",
1005
+ "animatable": true
1006
+ },
1007
+ "height": {
1008
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-height",
1009
+ "type": ["<svg-length>", "<percentage>"],
1010
+ "defaultValue": "100%",
1011
+ "animatable": true
1012
+ },
1013
+ "result": {
1014
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-result",
1015
+ "type": "<custom-ident>"
1016
+ },
1017
+ "in": {
1018
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-in",
663
1019
  "type": [
664
- "SVGLength",
665
- "SVGPercentage",
666
1020
  {
667
- "enum": ["auto"]
668
- }
1021
+ "enum": [
1022
+ "SourceGraphic",
1023
+ "SourceAlpha",
1024
+ "BackgroundImage",
1025
+ "BackgroundAlpha",
1026
+ "FillPaint",
1027
+ "StrokePaint"
1028
+ ],
1029
+ "disallowToSurroundBySpaces": false
1030
+ },
1031
+ "<custom-ident>"
669
1032
  ],
670
- "defaultValue": "auto"
671
- },
672
- {
673
- "name": "x",
674
- "type": ["SVGLength", "SVGPercentage"],
675
- "defaultValue": "0%"
676
- },
677
- {
678
- "name": "y",
679
- "type": ["SVGLength", "SVGPercentage"],
680
- "defaultValue": "0%"
1033
+ "animatable": true
681
1034
  }
682
- ],
683
- "#SVGGlobalEventAttrs": [
684
- {
685
- "name": "oncancel",
686
- "type": "Function"
687
- },
688
- {
689
- "name": "oncanplay",
690
- "type": "Function"
691
- },
692
- {
693
- "name": "oncanplaythrough",
694
- "type": "Function"
695
- },
696
- {
697
- "name": "onchange",
698
- "type": "Function"
699
- },
700
- {
701
- "name": "onclick",
702
- "type": "Function"
703
- },
704
- {
705
- "name": "onclose",
706
- "type": "Function"
707
- },
708
- {
709
- "name": "oncuechange",
710
- "type": "Function"
711
- },
712
- {
713
- "name": "ondblclick",
714
- "type": "Function"
715
- },
716
- {
717
- "name": "ondrag",
718
- "type": "Function"
719
- },
720
- {
721
- "name": "ondragend",
722
- "type": "Function"
723
- },
724
- {
725
- "name": "ondragenter",
726
- "type": "Function"
727
- },
728
- {
729
- "name": "ondragleave",
730
- "type": "Function"
731
- },
732
- {
733
- "name": "ondragover",
734
- "type": "Function"
735
- },
736
- {
737
- "name": "ondragstart",
738
- "type": "Function"
739
- },
740
- {
741
- "name": "ondrop",
742
- "type": "Function"
743
- },
744
- {
745
- "name": "ondurationchange",
746
- "type": "Function"
747
- },
748
- {
749
- "name": "onemptied",
750
- "type": "Function"
751
- },
752
- {
753
- "name": "onended",
754
- "type": "Function"
755
- },
756
- {
757
- "name": "onerror",
758
- "type": "Function"
759
- },
760
- {
761
- "name": "onfocus",
762
- "type": "Function"
763
- },
764
- {
765
- "name": "oninput",
766
- "type": "Function"
767
- },
768
- {
769
- "name": "oninvalid",
770
- "type": "Function"
771
- },
772
- {
773
- "name": "onkeydown",
774
- "type": "Function"
775
- },
776
- {
777
- "name": "onkeypress",
778
- "type": "Function"
779
- },
780
- {
781
- "name": "onkeyup",
782
- "type": "Function"
783
- },
784
- {
785
- "name": "onload",
786
- "type": "Function"
787
- },
788
- {
789
- "name": "onloadeddata",
790
- "type": "Function"
791
- },
792
- {
793
- "name": "onloadedmetadata",
794
- "type": "Function"
795
- },
796
- {
797
- "name": "onloadstart",
798
- "type": "Function"
799
- },
800
- {
801
- "name": "onmousedown",
802
- "type": "Function"
803
- },
804
- {
805
- "name": "onmouseenter",
806
- "type": "Function"
807
- },
808
- {
809
- "name": "onmouseleave",
810
- "type": "Function"
811
- },
812
- {
813
- "name": "onmousemove",
814
- "type": "Function"
815
- },
816
- {
817
- "name": "onmouseout",
818
- "type": "Function"
819
- },
820
- {
821
- "name": "onmouseover",
822
- "type": "Function"
823
- },
824
- {
825
- "name": "onmouseup",
826
- "type": "Function"
827
- },
828
- {
829
- "name": "onmousewheel",
830
- "type": "Function"
831
- },
832
- {
833
- "name": "onpause",
834
- "type": "Function"
835
- },
836
- {
837
- "name": "onplay",
838
- "type": "Function"
839
- },
840
- {
841
- "name": "onplaying",
842
- "type": "Function"
843
- },
844
- {
845
- "name": "onprogress",
846
- "type": "Function"
847
- },
848
- {
849
- "name": "onratechange",
850
- "type": "Function"
851
- },
852
- {
853
- "name": "onreset",
854
- "type": "Function"
855
- },
856
- {
857
- "name": "onresize",
858
- "type": "Function"
859
- },
860
- {
861
- "name": "onscroll",
862
- "type": "Function"
863
- },
864
- {
865
- "name": "onseeked",
866
- "type": "Function"
867
- },
868
- {
869
- "name": "onseeking",
870
- "type": "Function"
871
- },
872
- {
873
- "name": "onselect",
874
- "type": "Function"
875
- },
876
- {
877
- "name": "onshow",
878
- "type": "Function"
879
- },
880
- {
881
- "name": "onstalled",
882
- "type": "Function"
883
- },
884
- {
885
- "name": "onsubmit",
886
- "type": "Function"
887
- },
888
- {
889
- "name": "onsuspend",
890
- "type": "Function"
891
- },
892
- {
893
- "name": "ontimeupdate",
894
- "type": "Function"
895
- },
896
- {
897
- "name": "ontoggle",
898
- "type": "Function"
899
- },
900
- {
901
- "name": "onvolumechange",
902
- "type": "Function"
903
- },
904
- {
905
- "name": "onwaiting",
906
- "type": "Function"
907
- }
908
- ],
909
- "#SVGGraphicalEventAttrs": [
910
- {
911
- "name": "onfocusin",
912
- "type": "Function"
913
- },
914
- {
915
- "name": "onfocusout",
916
- "type": "Function"
917
- }
918
- ],
919
- "#SVGPresentationAttrs": [
920
- {
921
- "name": "alignment-baseline",
922
- "type": {
923
- "enum": [
924
- "auto",
925
- "baseline",
926
- "before-edge",
927
- "text-before-edge",
928
- "middle",
929
- "central",
930
- "after-edge",
931
- "text-after-edge",
932
- "ideographic",
933
- "alphabetic",
934
- "hanging",
935
- "mathematical",
936
- "top",
937
- "center",
938
- "bottom"
939
- ]
940
- },
941
- "defaultValue": "auto"
942
- },
943
- {
944
- "name": "baseline-shift",
945
- "type": [
946
- "SVGLength",
947
- "SVGPercentage",
948
- {
949
- "enum": ["sub", "super"]
950
- }
951
- ]
952
- },
953
- {
954
- "name": "clip",
955
- "type": "String",
956
- "deprecated": true
957
- },
958
- {
959
- "name": "clip-path",
960
- "type": "CSSClipPath",
961
- "defaultValue": "none"
962
- },
963
- {
964
- "name": "clip-rule",
965
- "type": {
966
- "enum": ["nonzero", "evenodd", "inherit"]
967
- },
968
- "defaultValue": "nonzero"
969
- },
970
- {
971
- "name": "color",
972
- "type": "Color"
973
- },
974
- {
975
- "name": "color-interpolation",
976
- "type": {
977
- "enum": ["auto", "sRGB", "linearRGB"]
978
- },
979
- "defaultValue": "sRGB"
1035
+ },
1036
+ "#SVGPresentationAttrs": {
1037
+ "cx": {
1038
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#CxProperty",
1039
+ "type": ["<svg-length>", "<percentage>"],
1040
+ "defaultValue": "0",
1041
+ "animatable": true
980
1042
  },
981
- {
982
- "name": "color-interpolation-filters",
983
- "type": {
984
- "enum": ["auto", "sRGB", "linearRGB"]
985
- },
986
- "defaultValue": "sRGB"
1043
+ "cy": {
1044
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#CyProperty",
1045
+ "type": ["<svg-length>", "<percentage>"],
1046
+ "defaultValue": "0",
1047
+ "animatable": true
987
1048
  },
988
- {
989
- "name": "color-profile",
990
- "type": "String",
1049
+ "height": {
1050
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#Sizing",
1051
+ "type": ["<svg-length>", "<'height'>"],
991
1052
  "defaultValue": "auto",
992
- "deprecated": true
1053
+ "animatable": true
993
1054
  },
994
- {
995
- "name": "color-rendering",
996
- "type": {
997
- "enum": ["auto", "optimizeSpeed", "optimizeQuality"]
998
- },
1055
+ "width": {
1056
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#Sizing",
1057
+ "type": ["<svg-length>", "<'width'>"],
999
1058
  "defaultValue": "auto",
1000
- "deprecated": true
1001
- },
1002
- {
1003
- "name": "cursor",
1004
- "type": "String"
1005
- },
1006
- {
1007
- "name": "direction",
1008
- "type": {
1009
- "enum": ["ltr", "rtl"]
1010
- },
1011
- "defaultValue": "ltr"
1012
- },
1013
- {
1014
- "name": "display",
1015
- "type": "CSSDisplay"
1016
- },
1017
- {
1018
- "name": "dominant-baseline",
1019
- "type": {
1020
- "enum": [
1021
- "auto",
1022
- "text-bottom",
1023
- "alphabetic",
1024
- "ideographic",
1025
- "middle",
1026
- "central",
1027
- "mathematical",
1028
- "hanging",
1029
- "text-top"
1030
- ]
1031
- },
1032
- "defaultValue": "auto"
1033
- },
1034
- {
1035
- "name": "enable-background",
1036
- "type": "String",
1037
- "deprecated": true
1038
- },
1039
- {
1040
- "name": "fill",
1041
- "type": "SVGPaint",
1042
- "defaultValue": "black"
1043
- },
1044
- {
1045
- "name": "fill-opacity",
1046
- "type": "CSSOpacity",
1047
- "defaultValue": "1"
1048
- },
1049
- {
1050
- "name": "fill-rule",
1051
- "type": {
1052
- "enum": ["nonzero", "evenodd"]
1053
- },
1054
- "defaultValue": "nonzero"
1055
- },
1056
- {
1057
- "name": "filter",
1058
- "type": "CSSFilter",
1059
- "defaultValue": "none"
1060
- },
1061
- {
1062
- "name": "flood-color",
1063
- "type": "Color",
1064
- "defaultValue": "black"
1059
+ "animatable": true
1065
1060
  },
1066
- {
1067
- "name": "flood-opacity",
1068
- "type": "CSSOpacity",
1069
- "defaultValue": "1"
1070
- },
1071
- {
1072
- "name": "font-family",
1073
- "type": "CSSFontFamily"
1074
- },
1075
- {
1076
- "name": "font-size",
1077
- "type": "CSSFontSize",
1078
- "defaultValue": "medium"
1079
- },
1080
- {
1081
- "name": "font-size-adjust",
1082
- "type": [
1083
- "Float",
1084
- {
1085
- "enum": ["none"]
1086
- }
1087
- ],
1088
- "defaultValue": "none"
1089
- },
1090
- {
1091
- "name": "font-stretch",
1092
- "type": [
1093
- "SVGPercentage",
1094
- {
1095
- "enum": [
1096
- "normal",
1097
- "ultra-condensed",
1098
- "extra-condensed",
1099
- "condensed",
1100
- "semi-condensed",
1101
- "semi-expanded",
1102
- "expanded",
1103
- "extra-expanded",
1104
- "ultra-expanded"
1105
- ]
1106
- }
1107
- ],
1108
- "defaultValue": "normal"
1109
- },
1110
- {
1111
- "name": "font-style",
1112
- "type": {
1113
- "enum": ["normal", "italic", "oblique"]
1114
- }
1115
- },
1116
- {
1117
- "name": "font-variant",
1118
- "type": "CSSFontVariant"
1061
+ "x": {
1062
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#XProperty",
1063
+ "type": ["<svg-length>", "<percentage>"],
1064
+ "defaultValue": "0",
1065
+ "animatable": true
1119
1066
  },
1120
- {
1121
- "name": "font-weight",
1122
- "type": "CSSFontWeight"
1067
+ "y": {
1068
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#YProperty",
1069
+ "type": ["<svg-length>", "<percentage>"],
1070
+ "defaultValue": "0",
1071
+ "animatable": true
1123
1072
  },
1124
- {
1125
- "name": "glyph-orientation-horizontal",
1126
- "type": "CSSAngle",
1127
- "defaultValue": "0deg",
1128
- "deprecated": true
1073
+ "r": {
1074
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#RProperty",
1075
+ "type": "<svg-length>",
1076
+ "defaultValue": "0",
1077
+ "animatable": true
1129
1078
  },
1130
- {
1131
- "name": "glyph-orientation-vertical",
1079
+ "rx": {
1080
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#RxProperty",
1132
1081
  "type": [
1133
- "CSSAngle",
1082
+ "<svg-length>",
1083
+ "<percentage>",
1134
1084
  {
1135
1085
  "enum": ["auto"]
1136
1086
  }
1137
1087
  ],
1138
1088
  "defaultValue": "auto",
1139
- "deprecated": true
1089
+ "animatable": true
1140
1090
  },
1141
- {
1142
- "name": "image-rendering",
1143
- "type": {
1144
- "enum": ["auto", "optimizeSpeed", "optimizeQuality"]
1145
- },
1146
- "defaultValue": "auto"
1147
- },
1148
- {
1149
- "name": "kerning",
1091
+ "ry": {
1092
+ "ref": "https://svgwg.org/svg2-draft/geometry.html#RyProperty",
1150
1093
  "type": [
1151
- "SVGLength",
1094
+ "<svg-length>",
1095
+ "<percentage>",
1152
1096
  {
1153
1097
  "enum": ["auto"]
1154
1098
  }
1155
1099
  ],
1156
1100
  "defaultValue": "auto",
1157
- "deprecated": true
1158
- },
1159
- {
1160
- "name": "letter-spacing",
1161
- "type": [
1162
- "SVGLength",
1163
- {
1164
- "enum": ["normal"]
1165
- }
1166
- ],
1167
- "defaultValue": "normal"
1168
- },
1169
- {
1170
- "name": "lighting-color",
1171
- "type": "Color",
1172
- "defaultValue": "white"
1173
- },
1174
- {
1175
- "name": "marker-end",
1176
- "type": [
1177
- "CSSURL",
1178
- {
1179
- "enum": ["none"]
1180
- }
1181
- ],
1182
- "defaultValue": "none"
1183
- },
1184
- {
1185
- "name": "marker-mid",
1186
- "type": [
1187
- "CSSURL",
1188
- {
1189
- "enum": ["none"]
1190
- }
1191
- ],
1192
- "defaultValue": "none"
1193
- },
1194
- {
1195
- "name": "marker-start",
1196
- "type": [
1197
- "CSSURL",
1198
- {
1199
- "enum": ["none"]
1200
- }
1201
- ],
1202
- "defaultValue": "none"
1101
+ "animatable": true
1203
1102
  },
1204
- {
1205
- "name": "mask",
1206
- "type": "CSSMask",
1103
+ "d": {
1104
+ "ref": "https://svgwg.org/svg2-draft/paths.html#DProperty",
1105
+ "type": "<svg-path>",
1207
1106
  "defaultValue": "none"
1208
1107
  },
1209
- {
1210
- "name": "opacity",
1211
- "type": "CSSOpacity",
1212
- "defaultValue": "1"
1213
- },
1214
- {
1215
- "name": "overflow",
1216
- "type": {
1217
- "enum": ["visible", "hidden", "scroll", "auto"]
1218
- },
1219
- "defaultValue": "visible"
1220
- },
1221
- {
1222
- "name": "pointer-events",
1223
- "type": {
1224
- "enum": [
1225
- "bounding-box",
1226
- "visiblePainted",
1227
- "visibleFill",
1228
- "visibleStroke",
1229
- "visible",
1230
- "painted",
1231
- "fill",
1232
- "stroke",
1233
- "all",
1234
- "none"
1235
- ]
1236
- },
1237
- "defaultValue": "visiblePainted"
1108
+ "transform": {
1109
+ "ref": "https://drafts.csswg.org/css-transforms/#transform-property",
1110
+ "type": "<'transform'>",
1111
+ "defaultValue": "none",
1112
+ "animatable": true
1113
+ },
1114
+ "transform-origin": {
1115
+ "ref": "https://drafts.csswg.org/css-transforms/#transform-origin-property",
1116
+ "type": "<'transform-origin'>",
1117
+ "defaultValue": "50%, 50%",
1118
+ "animatable": true
1119
+ },
1120
+ "patternTransform": {
1121
+ "ref": "https://svgwg.org/svg2-draft/pservers.html#PatternElementPatternTransformAttribute",
1122
+ "type": "<transform-list>",
1123
+ "animatable": true
1124
+ },
1125
+ "gradientTransform": {
1126
+ "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientTransformAttribute",
1127
+ "type": "<transform-list>",
1128
+ "animatable": true
1129
+ },
1130
+ "alignment-baseline": {
1131
+ "ref": "https://drafts.csswg.org/css-inline-3/#propdef-alignment-baseline",
1132
+ "type": "<'alignment-baseline'>",
1133
+ "defaultValue": "auto",
1134
+ "animatable": true
1238
1135
  },
1239
- {
1240
- "name": "shape-rendering",
1136
+ "baseline-shift": {
1137
+ "ref": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-shift",
1138
+ "type": "<'baseline-shift'>",
1139
+ "defaultValue": "0",
1140
+ "animatable": true
1141
+ },
1142
+ "clip-path": {
1143
+ "ref": "https://drafts.fxtf.org/css-masking/#propdef-clip-path",
1144
+ "type": "<'clip-path'>",
1145
+ "defaultValue": "none",
1146
+ "animatable": true
1147
+ },
1148
+ "clip-rule": {
1149
+ "ref": "https://drafts.fxtf.org/css-masking/#propdef-clip-rule",
1150
+ "type": "<'clip-rule'>",
1151
+ "defaultValue": "nonzero",
1152
+ "animatable": true
1153
+ },
1154
+ "color": {
1155
+ "ref": "https://drafts.csswg.org/css-color-4/#propdef-color",
1156
+ "type": "<color>",
1157
+ "animatable": true
1158
+ },
1159
+ "color-interpolation": {
1160
+ "ref": "https://svgwg.org/svg2-draft/painting.html#ColorInterpolationProperty",
1241
1161
  "type": {
1242
- "enum": ["auto", "optimizeSpeed", "crispEdges", "geometricPrecision"]
1162
+ "enum": ["auto", "sRGB", "linearRGB"],
1163
+ "disallowToSurroundBySpaces": false
1243
1164
  },
1244
- "defaultValue": "auto"
1245
- },
1246
- {
1247
- "name": "stop-color",
1248
- "type": "Color",
1249
- "defaultValue": "black"
1250
- },
1251
- {
1252
- "name": "stop-opacity",
1253
- "type": "CSSOpacity",
1254
- "defaultValue": "1"
1255
- },
1256
- {
1257
- "name": "stroke",
1258
- "type": "SVGPaint",
1259
- "defaultValue": "none"
1260
- },
1261
- {
1262
- "name": "stroke-dasharray",
1263
- "type": [
1264
- "SVGDashArray",
1265
- {
1266
- "enum": ["none"]
1267
- }
1268
- ],
1269
- "defaultValue": "none"
1270
- },
1271
- {
1272
- "name": "stroke-dashoffset",
1273
- "type": ["SVGLength", "SVGPercentage"],
1274
- "defaultValue": "0"
1165
+ "defaultValue": "sRGB",
1166
+ "animatable": true
1275
1167
  },
1276
- {
1277
- "name": "stroke-linecap",
1168
+ "color-interpolation-filters": {
1169
+ "ref": "https://drafts.fxtf.org/filter-effects-1/#propdef-color-interpolation-filters",
1278
1170
  "type": {
1279
- "enum": ["butt", "round", "square"]
1171
+ "enum": ["auto", "sRGB", "linearRGB"],
1172
+ "disallowToSurroundBySpaces": false
1280
1173
  },
1281
- "defaultValue": "butt"
1174
+ "defaultValue": "linearRGB",
1175
+ "animatable": true
1282
1176
  },
1283
- {
1284
- "name": "stroke-linejoin",
1285
- "type": {
1286
- "enum": ["arcs", "bevel", "miter", "miter-clip", "round"]
1287
- },
1288
- "defaultValue": "miter"
1177
+ "cursor": {
1178
+ "ref": "https://drafts.csswg.org/css-ui-4/#propdef-cursor",
1179
+ "type": "<'cursor'>",
1180
+ "defaultValue": "auto",
1181
+ "animatable": true
1289
1182
  },
1290
- {
1291
- "name": "stroke-miterlimit",
1292
- "type": "Float",
1293
- "defaultValue": "4"
1183
+ "direction": {
1184
+ "ref": "https://drafts.csswg.org/css-writing-modes-3/#propdef-direction",
1185
+ "type": "<'direction'>",
1186
+ "defaultValue": "ltr"
1294
1187
  },
1295
- {
1296
- "name": "stroke-opacity",
1297
- "type": "CSSOpacity",
1298
- "defaultValue": "1"
1188
+ "display": {
1189
+ "ref": "https://drafts.csswg.org/css-display-3/#propdef-display",
1190
+ "type": "<'display'>",
1191
+ "defaultValue": "inline"
1299
1192
  },
1300
- {
1301
- "name": "stroke-width",
1302
- "type": ["SVGLength", "SVGPercentage"],
1303
- "defaultValue": "1px"
1193
+ "dominant-baseline": {
1194
+ "ref": "https://drafts.csswg.org/css-inline-3/#propdef-dominant-baseline",
1195
+ "type": "<'dominant-baseline'>",
1196
+ "defaultValue": "auto",
1197
+ "animatable": true
1198
+ },
1199
+ "fill": {
1200
+ "ref": "https://svgwg.org/svg2-draft/painting.html#FillProperty",
1201
+ "type": "<'fill'>",
1202
+ "defaultValue": "black",
1203
+ "animatable": true
1204
+ },
1205
+ "fill-opacity": {
1206
+ "ref": "https://svgwg.org/svg2-draft/painting.html#FillOpacityProperty",
1207
+ "type": "<'fill-opacity'>",
1208
+ "defaultValue": "1",
1209
+ "animatable": true
1210
+ },
1211
+ "fill-rule": {
1212
+ "ref": "https://svgwg.org/svg2-draft/painting.html#FillRuleProperty",
1213
+ "type": "<'fill-rule'>",
1214
+ "defaultValue": "nonzero",
1215
+ "animatable": true
1216
+ },
1217
+ "filter": {
1218
+ "ref": "https://drafts.fxtf.org/filter-effects-1/#propdef-filter",
1219
+ "type": "<'filter'>",
1220
+ "defaultValue": "none",
1221
+ "animatable": true
1222
+ },
1223
+ "flood-color": {
1224
+ "ref": "https://drafts.fxtf.org/filter-effects-1/#propdef-flood-color",
1225
+ "type": "<color>",
1226
+ "defaultValue": "black",
1227
+ "animatable": true
1228
+ },
1229
+ "flood-opacity": {
1230
+ "ref": "https://drafts.fxtf.org/filter-effects-1/#propdef-flood-opacity",
1231
+ "type": "<alpha-value>",
1232
+ "defaultValue": "1",
1233
+ "animatable": true
1234
+ },
1235
+ "font": {
1236
+ "ref": "https://drafts.csswg.org/css-fonts-4/#propdef-font",
1237
+ "type": "<'font'>",
1238
+ "animatable": true
1239
+ },
1240
+ "font-family": {
1241
+ "ref": "https://drafts.csswg.org/css-fonts-4/#propdef-font-family",
1242
+ "type": "<'font-family'>",
1243
+ "animatable": true
1244
+ },
1245
+ "font-size": {
1246
+ "ref": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-font-size",
1247
+ "type": "<svg-font-size>",
1248
+ "defaultValue": "medium",
1249
+ "animatable": true
1250
+ },
1251
+ "font-size-adjust": {
1252
+ "ref": "https://drafts.csswg.org/css-fonts-5/#propdef-font-size-adjust",
1253
+ "type": "<svg-font-size-adjust>",
1254
+ "defaultValue": "none",
1255
+ "animatable": true
1256
+ },
1257
+ "font-stretch": {
1258
+ "ref": "https://drafts.csswg.org/css-fonts-4/#propdef-font-stretch",
1259
+ "type": "<'font-stretch'>",
1260
+ "defaultValue": "normal",
1261
+ "animatable": true
1262
+ },
1263
+ "font-style": {
1264
+ "ref": "https://drafts.csswg.org/css-fonts-4/#propdef-font-style",
1265
+ "type": "<'font-style'>",
1266
+ "defaultValue": "normal",
1267
+ "animatable": true
1268
+ },
1269
+ "font-variant": {
1270
+ "ref": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant",
1271
+ "type": "<'font-variant'>",
1272
+ "defaultValue": "normal",
1273
+ "animatable": true
1274
+ },
1275
+ "font-weight": {
1276
+ "ref": "https://drafts.csswg.org/css-fonts-4/#propdef-font-weight",
1277
+ "type": "<'font-weight'>",
1278
+ "defaultValue": "normal",
1279
+ "animatable": true
1280
+ },
1281
+ "glyph-orientation-horizontal": {
1282
+ "ref": "https://www.w3.org/TR/SVG11/text.html#GlyphOrientationHorizontalProperty",
1283
+ "type": "<'glyph-orientation-horizontal'>",
1284
+ "defaultValue": "0deg",
1285
+ "deprecated": true
1304
1286
  },
1305
- {
1306
- "name": "text-anchor",
1307
- "type": {
1308
- "enum": ["start", "middle", "end"]
1309
- },
1310
- "defaultValue": "start"
1287
+ "glyph-orientation-vertical": {
1288
+ "ref": "https://drafts.csswg.org/css-writing-modes-4/#propdef-glyph-orientation-vertical",
1289
+ "type": "<'glyph-orientation-vertical'>",
1290
+ "deprecated": true
1311
1291
  },
1312
- {
1313
- "name": "text-decoration",
1314
- "type": "CSSTextDecoration"
1292
+ "image-rendering": {
1293
+ "ref": "https://drafts.csswg.org/css-images-3/#propdef-image-rendering",
1294
+ "type": "<'image-rendering'>",
1295
+ "defaultValue": "auto",
1296
+ "animatable": true
1315
1297
  },
1316
- {
1317
- "name": "text-rendering",
1318
- "type": {
1319
- "enum": ["auto", "optimizeSpeed", "optimizeLegibility", "geometricPrecision"]
1320
- },
1298
+ "isolation": {
1299
+ "ref": "https://drafts.fxtf.org/compositing-2/#propdef-isolation",
1300
+ "type": "<'isolation'>",
1321
1301
  "defaultValue": "auto"
1322
1302
  },
1323
- {
1324
- "name": "transform",
1325
- "type": "CSSTransformList",
1326
- "defaultValue": "none"
1303
+ "letter-spacing": {
1304
+ "ref": "https://drafts.csswg.org/css-text-3/#propdef-letter-spacing",
1305
+ "type": "<'letter-spacing'>",
1306
+ "defaultValue": "normal",
1307
+ "animatable": true
1308
+ },
1309
+ "lighting-color": {
1310
+ "ref": "https://drafts.fxtf.org/filter-effects-1/#propdef-lighting-color",
1311
+ "type": "<color>",
1312
+ "defaultValue": "white",
1313
+ "animatable": true
1314
+ },
1315
+ "marker": {
1316
+ "ref": "https://svgwg.org/svg2-draft/painting.html#MarkerProperty",
1317
+ "type": "<'marker'>",
1318
+ "animatable": true
1319
+ },
1320
+ "marker-end": {
1321
+ "ref": "https://svgwg.org/svg2-draft/painting.html#MarkerEndProperty",
1322
+ "type": "<'marker-end'>",
1323
+ "defaultValue": "none",
1324
+ "animatable": true
1325
+ },
1326
+ "marker-mid": {
1327
+ "ref": "https://svgwg.org/svg2-draft/painting.html#MarkerMidProperty",
1328
+ "type": "<'marker-mid'>",
1329
+ "defaultValue": "none",
1330
+ "animatable": true
1331
+ },
1332
+ "marker-start": {
1333
+ "ref": "https://svgwg.org/svg2-draft/painting.html#MarkerStartProperty",
1334
+ "type": "<'marker-start'>",
1335
+ "defaultValue": "none",
1336
+ "animatable": true
1337
+ },
1338
+ "mask": {
1339
+ "ref": "https://drafts.fxtf.org/css-masking/#propdef-mask",
1340
+ "type": "<'mask'>",
1341
+ "animatable": true
1342
+ },
1343
+ "mask-type": {
1344
+ "ref": "https://drafts.fxtf.org/css-masking-1/#propdef-mask-type",
1345
+ "type": "<'mask-type'>",
1346
+ "animatable": true
1347
+ },
1348
+ "opacity": {
1349
+ "ref": "https://drafts.csswg.org/css-color-4/#propdef-opacity",
1350
+ "type": "<alpha-value>",
1351
+ "defaultValue": "1",
1352
+ "animatable": true
1353
+ },
1354
+ "overflow": {
1355
+ "ref": "https://drafts.csswg.org/css-overflow-3/#propdef-overflow",
1356
+ "type": "<'overflow'>",
1357
+ "defaultValue": "visible",
1358
+ "animatable": true
1359
+ },
1360
+ "paint-order": {
1361
+ "ref": "https://svgwg.org/svg2-draft/painting.html#PaintOrderProperty",
1362
+ "type": "<'paint-order'>",
1363
+ "defaultValue": "normal",
1364
+ "animatable": true
1365
+ },
1366
+ "pointer-events": {
1367
+ "ref": "https://drafts.csswg.org/css-ui-4/#propdef-pointer-events",
1368
+ "type": "<'pointer-events'>",
1369
+ "defaultValue": "auto",
1370
+ "animatable": true
1327
1371
  },
1328
- {
1329
- "name": "transform-origin",
1330
- "type": "CSSTransformOrigin",
1331
- "defaultValue": "0, 0"
1372
+ "shape-rendering": {
1373
+ "ref": "https://svgwg.org/svg2-draft/painting.html#ShapeRenderingProperty",
1374
+ "type": "<'shape-rendering'>",
1375
+ "defaultValue": "auto",
1376
+ "animatable": true
1377
+ },
1378
+ "stop-color": {
1379
+ "ref": "https://svgwg.org/svg2-draft/pservers.html#StopColorProperty",
1380
+ "type": "<'color'>",
1381
+ "defaultValue": "black",
1382
+ "animatable": true
1383
+ },
1384
+ "stop-opacity": {
1385
+ "ref": "https://svgwg.org/svg2-draft/pservers.html#StopOpacityProperty",
1386
+ "type": "<'opacity'>",
1387
+ "defaultValue": "1",
1388
+ "animatable": true
1389
+ },
1390
+ "stroke": {
1391
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeProperty",
1392
+ "type": "<'stroke'>",
1393
+ "defaultValue": "none",
1394
+ "animatable": true
1395
+ },
1396
+ "stroke-dasharray": {
1397
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeDasharrayProperty",
1398
+ "type": "<'stroke-dasharray'>",
1399
+ "defaultValue": "none",
1400
+ "animatable": true
1401
+ },
1402
+ "stroke-dashoffset": {
1403
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeDashoffsetProperty",
1404
+ "type": "<'stroke-dashoffset'>",
1405
+ "defaultValue": "0",
1406
+ "animatable": true
1407
+ },
1408
+ "stroke-linecap": {
1409
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeLinecapProperty",
1410
+ "type": "<'stroke-linecap'>",
1411
+ "defaultValue": "butt",
1412
+ "animatable": true
1413
+ },
1414
+ "stroke-linejoin": {
1415
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeLinejoinProperty",
1416
+ "type": "<'stroke-linejoin'>",
1417
+ "defaultValue": "miter",
1418
+ "animatable": true
1419
+ },
1420
+ "stroke-miterlimit": {
1421
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeMiterlimitProperty",
1422
+ "type": "<'stroke-miterlimit'>",
1423
+ "defaultValue": "4",
1424
+ "animatable": true
1425
+ },
1426
+ "stroke-opacity": {
1427
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeOpacityProperty",
1428
+ "type": "<'stroke-opacity'>",
1429
+ "defaultValue": "1",
1430
+ "animatable": true
1431
+ },
1432
+ "stroke-width": {
1433
+ "ref": "https://svgwg.org/svg2-draft/painting.html#StrokeWidthProperty",
1434
+ "type": "<'stroke-width'>",
1435
+ "defaultValue": "1px",
1436
+ "animatable": true
1437
+ },
1438
+ "text-anchor": {
1439
+ "ref": "https://svgwg.org/svg2-draft/text.html#TextAnchorProperty",
1440
+ "type": "<'text-anchor'>",
1441
+ "defaultValue": "start",
1442
+ "animatable": true
1443
+ },
1444
+ "text-decoration": {
1445
+ "ref": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration",
1446
+ "type": "<'text-decoration'>",
1447
+ "animatable": true
1448
+ },
1449
+ "text-overflow": {
1450
+ "ref": "https://svgwg.org/svg2-draft/text.html#TextOverflowProperty",
1451
+ "type": "<'text-overflow'>",
1452
+ "animatable": true
1453
+ },
1454
+ "text-rendering": {
1455
+ "ref": "https://svgwg.org/svg2-draft/painting.html#TextRenderingProperty",
1456
+ "type": "<'text-rendering'>",
1457
+ "defaultValue": "auto",
1458
+ "animatable": true
1332
1459
  },
1333
- {
1334
- "name": "unicode-bidi",
1335
- "type": {
1336
- "enum": ["normal", "embed", "isolate", "bidi-override", "isolate-override", "plaintext"]
1337
- },
1460
+ "unicode-bidi": {
1461
+ "ref": "https://drafts.csswg.org/css-writing-modes-3/#propdef-unicode-bidi",
1462
+ "type": "<'unicode-bidi'>",
1338
1463
  "defaultValue": "normal"
1339
1464
  },
1340
- {
1341
- "name": "vector-effect",
1465
+ "vector-effect": {
1466
+ "ref": "https://svgwg.org/svg2-draft/coords.html#VectorEffectProperty",
1342
1467
  "type": {
1343
1468
  "enum": ["none", "non-scaling-stroke", "non-scaling-size", "non-rotation", "fixed-position"]
1344
1469
  },
1345
- "defaultValue": "none"
1470
+ "defaultValue": "none",
1471
+ "animatable": true
1472
+ },
1473
+ "visibility": {
1474
+ "ref": "https://drafts.csswg.org/css-display-3/#propdef-visibility",
1475
+ "type": "<'visibility'>",
1476
+ "defaultValue": "visible",
1477
+ "animatable": true
1478
+ },
1479
+ "white-space": {
1480
+ "ref": "https://www.w3.org/TR/css-text-3/#white-space-property",
1481
+ "type": "<'white-space'>",
1482
+ "defaultValue": "normal",
1483
+ "animatable": true
1484
+ },
1485
+ "word-spacing": {
1486
+ "ref": "https://drafts.csswg.org/css-text-3/#propdef-word-spacing",
1487
+ "type": "<'word-spacing'>",
1488
+ "defaultValue": "normal",
1489
+ "animatable": true
1490
+ },
1491
+ "writing-mode": {
1492
+ "ref": "https://drafts.csswg.org/css-writing-modes-4/#propdef-writing-mode",
1493
+ "type": "<'writing-mode'>",
1494
+ "defaultValue": "horizontal-tb"
1346
1495
  },
1347
- {
1348
- "name": "visibility",
1349
- "type": {
1350
- "enum": ["visible", "hidden", "collapse"]
1351
- },
1352
- "defaultValue": "visible"
1496
+ "clip": {
1497
+ "ref": "https://drafts.fxtf.org/css-masking/#propdef-clip",
1498
+ "type": "<'clip'>",
1499
+ "defaultValue": "auto",
1500
+ "animatable": true,
1501
+ "deprecated": true
1353
1502
  },
1354
- {
1355
- "name": "word-spacing",
1356
- "type": [
1357
- "SVGLength",
1358
- {
1359
- "enum": ["normal"]
1360
- }
1361
- ],
1362
- "defaultValue": "normal"
1503
+ "color-profile": {
1504
+ "ref": "https://www.w3.org/TR/SVG11/color.html#ColorProfileProperty",
1505
+ "type": "<'color-profile'>",
1506
+ "defaultValue": "auto",
1507
+ "animatable": true,
1508
+ "deprecated": true
1509
+ },
1510
+ "color-rendering": {
1511
+ "ref": "https://www.w3.org/TR/SVG11/painting.html#ColorRenderingProperty",
1512
+ "type": "<'color-rendering'>",
1513
+ "defaultValue": "auto",
1514
+ "animatable": true,
1515
+ "deprecated": true
1516
+ },
1517
+ "enable-background": {
1518
+ "ref": "https://www.w3.org/TR/SVG11/filters.html#EnableBackgroundProperty",
1519
+ "type": "<'enable-background'>",
1520
+ "defaultValue": "accumulate",
1521
+ "deprecated": true
1363
1522
  },
1364
- {
1365
- "name": "writing-mode",
1523
+ "kerning": {
1524
+ "ref": "https://www.w3.org/TR/SVG11/text.html#KerningProperty",
1525
+ "type": "<'kerning'>",
1526
+ "defaultValue": "auto",
1527
+ "animatable": true,
1528
+ "deprecated": true
1529
+ }
1530
+ },
1531
+ "#SVGTransferFunctionAttrs": {
1532
+ "type": {
1533
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomponenttransfer-type",
1366
1534
  "type": {
1367
- "enum": ["horizontal-tb", "vertical-rl", "vertical-lr"]
1535
+ "enum": ["identity", "table", "discrete", "linear", "gamma"]
1368
1536
  },
1369
- "defaultValue": "horizontal-tb"
1370
- }
1371
- ],
1372
- "#SVGTransferFunctionAttrs": [
1373
- {
1374
- "name": "type",
1375
- "type": "String"
1376
- },
1377
- {
1378
- "name": "tableValues",
1379
- "type": "SVGNumberList"
1380
- },
1381
- {
1382
- "name": "slope",
1383
- "type": "Float",
1537
+ "defaultValue": "identity",
1538
+ "animatable": true
1539
+ },
1540
+ "tableValues": {
1541
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomponenttransfer-tablevalues",
1542
+ "type": "<list-of-numbers>",
1543
+ "animatable": true
1544
+ },
1545
+ "slope": {
1546
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomponenttransfer-slope",
1547
+ "type": "<number>",
1548
+ "defaultValue": "1",
1549
+ "animatable": true
1550
+ },
1551
+ "intercept": {
1552
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomponenttransfer-intercept",
1553
+ "type": "<number>",
1554
+ "defaultValue": "0",
1555
+ "animatable": true
1556
+ },
1557
+ "amplitude": {
1558
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomponenttransfer-amplitude",
1559
+ "type": "<number>",
1560
+ "defaultValue": "1",
1561
+ "animatable": true
1562
+ },
1563
+ "exponent": {
1564
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomponenttransfer-exponent",
1565
+ "type": "<number>",
1566
+ "defaultValue": "1",
1567
+ "animatable": true
1568
+ },
1569
+ "offset": {
1570
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomponenttransfer-offset",
1571
+ "type": "<number>",
1384
1572
  "defaultValue": "0",
1573
+ "animatable": true
1574
+ }
1575
+ },
1576
+ "#XLinkAttrs": {
1577
+ "xlink:href": {
1578
+ "ref": "https://www.w3.org/TR/xlink11/#link-locators",
1579
+ "type": "URL",
1385
1580
  "deprecated": true
1386
1581
  },
1387
- {
1388
- "name": "intercept",
1389
- "type": "Float",
1390
- "defaultValue": "0"
1391
- },
1392
- {
1393
- "name": "amplitude",
1394
- "type": "Float",
1395
- "defaultValue": "1"
1396
- },
1397
- {
1398
- "name": "exponent",
1399
- "type": "Float",
1400
- "defaultValue": "1"
1401
- }
1402
- ],
1403
- "#XLinkAttrs": [
1404
- {
1405
- "name": "xlink:href",
1406
- "type": "IRI",
1582
+ "xlink:title": {
1583
+ "ref": "https://www.w3.org/TR/xlink11/#link-semantics",
1584
+ "type": "Any",
1407
1585
  "deprecated": true
1408
1586
  },
1409
- {
1410
- "name": "xlink:type",
1587
+ "xlink:type": {
1588
+ "ref": "https://www.w3.org/TR/xlink11/#link-types",
1411
1589
  "type": {
1412
1590
  "enum": ["simple"]
1413
1591
  },
1414
1592
  "defaultValue": "simple",
1415
1593
  "deprecated": true
1416
1594
  },
1417
- {
1418
- "name": "xlink:role",
1419
- "type": "String",
1420
- "deprecated": true
1421
- },
1422
- {
1423
- "name": "xlink:arcrole",
1424
- "type": "IRI",
1595
+ "xlink:role": {
1596
+ "ref": "https://www.w3.org/TR/xlink11/#link-semantics",
1597
+ "type": "Any",
1425
1598
  "deprecated": true
1426
1599
  },
1427
- {
1428
- "name": "xlink:title",
1429
- "type": "String",
1600
+ "xlink:arcrole": {
1601
+ "ref": "https://www.w3.org/TR/xlink11/#link-semantics",
1602
+ "type": "URL",
1430
1603
  "deprecated": true
1431
1604
  },
1432
- {
1433
- "name": "xlink:show",
1605
+ "xlink:show": {
1606
+ "ref": "https://www.w3.org/TR/xlink11/#link-behaviors",
1434
1607
  "type": {
1435
1608
  "enum": ["new", "replace", "embed", "other", "none"]
1436
1609
  },
1437
1610
  "defaultValue": "replace",
1438
1611
  "deprecated": true
1439
1612
  },
1440
- {
1441
- "name": "xlink:actuate",
1442
- "type": "String",
1613
+ "xlink:actuate": {
1614
+ "ref": "https://www.w3.org/TR/xlink11/#link-behaviors",
1615
+ "type": "Any",
1443
1616
  "deprecated": true
1444
1617
  }
1445
- ]
1618
+ }
1446
1619
  }