@markuplint/html-spec 2.5.0 → 3.0.0-alpha.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 (624) hide show
  1. package/index.json +28072 -17527
  2. package/package.json +6 -6
  3. package/src/{global-attributes/_global.json → spec-common.attributes.json} +303 -319
  4. package/src/spec-common.contents.json +313 -0
  5. package/src/spec.a.json +59 -0
  6. package/src/spec.abbr.json +25 -0
  7. package/src/spec.address.json +26 -0
  8. package/src/spec.area.json +64 -0
  9. package/src/spec.article.json +24 -0
  10. package/src/spec.aside.json +38 -0
  11. package/src/spec.audio.json +50 -0
  12. package/src/spec.b.json +24 -0
  13. package/src/spec.base.json +21 -0
  14. package/src/spec.bdi.json +24 -0
  15. package/src/spec.bdo.json +24 -0
  16. package/src/spec.blockquote.json +31 -0
  17. package/src/spec.body.json +100 -0
  18. package/src/spec.br.json +32 -0
  19. package/src/spec.button.json +71 -0
  20. package/src/spec.canvas.json +34 -0
  21. package/src/spec.caption.json +30 -0
  22. package/src/spec.cite.json +24 -0
  23. package/src/spec.code.json +27 -0
  24. package/src/spec.col.json +31 -0
  25. package/src/spec.colgroup.json +41 -0
  26. package/src/spec.data.json +29 -0
  27. package/src/spec.datalist.json +38 -0
  28. package/src/spec.dd.json +30 -0
  29. package/src/spec.del.json +36 -0
  30. package/src/spec.details.json +35 -0
  31. package/src/spec.dfn.json +24 -0
  32. package/src/spec.dialog.json +36 -0
  33. package/src/spec.div.json +55 -0
  34. package/src/spec.dl.json +50 -0
  35. package/src/spec.dt.json +27 -0
  36. package/src/spec.em.json +27 -0
  37. package/src/spec.embed.json +30 -0
  38. package/src/spec.fieldset.json +27 -0
  39. package/src/spec.figcaption.json +24 -0
  40. package/src/spec.figure.json +41 -0
  41. package/src/spec.footer.json +38 -0
  42. package/src/spec.form.json +101 -0
  43. package/src/spec.h1.json +26 -0
  44. package/src/spec.h2.json +26 -0
  45. package/src/spec.h3.json +26 -0
  46. package/src/spec.h4.json +26 -0
  47. package/src/spec.h5.json +26 -0
  48. package/src/spec.h6.json +26 -0
  49. package/src/spec.head.json +32 -0
  50. package/src/spec.header.json +38 -0
  51. package/src/spec.hgroup.json +37 -0
  52. package/src/spec.hr.json +23 -0
  53. package/src/spec.html.json +27 -0
  54. package/src/spec.i.json +24 -0
  55. package/src/spec.iframe.json +74 -0
  56. package/src/spec.img.json +109 -0
  57. package/src/spec.input.json +792 -0
  58. package/src/spec.ins.json +36 -0
  59. package/src/spec.kbd.json +24 -0
  60. package/src/spec.label.json +30 -0
  61. package/src/spec.legend.json +24 -0
  62. package/src/spec.li.json +40 -0
  63. package/src/spec.link.json +140 -0
  64. package/src/spec.main.json +27 -0
  65. package/src/spec.map.json +30 -0
  66. package/src/spec.mark.json +24 -0
  67. package/src/spec.math.json +20 -0
  68. package/src/spec.menu.json +53 -0
  69. package/src/spec.meta.json +59 -0
  70. package/src/spec.meter.json +63 -0
  71. package/src/spec.nav.json +26 -0
  72. package/src/spec.noscript.json +24 -0
  73. package/src/spec.object.json +40 -0
  74. package/src/spec.ol.json +71 -0
  75. package/src/spec.optgroup.json +34 -0
  76. package/src/spec.option.json +70 -0
  77. package/src/spec.output.json +29 -0
  78. package/src/spec.p.json +27 -0
  79. package/src/spec.picture.json +46 -0
  80. package/src/spec.portal.json +25 -0
  81. package/src/spec.pre.json +24 -0
  82. package/src/spec.progress.json +45 -0
  83. package/src/spec.q.json +30 -0
  84. package/src/spec.rp.json +24 -0
  85. package/src/spec.rt.json +24 -0
  86. package/src/spec.ruby.json +56 -0
  87. package/src/spec.s.json +24 -0
  88. package/src/spec.samp.json +24 -0
  89. package/src/spec.script.json +73 -0
  90. package/src/spec.section.json +73 -0
  91. package/src/spec.select.json +66 -0
  92. package/src/spec.slot.json +29 -0
  93. package/src/spec.small.json +24 -0
  94. package/src/spec.source.json +52 -0
  95. package/src/spec.span.json +24 -0
  96. package/src/spec.strong.json +27 -0
  97. package/src/spec.style.json +35 -0
  98. package/src/spec.sub.json +27 -0
  99. package/src/spec.summary.json +38 -0
  100. package/src/spec.sup.json +27 -0
  101. package/src/{attributes/svg_a.json → spec.svg_a.json} +38 -4
  102. package/src/{attributes/svg_animate.json → spec.svg_animate.json} +16 -4
  103. package/src/{attributes/svg_animateMotion.json → spec.svg_animateMotion.json} +36 -7
  104. package/src/{attributes/svg_animateTransform.json → spec.svg_animateTransform.json} +16 -4
  105. package/src/{attributes/svg_circle.json → spec.svg_circle.json} +25 -4
  106. package/src/{attributes/svg_clipPath.json → spec.svg_clipPath.json} +16 -5
  107. package/src/spec.svg_defs.json +109 -0
  108. package/src/spec.svg_desc.json +21 -0
  109. package/src/spec.svg_discard.json +31 -0
  110. package/src/{attributes/svg_ellipse.json → spec.svg_ellipse.json} +27 -4
  111. package/src/{attributes/svg_feBlend.json → spec.svg_feBlend.json} +16 -5
  112. package/src/{attributes/svg_feColorMatrix.json → spec.svg_feColorMatrix.json} +16 -5
  113. package/src/{attributes/svg_feComponentTransfer.json → spec.svg_feComponentTransfer.json} +22 -4
  114. package/src/{attributes/svg_feComposite.json → spec.svg_feComposite.json} +20 -9
  115. package/src/{attributes/svg_feConvolveMatrix.json → spec.svg_feConvolveMatrix.json} +23 -12
  116. package/src/{attributes/svg_feDiffuseLighting.json → spec.svg_feDiffuseLighting.json} +34 -6
  117. package/src/{attributes/svg_feDisplacementMap.json → spec.svg_feDisplacementMap.json} +18 -7
  118. package/src/spec.svg_feDistantLight.json +32 -0
  119. package/src/{attributes/svg_feDropShadow.json → spec.svg_feDropShadow.json} +17 -6
  120. package/src/{attributes/svg_feFlood.json → spec.svg_feFlood.json} +16 -5
  121. package/src/spec.svg_feFuncA.json +20 -0
  122. package/src/spec.svg_feFuncB.json +20 -0
  123. package/src/spec.svg_feFuncG.json +20 -0
  124. package/src/spec.svg_feFuncR.json +20 -0
  125. package/src/{attributes/svg_feGaussianBlur.json → spec.svg_feGaussianBlur.json} +16 -5
  126. package/src/{attributes/svg_feImage.json → spec.svg_feImage.json} +19 -8
  127. package/src/{attributes/svg_feMerge.json → spec.svg_feMerge.json} +15 -4
  128. package/src/spec.svg_feMergeNode.json +20 -0
  129. package/src/{attributes/svg_feMorphology.json → spec.svg_feMorphology.json} +16 -5
  130. package/src/{attributes/svg_feOffset.json → spec.svg_feOffset.json} +16 -5
  131. package/src/spec.svg_fePointLight.json +38 -0
  132. package/src/{attributes/svg_feSpecularLighting.json → spec.svg_feSpecularLighting.json} +35 -7
  133. package/src/spec.svg_feSpotLight.json +67 -0
  134. package/src/{attributes/svg_feTile.json → spec.svg_feTile.json} +15 -4
  135. package/src/{attributes/svg_feTurbulence.json → spec.svg_feTurbulence.json} +20 -9
  136. package/src/{attributes/svg_filter.json → spec.svg_filter.json} +22 -11
  137. package/src/{attributes/svg_rect.json → spec.svg_foreignObject.json} +13 -11
  138. package/src/spec.svg_g.json +115 -0
  139. package/src/{attributes/svg_image.json → spec.svg_image.json} +27 -6
  140. package/src/{attributes/svg_line.json → spec.svg_line.json} +31 -8
  141. package/src/{attributes/svg_linearGradient.json → spec.svg_linearGradient.json} +30 -11
  142. package/src/{attributes/svg_marker.json → spec.svg_marker.json} +40 -11
  143. package/src/{attributes/svg_mask.json → spec.svg_mask.json} +44 -9
  144. package/src/spec.svg_metadata.json +21 -0
  145. package/src/spec.svg_mpath.json +26 -0
  146. package/src/{attributes/svg_path.json → spec.svg_path.json} +27 -4
  147. package/src/{attributes/svg_pattern.json → spec.svg_pattern.json} +40 -11
  148. package/src/{attributes/svg_polyline.json → spec.svg_polygon.json} +28 -5
  149. package/src/spec.svg_polyline.json +117 -0
  150. package/src/{attributes/svg_radialGradient.json → spec.svg_radialGradient.json} +32 -13
  151. package/src/spec.svg_rect.json +118 -0
  152. package/src/spec.svg_script.json +40 -0
  153. package/src/spec.svg_set.json +42 -0
  154. package/src/{attributes/svg_stop.json → spec.svg_stop.json} +17 -6
  155. package/src/spec.svg_style.json +36 -0
  156. package/src/{attributes/svg_svg.json → spec.svg_svg.json} +49 -13
  157. package/src/{attributes/svg_polygon.json → spec.svg_switch.json} +25 -14
  158. package/src/spec.svg_symbol.json +77 -0
  159. package/src/{attributes/svg_text.json → spec.svg_text.json} +38 -10
  160. package/src/{attributes/svg_textPath.json → spec.svg_textPath.json} +39 -11
  161. package/src/spec.svg_title.json +21 -0
  162. package/src/{attributes/svg_tspan.json → spec.svg_tspan.json} +34 -10
  163. package/src/{attributes/svg_use.json → spec.svg_use.json} +26 -4
  164. package/src/spec.svg_view.json +45 -0
  165. package/src/spec.table.json +64 -0
  166. package/src/spec.tbody.json +23 -0
  167. package/src/spec.td.json +37 -0
  168. package/src/spec.template.json +24 -0
  169. package/src/spec.textarea.json +67 -0
  170. package/src/spec.tfoot.json +23 -0
  171. package/src/spec.th.json +67 -0
  172. package/src/spec.thead.json +23 -0
  173. package/src/spec.time.json +32 -0
  174. package/src/spec.title.json +24 -0
  175. package/src/spec.tr.json +29 -0
  176. package/src/spec.track.json +54 -0
  177. package/src/spec.u.json +24 -0
  178. package/src/spec.ul.json +53 -0
  179. package/src/spec.var.json +24 -0
  180. package/src/spec.video.json +80 -0
  181. package/src/spec.wbr.json +25 -0
  182. package/src/structure.test.ts +60 -40
  183. package/src/aria-in-html/a.json +0 -31
  184. package/src/aria-in-html/abbr.json +0 -8
  185. package/src/aria-in-html/address.json +0 -8
  186. package/src/aria-in-html/area.json +0 -14
  187. package/src/aria-in-html/article.json +0 -8
  188. package/src/aria-in-html/aside.json +0 -8
  189. package/src/aria-in-html/audio.json +0 -8
  190. package/src/aria-in-html/b.json +0 -8
  191. package/src/aria-in-html/base.json +0 -8
  192. package/src/aria-in-html/bdi.json +0 -8
  193. package/src/aria-in-html/bdo.json +0 -8
  194. package/src/aria-in-html/blockquote.json +0 -8
  195. package/src/aria-in-html/body.json +0 -8
  196. package/src/aria-in-html/br.json +0 -8
  197. package/src/aria-in-html/button.json +0 -18
  198. package/src/aria-in-html/canvas.json +0 -8
  199. package/src/aria-in-html/caption.json +0 -8
  200. package/src/aria-in-html/cite.json +0 -8
  201. package/src/aria-in-html/code.json +0 -8
  202. package/src/aria-in-html/col.json +0 -8
  203. package/src/aria-in-html/colgroup.json +0 -8
  204. package/src/aria-in-html/data.json +0 -8
  205. package/src/aria-in-html/datalist.json +0 -8
  206. package/src/aria-in-html/dd.json +0 -8
  207. package/src/aria-in-html/del.json +0 -8
  208. package/src/aria-in-html/details.json +0 -8
  209. package/src/aria-in-html/dfn.json +0 -8
  210. package/src/aria-in-html/dialog.json +0 -8
  211. package/src/aria-in-html/div.json +0 -8
  212. package/src/aria-in-html/dl.json +0 -8
  213. package/src/aria-in-html/dt.json +0 -8
  214. package/src/aria-in-html/em.json +0 -8
  215. package/src/aria-in-html/embed.json +0 -8
  216. package/src/aria-in-html/fieldset.json +0 -8
  217. package/src/aria-in-html/figcaption.json +0 -8
  218. package/src/aria-in-html/figure.json +0 -14
  219. package/src/aria-in-html/footer.json +0 -14
  220. package/src/aria-in-html/form.json +0 -14
  221. package/src/aria-in-html/h1.json +0 -8
  222. package/src/aria-in-html/h2.json +0 -8
  223. package/src/aria-in-html/h3.json +0 -8
  224. package/src/aria-in-html/h4.json +0 -8
  225. package/src/aria-in-html/h5.json +0 -8
  226. package/src/aria-in-html/h6.json +0 -8
  227. package/src/aria-in-html/head.json +0 -8
  228. package/src/aria-in-html/header.json +0 -14
  229. package/src/aria-in-html/hgroup.json +0 -8
  230. package/src/aria-in-html/hr.json +0 -8
  231. package/src/aria-in-html/html.json +0 -8
  232. package/src/aria-in-html/i.json +0 -8
  233. package/src/aria-in-html/iframe.json +0 -8
  234. package/src/aria-in-html/img.json +0 -39
  235. package/src/aria-in-html/input.json +0 -192
  236. package/src/aria-in-html/ins.json +0 -8
  237. package/src/aria-in-html/kbd.json +0 -8
  238. package/src/aria-in-html/label.json +0 -8
  239. package/src/aria-in-html/legend.json +0 -8
  240. package/src/aria-in-html/li.json +0 -19
  241. package/src/aria-in-html/link.json +0 -8
  242. package/src/aria-in-html/main.json +0 -8
  243. package/src/aria-in-html/map.json +0 -8
  244. package/src/aria-in-html/mark.json +0 -8
  245. package/src/aria-in-html/math.json +0 -8
  246. package/src/aria-in-html/menu.json +0 -20
  247. package/src/aria-in-html/meta.json +0 -8
  248. package/src/aria-in-html/meter.json +0 -8
  249. package/src/aria-in-html/nav.json +0 -8
  250. package/src/aria-in-html/noscript.json +0 -8
  251. package/src/aria-in-html/object.json +0 -8
  252. package/src/aria-in-html/ol.json +0 -20
  253. package/src/aria-in-html/optgroup.json +0 -8
  254. package/src/aria-in-html/option.json +0 -8
  255. package/src/aria-in-html/output.json +0 -8
  256. package/src/aria-in-html/p.json +0 -8
  257. package/src/aria-in-html/param.json +0 -8
  258. package/src/aria-in-html/picture.json +0 -8
  259. package/src/aria-in-html/portal.json +0 -8
  260. package/src/aria-in-html/pre.json +0 -8
  261. package/src/aria-in-html/progress.json +0 -8
  262. package/src/aria-in-html/q.json +0 -8
  263. package/src/aria-in-html/rp.json +0 -8
  264. package/src/aria-in-html/rt.json +0 -8
  265. package/src/aria-in-html/ruby.json +0 -8
  266. package/src/aria-in-html/s.json +0 -8
  267. package/src/aria-in-html/samp.json +0 -8
  268. package/src/aria-in-html/script.json +0 -8
  269. package/src/aria-in-html/section.json +0 -34
  270. package/src/aria-in-html/select.json +0 -20
  271. package/src/aria-in-html/slot.json +0 -8
  272. package/src/aria-in-html/small.json +0 -8
  273. package/src/aria-in-html/source.json +0 -8
  274. package/src/aria-in-html/span.json +0 -8
  275. package/src/aria-in-html/strong.json +0 -8
  276. package/src/aria-in-html/style.json +0 -8
  277. package/src/aria-in-html/sub.json +0 -8
  278. package/src/aria-in-html/summary.json +0 -8
  279. package/src/aria-in-html/sup.json +0 -8
  280. package/src/aria-in-html/svg.json +0 -8
  281. package/src/aria-in-html/table.json +0 -8
  282. package/src/aria-in-html/tbody.json +0 -8
  283. package/src/aria-in-html/td.json +0 -24
  284. package/src/aria-in-html/template.json +0 -8
  285. package/src/aria-in-html/textarea.json +0 -8
  286. package/src/aria-in-html/tfoot.json +0 -8
  287. package/src/aria-in-html/th.json +0 -24
  288. package/src/aria-in-html/thead.json +0 -8
  289. package/src/aria-in-html/time.json +0 -8
  290. package/src/aria-in-html/title.json +0 -8
  291. package/src/aria-in-html/tr.json +0 -14
  292. package/src/aria-in-html/track.json +0 -8
  293. package/src/aria-in-html/u.json +0 -8
  294. package/src/aria-in-html/ul.json +0 -20
  295. package/src/aria-in-html/var.json +0 -8
  296. package/src/aria-in-html/video.json +0 -8
  297. package/src/aria-in-html/wbr.json +0 -8
  298. package/src/attributes/a.json +0 -12
  299. package/src/attributes/abbr.json +0 -11
  300. package/src/attributes/address.json +0 -11
  301. package/src/attributes/area.json +0 -37
  302. package/src/attributes/article.json +0 -11
  303. package/src/attributes/aside.json +0 -11
  304. package/src/attributes/audio.json +0 -13
  305. package/src/attributes/b.json +0 -11
  306. package/src/attributes/base.json +0 -12
  307. package/src/attributes/bdi.json +0 -11
  308. package/src/attributes/bdo.json +0 -11
  309. package/src/attributes/blockquote.json +0 -16
  310. package/src/attributes/body.json +0 -76
  311. package/src/attributes/br.json +0 -11
  312. package/src/attributes/button.json +0 -34
  313. package/src/attributes/canvas.json +0 -21
  314. package/src/attributes/caption.json +0 -11
  315. package/src/attributes/cite.json +0 -11
  316. package/src/attributes/code.json +0 -11
  317. package/src/attributes/col.json +0 -22
  318. package/src/attributes/colgroup.json +0 -22
  319. package/src/attributes/data.json +0 -16
  320. package/src/attributes/datalist.json +0 -11
  321. package/src/attributes/dd.json +0 -11
  322. package/src/attributes/del.json +0 -20
  323. package/src/attributes/details.json +0 -16
  324. package/src/attributes/dfn.json +0 -11
  325. package/src/attributes/dialog.json +0 -20
  326. package/src/attributes/div.json +0 -11
  327. package/src/attributes/dl.json +0 -11
  328. package/src/attributes/dt.json +0 -11
  329. package/src/attributes/em.json +0 -11
  330. package/src/attributes/embed.json +0 -27
  331. package/src/attributes/fieldset.json +0 -12
  332. package/src/attributes/figcaption.json +0 -11
  333. package/src/attributes/figure.json +0 -11
  334. package/src/attributes/footer.json +0 -11
  335. package/src/attributes/form.json +0 -80
  336. package/src/attributes/h1.json +0 -11
  337. package/src/attributes/h2.json +0 -11
  338. package/src/attributes/h3.json +0 -11
  339. package/src/attributes/h4.json +0 -11
  340. package/src/attributes/h5.json +0 -11
  341. package/src/attributes/h6.json +0 -11
  342. package/src/attributes/head.json +0 -11
  343. package/src/attributes/header.json +0 -11
  344. package/src/attributes/hgroup.json +0 -11
  345. package/src/attributes/hr.json +0 -11
  346. package/src/attributes/html.json +0 -11
  347. package/src/attributes/i.json +0 -11
  348. package/src/attributes/iframe.json +0 -61
  349. package/src/attributes/img.json +0 -45
  350. package/src/attributes/input.json +0 -343
  351. package/src/attributes/ins.json +0 -20
  352. package/src/attributes/kbd.json +0 -11
  353. package/src/attributes/label.json +0 -16
  354. package/src/attributes/legend.json +0 -11
  355. package/src/attributes/li.json +0 -19
  356. package/src/attributes/link.json +0 -143
  357. package/src/attributes/main.json +0 -11
  358. package/src/attributes/map.json +0 -17
  359. package/src/attributes/mark.json +0 -11
  360. package/src/attributes/math.json +0 -8
  361. package/src/attributes/menu.json +0 -11
  362. package/src/attributes/meta.json +0 -64
  363. package/src/attributes/meter.json +0 -36
  364. package/src/attributes/nav.json +0 -11
  365. package/src/attributes/noscript.json +0 -11
  366. package/src/attributes/object.json +0 -28
  367. package/src/attributes/ol.json +0 -29
  368. package/src/attributes/optgroup.json +0 -18
  369. package/src/attributes/option.json +0 -25
  370. package/src/attributes/output.json +0 -17
  371. package/src/attributes/p.json +0 -11
  372. package/src/attributes/param.json +0 -22
  373. package/src/attributes/picture.json +0 -11
  374. package/src/attributes/portal.json +0 -22
  375. package/src/attributes/pre.json +0 -11
  376. package/src/attributes/progress.json +0 -21
  377. package/src/attributes/q.json +0 -16
  378. package/src/attributes/rp.json +0 -11
  379. package/src/attributes/rt.json +0 -11
  380. package/src/attributes/ruby.json +0 -11
  381. package/src/attributes/s.json +0 -11
  382. package/src/attributes/samp.json +0 -11
  383. package/src/attributes/script.json +0 -64
  384. package/src/attributes/section.json +0 -11
  385. package/src/attributes/select.json +0 -24
  386. package/src/attributes/slot.json +0 -16
  387. package/src/attributes/small.json +0 -11
  388. package/src/attributes/source.json +0 -55
  389. package/src/attributes/span.json +0 -11
  390. package/src/attributes/strong.json +0 -11
  391. package/src/attributes/style.json +0 -22
  392. package/src/attributes/sub.json +0 -11
  393. package/src/attributes/summary.json +0 -11
  394. package/src/attributes/sup.json +0 -11
  395. package/src/attributes/svg_defs.json +0 -80
  396. package/src/attributes/svg_desc.json +0 -10
  397. package/src/attributes/svg_discard.json +0 -20
  398. package/src/attributes/svg_feDistantLight.json +0 -21
  399. package/src/attributes/svg_feFuncA.json +0 -9
  400. package/src/attributes/svg_feFuncB.json +0 -9
  401. package/src/attributes/svg_feFuncG.json +0 -9
  402. package/src/attributes/svg_feFuncR.json +0 -9
  403. package/src/attributes/svg_feMergeNode.json +0 -9
  404. package/src/attributes/svg_fePointLight.json +0 -27
  405. package/src/attributes/svg_feSpotLight.json +0 -56
  406. package/src/attributes/svg_foreignObject.json +0 -87
  407. package/src/attributes/svg_g.json +0 -83
  408. package/src/attributes/svg_hatch.json +0 -114
  409. package/src/attributes/svg_hatchpath.json +0 -84
  410. package/src/attributes/svg_mesh.json +0 -88
  411. package/src/attributes/svg_meshgradient.json +0 -33
  412. package/src/attributes/svg_meshpatch.json +0 -79
  413. package/src/attributes/svg_meshrow.json +0 -79
  414. package/src/attributes/svg_metadata.json +0 -10
  415. package/src/attributes/svg_mpath.json +0 -15
  416. package/src/attributes/svg_script.json +0 -29
  417. package/src/attributes/svg_set.json +0 -31
  418. package/src/attributes/svg_style.json +0 -25
  419. package/src/attributes/svg_switch.json +0 -83
  420. package/src/attributes/svg_symbol.json +0 -45
  421. package/src/attributes/svg_title.json +0 -10
  422. package/src/attributes/svg_view.json +0 -34
  423. package/src/attributes/table.json +0 -11
  424. package/src/attributes/tbody.json +0 -11
  425. package/src/attributes/td.json +0 -12
  426. package/src/attributes/template.json +0 -11
  427. package/src/attributes/textarea.json +0 -51
  428. package/src/attributes/tfoot.json +0 -11
  429. package/src/attributes/th.json +0 -25
  430. package/src/attributes/thead.json +0 -11
  431. package/src/attributes/time.json +0 -16
  432. package/src/attributes/title.json +0 -11
  433. package/src/attributes/tr.json +0 -11
  434. package/src/attributes/track.json +0 -38
  435. package/src/attributes/u.json +0 -11
  436. package/src/attributes/ul.json +0 -11
  437. package/src/attributes/var.json +0 -11
  438. package/src/attributes/video.json +0 -43
  439. package/src/attributes/wbr.json +0 -11
  440. package/src/content-models.json +0 -334
  441. package/src/permitted-structures/a.json +0 -9
  442. package/src/permitted-structures/abbr.json +0 -8
  443. package/src/permitted-structures/address.json +0 -9
  444. package/src/permitted-structures/area.json +0 -5
  445. package/src/permitted-structures/article.json +0 -8
  446. package/src/permitted-structures/aside.json +0 -8
  447. package/src/permitted-structures/audio.json +0 -31
  448. package/src/permitted-structures/b.json +0 -8
  449. package/src/permitted-structures/base.json +0 -4
  450. package/src/permitted-structures/bdi.json +0 -8
  451. package/src/permitted-structures/bdo.json +0 -8
  452. package/src/permitted-structures/blockquote.json +0 -8
  453. package/src/permitted-structures/body.json +0 -8
  454. package/src/permitted-structures/br.json +0 -4
  455. package/src/permitted-structures/button.json +0 -9
  456. package/src/permitted-structures/canvas.json +0 -5
  457. package/src/permitted-structures/caption.json +0 -8
  458. package/src/permitted-structures/cite.json +0 -8
  459. package/src/permitted-structures/code.json +0 -8
  460. package/src/permitted-structures/col.json +0 -4
  461. package/src/permitted-structures/colgroup.json +0 -16
  462. package/src/permitted-structures/data.json +0 -8
  463. package/src/permitted-structures/datalist.json +0 -19
  464. package/src/permitted-structures/dd.json +0 -8
  465. package/src/permitted-structures/del.json +0 -8
  466. package/src/permitted-structures/details.json +0 -11
  467. package/src/permitted-structures/dfn.json +0 -9
  468. package/src/permitted-structures/dialog.json +0 -8
  469. package/src/permitted-structures/div.json +0 -32
  470. package/src/permitted-structures/dl.json +0 -35
  471. package/src/permitted-structures/dt.json +0 -9
  472. package/src/permitted-structures/em.json +0 -8
  473. package/src/permitted-structures/embed.json +0 -4
  474. package/src/permitted-structures/fieldset.json +0 -11
  475. package/src/permitted-structures/figcaption.json +0 -8
  476. package/src/permitted-structures/figure.json +0 -19
  477. package/src/permitted-structures/footer.json +0 -9
  478. package/src/permitted-structures/form.json +0 -9
  479. package/src/permitted-structures/h1.json +0 -8
  480. package/src/permitted-structures/h2.json +0 -8
  481. package/src/permitted-structures/h3.json +0 -8
  482. package/src/permitted-structures/h4.json +0 -8
  483. package/src/permitted-structures/h5.json +0 -8
  484. package/src/permitted-structures/h6.json +0 -8
  485. package/src/permitted-structures/head.json +0 -16
  486. package/src/permitted-structures/header.json +0 -9
  487. package/src/permitted-structures/hgroup.json +0 -18
  488. package/src/permitted-structures/hr.json +0 -4
  489. package/src/permitted-structures/html.json +0 -11
  490. package/src/permitted-structures/i.json +0 -8
  491. package/src/permitted-structures/iframe.json +0 -8
  492. package/src/permitted-structures/img.json +0 -4
  493. package/src/permitted-structures/input.json +0 -4
  494. package/src/permitted-structures/ins.json +0 -8
  495. package/src/permitted-structures/kbd.json +0 -8
  496. package/src/permitted-structures/label.json +0 -9
  497. package/src/permitted-structures/legend.json +0 -8
  498. package/src/permitted-structures/li.json +0 -8
  499. package/src/permitted-structures/link.json +0 -4
  500. package/src/permitted-structures/main.json +0 -8
  501. package/src/permitted-structures/map.json +0 -8
  502. package/src/permitted-structures/mark.json +0 -8
  503. package/src/permitted-structures/math.json +0 -4
  504. package/src/permitted-structures/menu.json +0 -8
  505. package/src/permitted-structures/meta.json +0 -4
  506. package/src/permitted-structures/meter.json +0 -9
  507. package/src/permitted-structures/nav.json +0 -8
  508. package/src/permitted-structures/noscript.json +0 -21
  509. package/src/permitted-structures/object.json +0 -11
  510. package/src/permitted-structures/ol.json +0 -8
  511. package/src/permitted-structures/optgroup.json +0 -8
  512. package/src/permitted-structures/option.json +0 -30
  513. package/src/permitted-structures/output.json +0 -8
  514. package/src/permitted-structures/p.json +0 -8
  515. package/src/permitted-structures/param.json +0 -4
  516. package/src/permitted-structures/picture.json +0 -20
  517. package/src/permitted-structures/portal.json +0 -8
  518. package/src/permitted-structures/pre.json +0 -8
  519. package/src/permitted-structures/progress.json +0 -9
  520. package/src/permitted-structures/q.json +0 -8
  521. package/src/permitted-structures/rp.json +0 -8
  522. package/src/permitted-structures/rt.json +0 -8
  523. package/src/permitted-structures/ruby.json +0 -41
  524. package/src/permitted-structures/s.json +0 -8
  525. package/src/permitted-structures/samp.json +0 -8
  526. package/src/permitted-structures/script.json +0 -8
  527. package/src/permitted-structures/section.json +0 -8
  528. package/src/permitted-structures/select.json +0 -8
  529. package/src/permitted-structures/slot.json +0 -8
  530. package/src/permitted-structures/small.json +0 -8
  531. package/src/permitted-structures/source.json +0 -4
  532. package/src/permitted-structures/span.json +0 -8
  533. package/src/permitted-structures/strong.json +0 -8
  534. package/src/permitted-structures/style.json +0 -8
  535. package/src/permitted-structures/sub.json +0 -8
  536. package/src/permitted-structures/summary.json +0 -19
  537. package/src/permitted-structures/sup.json +0 -8
  538. package/src/permitted-structures/svg_a.json +0 -24
  539. package/src/permitted-structures/svg_animate.json +0 -8
  540. package/src/permitted-structures/svg_animateMotion.json +0 -25
  541. package/src/permitted-structures/svg_animateTransform.json +0 -8
  542. package/src/permitted-structures/svg_circle.json +0 -17
  543. package/src/permitted-structures/svg_clipPath.json +0 -8
  544. package/src/permitted-structures/svg_defs.json +0 -26
  545. package/src/permitted-structures/svg_desc.json +0 -8
  546. package/src/permitted-structures/svg_discard.json +0 -8
  547. package/src/permitted-structures/svg_ellipse.json +0 -17
  548. package/src/permitted-structures/svg_feBlend.json +0 -8
  549. package/src/permitted-structures/svg_feColorMatrix.json +0 -8
  550. package/src/permitted-structures/svg_feComponentTransfer.json +0 -8
  551. package/src/permitted-structures/svg_feComposite.json +0 -8
  552. package/src/permitted-structures/svg_feConvolveMatrix.json +0 -8
  553. package/src/permitted-structures/svg_feDiffuseLighting.json +0 -25
  554. package/src/permitted-structures/svg_feDisplacementMap.json +0 -8
  555. package/src/permitted-structures/svg_feDistantLight.json +0 -8
  556. package/src/permitted-structures/svg_feDropShadow.json +0 -8
  557. package/src/permitted-structures/svg_feFlood.json +0 -8
  558. package/src/permitted-structures/svg_feFuncA.json +0 -8
  559. package/src/permitted-structures/svg_feFuncB.json +0 -8
  560. package/src/permitted-structures/svg_feFuncG.json +0 -8
  561. package/src/permitted-structures/svg_feFuncR.json +0 -8
  562. package/src/permitted-structures/svg_feGaussianBlur.json +0 -8
  563. package/src/permitted-structures/svg_feImage.json +0 -8
  564. package/src/permitted-structures/svg_feMerge.json +0 -8
  565. package/src/permitted-structures/svg_feMergeNode.json +0 -8
  566. package/src/permitted-structures/svg_feMorphology.json +0 -8
  567. package/src/permitted-structures/svg_feOffset.json +0 -8
  568. package/src/permitted-structures/svg_fePointLight.json +0 -8
  569. package/src/permitted-structures/svg_feSpecularLighting.json +0 -25
  570. package/src/permitted-structures/svg_feSpotLight.json +0 -8
  571. package/src/permitted-structures/svg_feTile.json +0 -8
  572. package/src/permitted-structures/svg_feTurbulence.json +0 -8
  573. package/src/permitted-structures/svg_filter.json +0 -8
  574. package/src/permitted-structures/svg_foreignObject.json +0 -4
  575. package/src/permitted-structures/svg_g.json +0 -26
  576. package/src/permitted-structures/svg_hatch.json +0 -8
  577. package/src/permitted-structures/svg_hatchpath.json +0 -8
  578. package/src/permitted-structures/svg_image.json +0 -8
  579. package/src/permitted-structures/svg_line.json +0 -17
  580. package/src/permitted-structures/svg_linearGradient.json +0 -16
  581. package/src/permitted-structures/svg_marker.json +0 -26
  582. package/src/permitted-structures/svg_mask.json +0 -32
  583. package/src/permitted-structures/svg_mesh.json +0 -20
  584. package/src/permitted-structures/svg_meshgradient.json +0 -16
  585. package/src/permitted-structures/svg_meshpatch.json +0 -9
  586. package/src/permitted-structures/svg_meshrow.json +0 -9
  587. package/src/permitted-structures/svg_metadata.json +0 -8
  588. package/src/permitted-structures/svg_mpath.json +0 -8
  589. package/src/permitted-structures/svg_path.json +0 -17
  590. package/src/permitted-structures/svg_pattern.json +0 -26
  591. package/src/permitted-structures/svg_polygon.json +0 -17
  592. package/src/permitted-structures/svg_polyline.json +0 -17
  593. package/src/permitted-structures/svg_radialGradient.json +0 -16
  594. package/src/permitted-structures/svg_rect.json +0 -17
  595. package/src/permitted-structures/svg_script.json +0 -8
  596. package/src/permitted-structures/svg_set.json +0 -8
  597. package/src/permitted-structures/svg_stop.json +0 -8
  598. package/src/permitted-structures/svg_style.json +0 -8
  599. package/src/permitted-structures/svg_svg.json +0 -30
  600. package/src/permitted-structures/svg_switch.json +0 -19
  601. package/src/permitted-structures/svg_symbol.json +0 -26
  602. package/src/permitted-structures/svg_text.json +0 -20
  603. package/src/permitted-structures/svg_textPath.json +0 -21
  604. package/src/permitted-structures/svg_title.json +0 -8
  605. package/src/permitted-structures/svg_tspan.json +0 -17
  606. package/src/permitted-structures/svg_use.json +0 -8
  607. package/src/permitted-structures/svg_view.json +0 -8
  608. package/src/permitted-structures/table.json +0 -49
  609. package/src/permitted-structures/tbody.json +0 -8
  610. package/src/permitted-structures/td.json +0 -8
  611. package/src/permitted-structures/template.json +0 -8
  612. package/src/permitted-structures/textarea.json +0 -8
  613. package/src/permitted-structures/tfoot.json +0 -8
  614. package/src/permitted-structures/th.json +0 -9
  615. package/src/permitted-structures/thead.json +0 -8
  616. package/src/permitted-structures/time.json +0 -8
  617. package/src/permitted-structures/title.json +0 -8
  618. package/src/permitted-structures/tr.json +0 -8
  619. package/src/permitted-structures/track.json +0 -4
  620. package/src/permitted-structures/u.json +0 -8
  621. package/src/permitted-structures/ul.json +0 -8
  622. package/src/permitted-structures/var.json +0 -8
  623. package/src/permitted-structures/video.json +0 -31
  624. package/src/permitted-structures/wbr.json +0 -4
@@ -0,0 +1,67 @@
1
+ // https://drafts.fxtf.org/filter-effects/#feSpotLightElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-35
3
+ {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
8
+ }
9
+ ]
10
+ },
11
+ "globalAttrs": {
12
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space"]
13
+ },
14
+ "attributes": {
15
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-x
16
+ "x": {
17
+ "type": "<number>",
18
+ "defaultValue": "0",
19
+ "animatable": true
20
+ },
21
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-y
22
+ "y": {
23
+ "type": "<number>",
24
+ "defaultValue": "0",
25
+ "animatable": true
26
+ },
27
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-z
28
+ "z": {
29
+ "type": "<number>",
30
+ "defaultValue": "0",
31
+ "animatable": true
32
+ },
33
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatx
34
+ "pointsAtX": {
35
+ "type": "<number>",
36
+ "defaultValue": "0",
37
+ "animatable": true
38
+ },
39
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsaty
40
+ "pointsAtY": {
41
+ "type": "<number>",
42
+ "defaultValue": "0",
43
+ "animatable": true
44
+ },
45
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatz
46
+ "pointsAtZ": {
47
+ "type": "<number>",
48
+ "defaultValue": "0",
49
+ "animatable": true
50
+ },
51
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-specularexponent
52
+ "specularExponent": {
53
+ "type": "<number>",
54
+ "defaultValue": "1",
55
+ "animatable": true
56
+ },
57
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-limitingconeangle
58
+ "limitingConeAngle": {
59
+ "type": "<number>",
60
+ "animatable": true
61
+ }
62
+ },
63
+ "aria": {
64
+ "implicitRole": false,
65
+ "permittedRoles": false
66
+ }
67
+ }
@@ -1,7 +1,14 @@
1
+ // https://drafts.fxtf.org/filter-effects/#feTileElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-36
1
3
  {
2
- "tag": "feTile",
3
- "ref": "https://drafts.fxtf.org/filter-effects/#feTileElement",
4
- "global": {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
8
+ }
9
+ ]
10
+ },
11
+ "globalAttrs": {
5
12
  "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
6
13
  "#SVGPresentationAttrs": [
7
14
  "alignment-baseline",
@@ -75,5 +82,9 @@
75
82
  ],
76
83
  "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result", "in"]
77
84
  },
78
- "attributes": {}
85
+ "attributes": {},
86
+ "aria": {
87
+ "implicitRole": false,
88
+ "permittedRoles": false
89
+ }
79
90
  }
@@ -1,7 +1,14 @@
1
+ // https://drafts.fxtf.org/filter-effects/#feTurbulenceElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-37
1
3
  {
2
- "tag": "feTurbulence",
3
- "ref": "https://drafts.fxtf.org/filter-effects/#feTurbulenceElement",
4
- "global": {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
8
+ }
9
+ ]
10
+ },
11
+ "globalAttrs": {
5
12
  "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
6
13
  "#SVGPresentationAttrs": [
7
14
  "alignment-baseline",
@@ -76,40 +83,44 @@
76
83
  "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result"]
77
84
  },
78
85
  "attributes": {
86
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-basefrequency
79
87
  "baseFrequency": {
80
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-basefrequency",
88
+ // TODO: Negative values are unsupported
81
89
  "type": "<number-optional-number>",
82
- "_TODO_": "Negative values are unsupported",
83
90
  "defaultValue": "0",
84
91
  "animatable": true
85
92
  },
93
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-numoctaves
86
94
  "numOctaves": {
87
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-numoctaves",
88
95
  "type": "<positive-integer>",
89
96
  "defaultValue": "1",
90
97
  "animatable": true
91
98
  },
99
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-seed
92
100
  "seed": {
93
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-seed",
94
101
  "type": "<number>",
95
102
  "defaultValue": "0",
96
103
  "animatable": true
97
104
  },
105
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-stitchtiles
98
106
  "stitchTiles": {
99
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-stitchtiles",
100
107
  "type": {
101
108
  "enum": ["noStitch", "stitch"]
102
109
  },
103
110
  "defaultValue": "noStitch",
104
111
  "animatable": true
105
112
  },
113
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-type
106
114
  "type": {
107
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-type",
108
115
  "type": {
109
116
  "enum": ["fractalNoise", "turbulence"]
110
117
  },
111
118
  "defaultValue": "turbulence",
112
119
  "animatable": true
113
120
  }
121
+ },
122
+ "aria": {
123
+ "implicitRole": false,
124
+ "permittedRoles": false
114
125
  }
115
126
  }
@@ -1,7 +1,14 @@
1
+ // https://drafts.fxtf.org/filter-effects/#FilterElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-38
1
3
  {
2
- "tag": "filter",
3
- "ref": "https://drafts.fxtf.org/filter-effects/#FilterElement",
4
- "global": {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": ["#SVGDescriptive", "#SVGFilterPrimitive", "svg|animate", "svg|script", "svg|set"]
8
+ }
9
+ ]
10
+ },
11
+ "globalAttrs": {
5
12
  "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
6
13
  "#SVGPresentationAttrs": [
7
14
  "alignment-baseline",
@@ -76,32 +83,32 @@
76
83
  "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height"]
77
84
  },
78
85
  "attributes": {
86
+ // https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
79
87
  "externalResourcesRequired": {
80
- "ref": "https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute",
81
88
  "type": {
82
89
  "enum": ["true", "false"],
83
90
  "disallowToSurroundBySpaces": false
84
91
  },
85
92
  "defaultValue": "true"
86
93
  },
94
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-x
87
95
  "x": {
88
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-x",
89
96
  "defaultValue": "-10%"
90
97
  },
98
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-y
91
99
  "y": {
92
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-y",
93
100
  "defaultValue": "-10%"
94
101
  },
102
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-width
95
103
  "width": {
96
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-width",
97
104
  "defaultValue": "120%"
98
105
  },
106
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-height
99
107
  "height": {
100
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-height",
101
108
  "defaultValue": "120%"
102
109
  },
110
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-filterunits
103
111
  "filterUnits": {
104
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-filterunits",
105
112
  "type": {
106
113
  "enum": ["userSpaceOnUse", "objectBoundingBox"],
107
114
  "disallowToSurroundBySpaces": false
@@ -109,19 +116,23 @@
109
116
  "defaultValue": "objectBoundingBox",
110
117
  "animatable": true
111
118
  },
119
+ // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitiveunits
112
120
  "primitiveUnits": {
113
- "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitiveunits",
114
121
  "type": {
115
122
  "enum": ["userSpaceOnUse", "objectBoundingBox"]
116
123
  },
117
124
  "defaultValue": "userSpaceOnUse",
118
125
  "animatable": true
119
126
  },
127
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filterRes
120
128
  "filterRes": {
121
- "ref": "https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filterRes",
122
129
  "type": "<number-optional-number>",
123
130
  "animatable": true,
124
131
  "deprecated": true
125
132
  }
133
+ },
134
+ "aria": {
135
+ "implicitRole": false,
136
+ "permittedRoles": false
126
137
  }
127
138
  }
@@ -1,20 +1,21 @@
1
+ // https://svgwg.org/svg2-draft/embedded.html#ForeignObjectElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-39
1
3
  {
2
- "tag": "rect",
3
- "ref": "https://svgwg.org/svg2-draft/shapes.html#RectElement",
4
- "global": {
4
+ "contentModel": {
5
+ "contents": true
6
+ },
7
+ "globalAttrs": {
5
8
  "#HTMLGlobalAttrs": true,
6
9
  "#GlobalEventAttrs": true,
7
10
  "#DocumentElementEventAttrs": true,
8
11
  "#ARIAAttrs": true,
9
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
10
12
  "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
13
+ "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
11
14
  "#SVGPresentationAttrs": [
12
15
  "x",
13
16
  "y",
14
17
  "width",
15
18
  "height",
16
- "rx",
17
- "ry",
18
19
  "alignment-baseline",
19
20
  "baseline-shift",
20
21
  "clip",
@@ -85,11 +86,12 @@
85
86
  "writing-mode"
86
87
  ]
87
88
  },
88
- "attributes": {
89
- "pathLength": {
90
- "ref": "https://svgwg.org/svg2-draft/paths.html#PathLengthAttribute",
91
- "type": "<number>",
92
- "animatable": true
89
+ "attributes": {},
90
+ "aria": {
91
+ "implicitRole": "group",
92
+ "permittedRoles": {
93
+ "core-aam": true,
94
+ "graphics-aam": true
93
95
  }
94
96
  }
95
97
  }
@@ -0,0 +1,115 @@
1
+ // https://svgwg.org/svg2-draft/struct.html#GElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-40
3
+ {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": [
8
+ "#SVGAnimation",
9
+ "#SVGDescriptive",
10
+ "#SVGPaintServer",
11
+ "#SVGShape",
12
+ "#SVGStructural",
13
+ "svg|a",
14
+ "svg|clipPath",
15
+ "svg|filter",
16
+ "svg|foreignObject",
17
+ "svg|image",
18
+ "svg|marker",
19
+ "svg|mask",
20
+ "svg|script",
21
+ "svg|style",
22
+ "svg|switch",
23
+ "svg|text",
24
+ "svg|view"
25
+ ]
26
+ }
27
+ ]
28
+ },
29
+ "globalAttrs": {
30
+ "#HTMLGlobalAttrs": true,
31
+ "#GlobalEventAttrs": true,
32
+ "#DocumentElementEventAttrs": true,
33
+ "#ARIAAttrs": true,
34
+ "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
35
+ "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
36
+ "#SVGPresentationAttrs": [
37
+ "alignment-baseline",
38
+ "baseline-shift",
39
+ "clip",
40
+ "clip-path",
41
+ "clip-rule",
42
+ "color",
43
+ "color-interpolation",
44
+ "color-interpolation-filters",
45
+ "color-rendering",
46
+ "cursor",
47
+ "direction",
48
+ "display",
49
+ "dominant-baseline",
50
+ "enable-background",
51
+ "fill",
52
+ "fill-opacity",
53
+ "fill-rule",
54
+ "filter",
55
+ "flood-color",
56
+ "flood-opacity",
57
+ "font",
58
+ "font-family",
59
+ "font-size",
60
+ "font-size-adjust",
61
+ "font-stretch",
62
+ "font-style",
63
+ "font-variant",
64
+ "font-weight",
65
+ "glyph-orientation-horizontal",
66
+ "glyph-orientation-vertical",
67
+ "image-rendering",
68
+ "isolation",
69
+ "kerning",
70
+ "letter-spacing",
71
+ "lighting-color",
72
+ "marker",
73
+ "marker-end",
74
+ "marker-mid",
75
+ "marker-start",
76
+ "mask",
77
+ "mask-type",
78
+ "opacity",
79
+ "overflow",
80
+ "paint-order",
81
+ "pointer-events",
82
+ "shape-rendering",
83
+ "stop-color",
84
+ "stop-opacity",
85
+ "stroke",
86
+ "stroke-dasharray",
87
+ "stroke-dashoffset",
88
+ "stroke-linecap",
89
+ "stroke-linejoin",
90
+ "stroke-miterlimit",
91
+ "stroke-opacity",
92
+ "stroke-width",
93
+ "text-anchor",
94
+ "text-decoration",
95
+ "text-overflow",
96
+ "text-rendering",
97
+ "transform",
98
+ "transform-origin",
99
+ "unicode-bidi",
100
+ "vector-effect",
101
+ "visibility",
102
+ "white-space",
103
+ "word-spacing",
104
+ "writing-mode"
105
+ ]
106
+ },
107
+ "attributes": {},
108
+ "aria": {
109
+ "implicitRole": "group",
110
+ "permittedRoles": {
111
+ "core-aam": true,
112
+ "graphics-aam": true
113
+ }
114
+ }
115
+ }
@@ -1,7 +1,21 @@
1
+ // https://svgwg.org/svg2-draft/embedded.html#ImageElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-44
1
3
  {
2
- "tag": "image",
3
- "ref": "https://svgwg.org/svg2-draft/embedded.html#ImageElement",
4
- "global": {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": [
8
+ "#SVGAnimation",
9
+ "#SVGDescriptive",
10
+ "svg|clipPath",
11
+ "svg|mask",
12
+ "svg|script",
13
+ "svg|style"
14
+ ]
15
+ }
16
+ ]
17
+ },
18
+ "globalAttrs": {
5
19
  "#HTMLGlobalAttrs": true,
6
20
  "#GlobalEventAttrs": true,
7
21
  "#DocumentElementEventAttrs": true,
@@ -85,17 +99,17 @@
85
99
  "#XLinkAttrs": ["xlink:href", "xlink:title"]
86
100
  },
87
101
  "attributes": {
102
+ // https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute
88
103
  "preserveAspectRatio": {
89
- "ref": "https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute",
90
104
  "type": "<preserve-aspect-ratio>",
91
105
  "defaultValue": "xMidYMid meet"
92
106
  },
107
+ // https://svgwg.org/svg2-draft/embedded.html#ImageElementHrefAttribute
93
108
  "href": {
94
- "ref": "https://svgwg.org/svg2-draft/embedded.html#ImageElementHrefAttribute",
95
109
  "type": "URL"
96
110
  },
111
+ // https://svgwg.org/svg2-draft/embedded.html#ImageElementCrossoriginAttribute
97
112
  "crossorigin": {
98
- "ref": "https://svgwg.org/svg2-draft/embedded.html#ImageElementCrossoriginAttribute",
99
113
  "type": {
100
114
  "enum": ["", "anonymous", "use-credentials"],
101
115
  "sameStates": {
@@ -103,5 +117,12 @@
103
117
  }
104
118
  }
105
119
  }
120
+ },
121
+ "aria": {
122
+ "implicitRole": "img",
123
+ "permittedRoles": {
124
+ "core-aam": true,
125
+ "graphics-aam": true
126
+ }
106
127
  }
107
128
  }
@@ -1,7 +1,23 @@
1
+ // https://svgwg.org/svg2-draft/shapes.html#LineElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-45
1
3
  {
2
- "tag": "line",
3
- "ref": "https://svgwg.org/svg2-draft/shapes.html#LineElement",
4
- "global": {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": [
8
+ "#SVGAnimation",
9
+ "#SVGDescriptive",
10
+ "#SVGPaintServer",
11
+ "svg|clipPath",
12
+ "svg|marker",
13
+ "svg|mask",
14
+ "svg|script",
15
+ "svg|style"
16
+ ]
17
+ }
18
+ ]
19
+ },
20
+ "globalAttrs": {
5
21
  "#HTMLGlobalAttrs": true,
6
22
  "#GlobalEventAttrs": true,
7
23
  "#DocumentElementEventAttrs": true,
@@ -80,34 +96,41 @@
80
96
  ]
81
97
  },
82
98
  "attributes": {
99
+ // https://svgwg.org/svg2-draft/paths.html#PathLengthAttribute
83
100
  "pathLength": {
84
- "ref": "https://svgwg.org/svg2-draft/paths.html#PathLengthAttribute",
85
101
  "type": "<number>",
86
102
  "animatable": true
87
103
  },
104
+ // https://svgwg.org/svg2-draft/shapes.html#LineElementX1Attribute
88
105
  "x1": {
89
- "ref": "https://svgwg.org/svg2-draft/shapes.html#LineElementX1Attribute",
90
106
  "type": ["<svg-length>", "<percentage>", "<number>"],
91
107
  "defaultValue": "0",
92
108
  "animatable": true
93
109
  },
110
+ // https://svgwg.org/svg2-draft/shapes.html#LineElementY1Attribute
94
111
  "y1": {
95
- "ref": "https://svgwg.org/svg2-draft/shapes.html#LineElementY1Attribute",
96
112
  "type": ["<svg-length>", "<percentage>", "<number>"],
97
113
  "defaultValue": "0",
98
114
  "animatable": true
99
115
  },
116
+ // https://svgwg.org/svg2-draft/shapes.html#LineElementX2Attribute
100
117
  "x2": {
101
- "ref": "https://svgwg.org/svg2-draft/shapes.html#LineElementX2Attribute",
102
118
  "type": ["<svg-length>", "<percentage>", "<number>"],
103
119
  "defaultValue": "0",
104
120
  "animatable": true
105
121
  },
122
+ // https://svgwg.org/svg2-draft/shapes.html#LineElementY2Attribute
106
123
  "y2": {
107
- "ref": "https://svgwg.org/svg2-draft/shapes.html#LineElementY2Attribute",
108
124
  "type": ["<svg-length>", "<percentage>", "<number>"],
109
125
  "defaultValue": "0",
110
126
  "animatable": true
111
127
  }
128
+ },
129
+ "aria": {
130
+ "implicitRole": "graphics-symbol",
131
+ "permittedRoles": {
132
+ "core-aam": true,
133
+ "graphics-aam": true
134
+ }
112
135
  }
113
136
  }
@@ -1,7 +1,22 @@
1
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElement
2
+ // https://www.w3.org/TR/svg-aam-1.0/#details-id-46
1
3
  {
2
- "tag": "linearGradient",
3
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElement",
4
- "global": {
4
+ "contentModel": {
5
+ "contents": [
6
+ {
7
+ "zeroOrMore": [
8
+ "#SVGDescriptive",
9
+ "svg|animate",
10
+ "svg|animateTransform",
11
+ "svg|script",
12
+ "svg|set",
13
+ "svg|stop",
14
+ "svg|style"
15
+ ]
16
+ }
17
+ ]
18
+ },
19
+ "globalAttrs": {
5
20
  "#GlobalEventAttrs": true,
6
21
  "#DocumentElementEventAttrs": true,
7
22
  "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
@@ -77,32 +92,32 @@
77
92
  "#XLinkAttrs": ["xlink:href", "xlink:title"]
78
93
  },
79
94
  "attributes": {
95
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX1Attribute
80
96
  "x1": {
81
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX1Attribute",
82
97
  "type": ["<svg-length>", "<percentage>"],
83
98
  "defaultValue": "0%",
84
99
  "animatable": true
85
100
  },
101
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY1Attribute
86
102
  "y1": {
87
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY1Attribute",
88
103
  "type": ["<svg-length>", "<percentage>"],
89
104
  "defaultValue": "0%",
90
105
  "animatable": true
91
106
  },
107
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX2Attribute
92
108
  "x2": {
93
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX2Attribute",
94
109
  "type": ["<svg-length>", "<percentage>"],
95
110
  "defaultValue": "100%",
96
111
  "animatable": true
97
112
  },
113
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY2Attribute
98
114
  "y2": {
99
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY2Attribute",
100
115
  "type": ["<svg-length>", "<percentage>"],
101
116
  "defaultValue": "0%",
102
117
  "animatable": true
103
118
  },
119
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientUnitsAttribute
104
120
  "gradientUnits": {
105
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientUnitsAttribute",
106
121
  "type": {
107
122
  "enum": ["userSpaceOnUse", "objectBoundingBox"],
108
123
  "disallowToSurroundBySpaces": false
@@ -110,13 +125,13 @@
110
125
  "defaultValue": "objectBoundingBox",
111
126
  "animatable": true
112
127
  },
128
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientTransformAttribute
113
129
  "gradientTransform": {
114
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientTransformAttribute",
115
130
  "type": "<transform-list>",
116
131
  "animatable": true
117
132
  },
133
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementSpreadMethodAttribute
118
134
  "spreadMethod": {
119
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementSpreadMethodAttribute",
120
135
  "type": {
121
136
  "enum": ["pad", "reflect", "repeat"],
122
137
  "disallowToSurroundBySpaces": false
@@ -124,10 +139,14 @@
124
139
  "defaultValue": "pad",
125
140
  "animatable": true
126
141
  },
142
+ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementHrefAttribute
127
143
  "href": {
128
- "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementHrefAttribute",
129
144
  "type": "URL",
130
145
  "animatable": true
131
146
  }
147
+ },
148
+ "aria": {
149
+ "implicitRole": false,
150
+ "permittedRoles": false
132
151
  }
133
152
  }