@markuplint/html-spec 2.0.0-dev.26 → 2.0.0-rc.5

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 (228) hide show
  1. package/index.json +8572 -5691
  2. package/package.json +5 -3
  3. package/src/aria-in-html/abbr.json +8 -0
  4. package/src/aria-in-html/address.json +8 -0
  5. package/src/aria-in-html/b.json +8 -0
  6. package/src/aria-in-html/base.json +8 -0
  7. package/src/aria-in-html/bdi.json +8 -0
  8. package/src/aria-in-html/bdo.json +8 -0
  9. package/src/aria-in-html/blockquote.json +8 -0
  10. package/src/aria-in-html/canvas.json +8 -0
  11. package/src/aria-in-html/caption.json +8 -0
  12. package/src/aria-in-html/cite.json +8 -0
  13. package/src/aria-in-html/code.json +8 -0
  14. package/src/aria-in-html/data.json +8 -0
  15. package/src/aria-in-html/del.json +8 -0
  16. package/src/aria-in-html/div.json +8 -0
  17. package/src/aria-in-html/em.json +8 -0
  18. package/src/aria-in-html/hgroup.json +8 -0
  19. package/src/aria-in-html/i.json +8 -0
  20. package/src/aria-in-html/ins.json +8 -0
  21. package/src/aria-in-html/kbd.json +8 -0
  22. package/src/aria-in-html/mark.json +8 -0
  23. package/src/aria-in-html/p.json +8 -0
  24. package/src/aria-in-html/pre.json +8 -0
  25. package/src/aria-in-html/q.json +8 -0
  26. package/src/aria-in-html/rp.json +8 -0
  27. package/src/aria-in-html/rt.json +8 -0
  28. package/src/aria-in-html/ruby.json +8 -0
  29. package/src/aria-in-html/s.json +8 -0
  30. package/src/aria-in-html/samp.json +8 -0
  31. package/src/aria-in-html/small.json +8 -0
  32. package/src/aria-in-html/span.json +8 -0
  33. package/src/aria-in-html/strong.json +8 -0
  34. package/src/aria-in-html/sub.json +8 -0
  35. package/src/aria-in-html/sup.json +8 -0
  36. package/src/aria-in-html/td.json +6 -2
  37. package/src/aria-in-html/time.json +8 -0
  38. package/src/aria-in-html/u.json +8 -0
  39. package/src/aria-in-html/var.json +8 -0
  40. package/src/aria-in-html/wbr.json +8 -0
  41. package/src/attributes/a.json +9 -40
  42. package/src/attributes/abbr.json +11 -0
  43. package/src/attributes/address.json +11 -0
  44. package/src/attributes/area.json +24 -44
  45. package/src/attributes/article.json +11 -0
  46. package/src/attributes/aside.json +11 -0
  47. package/src/attributes/audio.json +10 -32
  48. package/src/attributes/b.json +11 -0
  49. package/src/attributes/base.json +9 -13
  50. package/src/attributes/bdi.json +11 -0
  51. package/src/attributes/bdo.json +8 -8
  52. package/src/attributes/blockquote.json +11 -4
  53. package/src/attributes/body.json +57 -50
  54. package/src/attributes/br.json +11 -0
  55. package/src/attributes/button.json +27 -44
  56. package/src/attributes/canvas.json +16 -8
  57. package/src/attributes/caption.json +11 -0
  58. package/src/attributes/cite.json +11 -0
  59. package/src/attributes/code.json +11 -0
  60. package/src/attributes/col.json +18 -5
  61. package/src/attributes/colgroup.json +18 -5
  62. package/src/attributes/data.json +12 -5
  63. package/src/attributes/datalist.json +11 -0
  64. package/src/attributes/dd.json +11 -0
  65. package/src/attributes/del.json +14 -7
  66. package/src/attributes/details.json +11 -9
  67. package/src/attributes/dfn.json +11 -0
  68. package/src/attributes/dialog.json +15 -4
  69. package/src/attributes/div.json +11 -0
  70. package/src/attributes/dl.json +11 -0
  71. package/src/attributes/dt.json +11 -0
  72. package/src/attributes/em.json +11 -0
  73. package/src/attributes/embed.json +22 -16
  74. package/src/attributes/fieldset.json +9 -14
  75. package/src/attributes/figcaption.json +11 -0
  76. package/src/attributes/figure.json +11 -0
  77. package/src/attributes/footer.json +11 -0
  78. package/src/attributes/form.json +62 -29
  79. package/src/attributes/h1.json +11 -0
  80. package/src/attributes/h2.json +11 -0
  81. package/src/attributes/h3.json +11 -0
  82. package/src/attributes/h4.json +11 -0
  83. package/src/attributes/h5.json +11 -0
  84. package/src/attributes/h6.json +11 -0
  85. package/src/attributes/head.json +11 -0
  86. package/src/attributes/header.json +11 -0
  87. package/src/attributes/hgroup.json +11 -0
  88. package/src/attributes/hr.json +11 -0
  89. package/src/attributes/html.json +11 -0
  90. package/src/attributes/i.json +11 -0
  91. package/src/attributes/iframe.json +51 -57
  92. package/src/attributes/img.json +31 -50
  93. package/src/attributes/input.json +138 -121
  94. package/src/attributes/ins.json +14 -7
  95. package/src/attributes/kbd.json +11 -0
  96. package/src/attributes/label.json +11 -8
  97. package/src/attributes/legend.json +11 -0
  98. package/src/attributes/li.json +12 -5
  99. package/src/attributes/link.json +110 -51
  100. package/src/attributes/main.json +11 -0
  101. package/src/attributes/map.json +13 -5
  102. package/src/attributes/mark.json +11 -0
  103. package/src/attributes/math.json +8 -0
  104. package/src/attributes/menu.json +11 -0
  105. package/src/attributes/meta.json +36 -21
  106. package/src/attributes/meter.json +27 -20
  107. package/src/attributes/nav.json +11 -0
  108. package/src/attributes/noscript.json +11 -0
  109. package/src/attributes/object.json +20 -27
  110. package/src/attributes/ol.json +19 -9
  111. package/src/attributes/optgroup.json +13 -9
  112. package/src/attributes/option.json +18 -14
  113. package/src/attributes/output.json +12 -12
  114. package/src/attributes/p.json +11 -0
  115. package/src/attributes/param.json +17 -8
  116. package/src/attributes/picture.json +11 -0
  117. package/src/attributes/portal.json +17 -8
  118. package/src/attributes/pre.json +11 -0
  119. package/src/attributes/progress.json +16 -8
  120. package/src/attributes/q.json +11 -4
  121. package/src/attributes/rp.json +11 -0
  122. package/src/attributes/rt.json +11 -0
  123. package/src/attributes/ruby.json +11 -0
  124. package/src/attributes/s.json +11 -0
  125. package/src/attributes/samp.json +11 -0
  126. package/src/attributes/script.json +48 -27
  127. package/src/attributes/section.json +11 -0
  128. package/src/attributes/select.json +17 -29
  129. package/src/attributes/slot.json +12 -5
  130. package/src/attributes/small.json +11 -0
  131. package/src/attributes/source.json +34 -16
  132. package/src/attributes/span.json +11 -0
  133. package/src/attributes/strong.json +11 -0
  134. package/src/attributes/style.json +12 -5
  135. package/src/attributes/sub.json +11 -0
  136. package/src/attributes/summary.json +11 -0
  137. package/src/attributes/sup.json +11 -0
  138. package/src/attributes/svg_a.json +82 -47
  139. package/src/attributes/svg_animate.json +94 -13
  140. package/src/attributes/svg_animateMotion.json +36 -32
  141. package/src/attributes/svg_animateTransform.json +27 -14
  142. package/src/attributes/svg_circle.json +88 -26
  143. package/src/attributes/svg_clipPath.json +79 -15
  144. package/src/attributes/svg_defs.json +77 -1
  145. package/src/attributes/svg_desc.json +7 -1
  146. package/src/attributes/svg_discard.json +13 -10
  147. package/src/attributes/svg_ellipse.json +89 -27
  148. package/src/attributes/svg_feBlend.json +89 -40
  149. package/src/attributes/svg_feColorMatrix.json +86 -38
  150. package/src/attributes/svg_feComponentTransfer.json +76 -31
  151. package/src/attributes/svg_feComposite.json +114 -56
  152. package/src/attributes/svg_feConvolveMatrix.json +119 -62
  153. package/src/attributes/svg_feDiffuseLighting.json +91 -42
  154. package/src/attributes/svg_feDisplacementMap.json +101 -47
  155. package/src/attributes/svg_feDistantLight.json +16 -11
  156. package/src/attributes/svg_feDropShadow.json +92 -43
  157. package/src/attributes/svg_feFlood.json +83 -37
  158. package/src/attributes/svg_feFuncA.json +6 -10
  159. package/src/attributes/svg_feFuncB.json +6 -10
  160. package/src/attributes/svg_feFuncG.json +6 -10
  161. package/src/attributes/svg_feFuncR.json +6 -10
  162. package/src/attributes/svg_feGaussianBlur.json +86 -38
  163. package/src/attributes/svg_feImage.json +98 -31
  164. package/src/attributes/svg_feMerge.json +76 -15
  165. package/src/attributes/svg_feMergeNode.json +6 -19
  166. package/src/attributes/svg_feMorphology.json +88 -39
  167. package/src/attributes/svg_feOffset.json +87 -39
  168. package/src/attributes/svg_fePointLight.json +21 -15
  169. package/src/attributes/svg_feSpecularLighting.json +96 -47
  170. package/src/attributes/svg_feSpotLight.json +52 -58
  171. package/src/attributes/svg_feTile.json +76 -31
  172. package/src/attributes/svg_feTurbulence.json +101 -33
  173. package/src/attributes/svg_filter.json +103 -27
  174. package/src/attributes/svg_foreignObject.json +84 -38
  175. package/src/attributes/svg_g.json +80 -8
  176. package/src/attributes/svg_hatch.json +103 -29
  177. package/src/attributes/svg_hatchpath.json +79 -11
  178. package/src/attributes/svg_image.json +98 -46
  179. package/src/attributes/svg_line.json +105 -27
  180. package/src/attributes/svg_linearGradient.json +118 -37
  181. package/src/attributes/svg_marker.json +125 -44
  182. package/src/attributes/svg_mask.json +89 -22
  183. package/src/attributes/svg_mesh.json +83 -10
  184. package/src/attributes/svg_meshgradient.json +22 -29
  185. package/src/attributes/svg_meshpatch.json +76 -1
  186. package/src/attributes/svg_meshrow.json +76 -1
  187. package/src/attributes/svg_metadata.json +7 -1
  188. package/src/attributes/svg_mpath.json +11 -8
  189. package/src/attributes/svg_path.json +87 -15
  190. package/src/attributes/svg_pattern.json +110 -46
  191. package/src/attributes/svg_polygon.json +89 -14
  192. package/src/attributes/svg_polyline.json +89 -14
  193. package/src/attributes/svg_radialGradient.json +132 -49
  194. package/src/attributes/svg_rect.json +91 -51
  195. package/src/attributes/svg_script.json +20 -17
  196. package/src/attributes/svg_set.json +27 -13
  197. package/src/attributes/svg_stop.json +93 -18
  198. package/src/attributes/svg_style.json +16 -13
  199. package/src/attributes/svg_svg.json +115 -62
  200. package/src/attributes/svg_switch.json +80 -8
  201. package/src/attributes/svg_symbol.json +27 -44
  202. package/src/attributes/svg_text.json +115 -32
  203. package/src/attributes/svg_textPath.json +124 -37
  204. package/src/attributes/svg_title.json +7 -1
  205. package/src/attributes/svg_tspan.json +111 -32
  206. package/src/attributes/svg_use.json +88 -46
  207. package/src/attributes/svg_view.json +21 -17
  208. package/src/attributes/table.json +11 -0
  209. package/src/attributes/tbody.json +11 -0
  210. package/src/attributes/td.json +9 -14
  211. package/src/attributes/template.json +11 -0
  212. package/src/attributes/textarea.json +42 -50
  213. package/src/attributes/tfoot.json +11 -0
  214. package/src/attributes/th.json +18 -20
  215. package/src/attributes/thead.json +11 -0
  216. package/src/attributes/time.json +12 -23
  217. package/src/attributes/title.json +11 -0
  218. package/src/attributes/tr.json +11 -0
  219. package/src/attributes/track.json +38 -0
  220. package/src/attributes/u.json +11 -0
  221. package/src/attributes/ul.json +11 -0
  222. package/src/attributes/var.json +11 -0
  223. package/src/attributes/video.json +34 -48
  224. package/src/attributes/wbr.json +11 -0
  225. package/src/global-attributes/_global.json +1362 -1161
  226. package/src/permitted-structures/svg_a.json +1 -1
  227. package/src/structure.test.ts +64 -0
  228. package/src/attributes/_custom.json +0 -10
@@ -1,79 +1,136 @@
1
1
  {
2
2
  "tag": "feConvolveMatrix",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- "#SVGPresentationAttrs",
6
- "#SVGFilterPrimitiveAttrs",
7
- {
8
- "name": "in",
9
- "type": [
10
- {
11
- "enum": [
12
- "SourceGraphic",
13
- "SourceAlpha",
14
- "BackgroundImage",
15
- "BackgroundAlpha",
16
- "FillPaint",
17
- "StrokePaint"
18
- ]
19
- },
20
- "CSSCustomIdent"
21
- ]
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feConvolveMatrixElement",
4
+ "global": {
5
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
6
+ "#SVGPresentationAttrs": [
7
+ "alignment-baseline",
8
+ "baseline-shift",
9
+ "clip",
10
+ "clip-path",
11
+ "clip-rule",
12
+ "color",
13
+ "color-interpolation",
14
+ "color-interpolation-filters",
15
+ "color-rendering",
16
+ "cursor",
17
+ "direction",
18
+ "display",
19
+ "dominant-baseline",
20
+ "enable-background",
21
+ "fill",
22
+ "fill-opacity",
23
+ "fill-rule",
24
+ "filter",
25
+ "flood-color",
26
+ "flood-opacity",
27
+ "font",
28
+ "font-family",
29
+ "font-size",
30
+ "font-size-adjust",
31
+ "font-stretch",
32
+ "font-style",
33
+ "font-variant",
34
+ "font-weight",
35
+ "glyph-orientation-horizontal",
36
+ "glyph-orientation-vertical",
37
+ "image-rendering",
38
+ "isolation",
39
+ "kerning",
40
+ "letter-spacing",
41
+ "lighting-color",
42
+ "marker",
43
+ "marker-end",
44
+ "marker-mid",
45
+ "marker-start",
46
+ "mask",
47
+ "mask-type",
48
+ "opacity",
49
+ "overflow",
50
+ "paint-order",
51
+ "pointer-events",
52
+ "shape-rendering",
53
+ "stop-color",
54
+ "stop-opacity",
55
+ "stroke",
56
+ "stroke-dasharray",
57
+ "stroke-dashoffset",
58
+ "stroke-linecap",
59
+ "stroke-linejoin",
60
+ "stroke-miterlimit",
61
+ "stroke-opacity",
62
+ "stroke-width",
63
+ "text-anchor",
64
+ "text-decoration",
65
+ "text-overflow",
66
+ "text-rendering",
67
+ "transform",
68
+ "transform-origin",
69
+ "unicode-bidi",
70
+ "vector-effect",
71
+ "visibility",
72
+ "white-space",
73
+ "word-spacing",
74
+ "writing-mode"
75
+ ],
76
+ "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result", "in"]
77
+ },
78
+ "attributes": {
79
+ "order": {
80
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-order",
81
+ "type": "<number-optional-number>",
82
+ "defaultValue": "3",
83
+ "animatable": true
22
84
  },
23
- {
24
- "name": "order",
25
- "type": "SVGNumberOptionalNumber",
26
- "defaultValue": "3"
85
+ "kernelMatrix": {
86
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-kernelmatrix",
87
+ "type": "<list-of-numbers>",
88
+ "animatable": true
27
89
  },
28
- {
29
- "name": "kernelMatrix",
30
- "type": "SVGKernelMatrix"
90
+ "divisor": {
91
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-divisor",
92
+ "type": "<number>",
93
+ "animatable": true
31
94
  },
32
- {
33
- "name": "divisor",
34
- "type": "Float"
95
+ "bias": {
96
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-bias",
97
+ "type": "<number>",
98
+ "defaultValue": "0",
99
+ "animatable": true
35
100
  },
36
- {
37
- "name": "bias",
38
- "type": "Float",
39
- "defaultValue": "0"
101
+ "targetX": {
102
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-targetx",
103
+ "type": "<integer>",
104
+ "animatable": true
40
105
  },
41
- {
42
- "name": "targetX",
43
- "type": "Int"
106
+ "targetY": {
107
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-targety",
108
+ "type": "<integer>",
109
+ "animatable": true
44
110
  },
45
- {
46
- "name": "targetY",
47
- "type": "Int"
48
- },
49
- {
50
- "name": "edgeMode",
111
+ "edgeMode": {
112
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-edgemode",
51
113
  "type": {
52
- "enum": ["duplicate", "wrap", "none"]
114
+ "enum": ["duplicate", "wrap", "none"],
115
+ "disallowToSurroundBySpaces": false
53
116
  },
54
- "defaultValue": "duplicate"
117
+ "defaultValue": "duplicate",
118
+ "animatable": true
55
119
  },
56
- {
57
- "name": "kernelUnitLength",
58
- "type": "SVGNumberOptionalNumber",
120
+ "kernelUnitLength": {
121
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-kernelunitlength",
122
+ "type": "<number-optional-number>",
123
+ "animatable": true,
59
124
  "deprecated": true
60
125
  },
61
- {
62
- "name": "preserveAlpha",
126
+ "preserveAlpha": {
127
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feconvolvematrix-preservealpha",
63
128
  "type": {
64
- "enum": ["true", "false"]
129
+ "enum": ["true", "false"],
130
+ "disallowToSurroundBySpaces": false
65
131
  },
66
- "defaultValue": "false"
67
- },
68
- {
69
- "name": "height",
70
- "type": ["SVGLength", "SVGPercentage"],
71
- "defaultValue": "100%"
72
- },
73
- {
74
- "name": "width",
75
- "type": ["SVGLength", "SVGPercentage"],
76
- "defaultValue": "100%"
132
+ "defaultValue": "false",
133
+ "animatable": true
77
134
  }
78
- ]
135
+ }
79
136
  }
@@ -1,49 +1,98 @@
1
1
  {
2
2
  "tag": "feDiffuseLighting",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- "#SVGPresentationAttrs",
6
- "#SVGFilterPrimitiveAttrs",
7
- {
8
- "name": "in",
9
- "type": [
10
- {
11
- "enum": [
12
- "SourceGraphic",
13
- "SourceAlpha",
14
- "BackgroundImage",
15
- "BackgroundAlpha",
16
- "FillPaint",
17
- "StrokePaint"
18
- ]
19
- },
20
- "CSSCustomIdent"
21
- ]
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feDiffuseLightingElement",
4
+ "global": {
5
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
6
+ "#SVGPresentationAttrs": [
7
+ "alignment-baseline",
8
+ "baseline-shift",
9
+ "clip",
10
+ "clip-path",
11
+ "clip-rule",
12
+ "color",
13
+ "color-interpolation",
14
+ "color-interpolation-filters",
15
+ "color-rendering",
16
+ "cursor",
17
+ "direction",
18
+ "display",
19
+ "dominant-baseline",
20
+ "enable-background",
21
+ "fill",
22
+ "fill-opacity",
23
+ "fill-rule",
24
+ "filter",
25
+ "flood-color",
26
+ "flood-opacity",
27
+ "font",
28
+ "font-family",
29
+ "font-size",
30
+ "font-size-adjust",
31
+ "font-stretch",
32
+ "font-style",
33
+ "font-variant",
34
+ "font-weight",
35
+ "glyph-orientation-horizontal",
36
+ "glyph-orientation-vertical",
37
+ "image-rendering",
38
+ "isolation",
39
+ "kerning",
40
+ "letter-spacing",
41
+ "lighting-color",
42
+ "marker",
43
+ "marker-end",
44
+ "marker-mid",
45
+ "marker-start",
46
+ "mask",
47
+ "mask-type",
48
+ "opacity",
49
+ "overflow",
50
+ "paint-order",
51
+ "pointer-events",
52
+ "shape-rendering",
53
+ "stop-color",
54
+ "stop-opacity",
55
+ "stroke",
56
+ "stroke-dasharray",
57
+ "stroke-dashoffset",
58
+ "stroke-linecap",
59
+ "stroke-linejoin",
60
+ "stroke-miterlimit",
61
+ "stroke-opacity",
62
+ "stroke-width",
63
+ "text-anchor",
64
+ "text-decoration",
65
+ "text-overflow",
66
+ "text-rendering",
67
+ "transform",
68
+ "transform-origin",
69
+ "unicode-bidi",
70
+ "vector-effect",
71
+ "visibility",
72
+ "white-space",
73
+ "word-spacing",
74
+ "writing-mode"
75
+ ],
76
+ "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result", "in"]
77
+ },
78
+ "attributes": {
79
+ "surfaceScale": {
80
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fediffuselighting-surfacescale",
81
+ "type": "<number>",
82
+ "defaultValue": "1",
83
+ "animatable": true
22
84
  },
23
- {
24
- "name": "surfaceScale",
25
- "type": "Float",
26
- "defaultValue": "1"
85
+ "diffuseConstant": {
86
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fediffuselighting-diffuseconstant",
87
+ "type": "<number>",
88
+ "defaultValue": "1",
89
+ "animatable": true
27
90
  },
28
- {
29
- "name": "diffuseConstant",
30
- "type": "Float",
31
- "defaultValue": "1"
32
- },
33
- {
34
- "name": "kernelUnitLength",
35
- "type": "SVGNumberOptionalNumber",
91
+ "kernelUnitLength": {
92
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fediffuselighting-kernelunitlength",
93
+ "type": "<number-optional-number>",
94
+ "animatable": true,
36
95
  "deprecated": true
37
- },
38
- {
39
- "name": "height",
40
- "type": ["SVGLength", "SVGPercentage"],
41
- "defaultValue": "100%"
42
- },
43
- {
44
- "name": "width",
45
- "type": ["SVGLength", "SVGPercentage"],
46
- "defaultValue": "100%"
47
96
  }
48
- ]
97
+ }
49
98
  }
@@ -1,11 +1,83 @@
1
1
  {
2
2
  "tag": "feDisplacementMap",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- "#SVGPresentationAttrs",
6
- "#SVGFilterPrimitiveAttrs",
7
- {
8
- "name": "in",
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feDisplacementMapElement",
4
+ "global": {
5
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
6
+ "#SVGPresentationAttrs": [
7
+ "alignment-baseline",
8
+ "baseline-shift",
9
+ "clip",
10
+ "clip-path",
11
+ "clip-rule",
12
+ "color",
13
+ "color-interpolation",
14
+ "color-interpolation-filters",
15
+ "color-rendering",
16
+ "cursor",
17
+ "direction",
18
+ "display",
19
+ "dominant-baseline",
20
+ "enable-background",
21
+ "fill",
22
+ "fill-opacity",
23
+ "fill-rule",
24
+ "filter",
25
+ "flood-color",
26
+ "flood-opacity",
27
+ "font",
28
+ "font-family",
29
+ "font-size",
30
+ "font-size-adjust",
31
+ "font-stretch",
32
+ "font-style",
33
+ "font-variant",
34
+ "font-weight",
35
+ "glyph-orientation-horizontal",
36
+ "glyph-orientation-vertical",
37
+ "image-rendering",
38
+ "isolation",
39
+ "kerning",
40
+ "letter-spacing",
41
+ "lighting-color",
42
+ "marker",
43
+ "marker-end",
44
+ "marker-mid",
45
+ "marker-start",
46
+ "mask",
47
+ "mask-type",
48
+ "opacity",
49
+ "overflow",
50
+ "paint-order",
51
+ "pointer-events",
52
+ "shape-rendering",
53
+ "stop-color",
54
+ "stop-opacity",
55
+ "stroke",
56
+ "stroke-dasharray",
57
+ "stroke-dashoffset",
58
+ "stroke-linecap",
59
+ "stroke-linejoin",
60
+ "stroke-miterlimit",
61
+ "stroke-opacity",
62
+ "stroke-width",
63
+ "text-anchor",
64
+ "text-decoration",
65
+ "text-overflow",
66
+ "text-rendering",
67
+ "transform",
68
+ "transform-origin",
69
+ "unicode-bidi",
70
+ "vector-effect",
71
+ "visibility",
72
+ "white-space",
73
+ "word-spacing",
74
+ "writing-mode"
75
+ ],
76
+ "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result"]
77
+ },
78
+ "attributes": {
79
+ "in2": {
80
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-in2",
9
81
  "type": [
10
82
  {
11
83
  "enum": [
@@ -15,54 +87,36 @@
15
87
  "BackgroundAlpha",
16
88
  "FillPaint",
17
89
  "StrokePaint"
18
- ]
90
+ ],
91
+ "disallowToSurroundBySpaces": false
19
92
  },
20
- "CSSCustomIdent"
21
- ]
93
+ "<custom-ident>"
94
+ ],
95
+ "animatable": true
22
96
  },
23
- {
24
- "name": "in2",
25
- "type": [
26
- {
27
- "enum": [
28
- "SourceGraphic",
29
- "SourceAlpha",
30
- "BackgroundImage",
31
- "BackgroundAlpha",
32
- "FillPaint",
33
- "StrokePaint"
34
- ]
35
- },
36
- "CSSCustomIdent"
37
- ]
97
+ "scale": {
98
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-scale",
99
+ "type": "<number>",
100
+ "defaultValue": "0",
101
+ "animatable": true
38
102
  },
39
- {
40
- "name": "scale",
41
- "type": "Float"
42
- },
43
- {
44
- "name": "xChannelSelector",
103
+ "xChannelSelector": {
104
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-xchannelselector",
45
105
  "type": {
46
- "enum": ["R", "G", "B", "A"]
106
+ "enum": ["R", "G", "B", "A"],
107
+ "disallowToSurroundBySpaces": false
47
108
  },
48
- "defaultValue": "A"
109
+ "defaultValue": "A",
110
+ "animatable": true
49
111
  },
50
- {
51
- "name": "yChannelSelector",
112
+ "yChannelSelector": {
113
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-ychannelselector",
52
114
  "type": {
53
- "enum": ["R", "G", "B", "A"]
115
+ "enum": ["R", "G", "B", "A"],
116
+ "disallowToSurroundBySpaces": false
54
117
  },
55
- "defaultValue": "A"
56
- },
57
- {
58
- "name": "height",
59
- "type": ["SVGLength", "SVGPercentage"],
60
- "defaultValue": "100%"
61
- },
62
- {
63
- "name": "width",
64
- "type": ["SVGLength", "SVGPercentage"],
65
- "defaultValue": "100%"
118
+ "defaultValue": "A",
119
+ "animatable": true
66
120
  }
67
- ]
121
+ }
68
122
  }
@@ -1,16 +1,21 @@
1
1
  {
2
2
  "tag": "feDistantLight",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- {
6
- "name": "azimuth",
7
- "type": "Float",
8
- "defaultValue": "0"
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feDistantLightElement",
4
+ "global": {
5
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space"]
6
+ },
7
+ "attributes": {
8
+ "azimuth": {
9
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedistantlight-azimuth",
10
+ "type": "<number>",
11
+ "defaultValue": "0",
12
+ "animatable": true
9
13
  },
10
- {
11
- "name": "elevation",
12
- "type": "Float",
13
- "defaultValue": "0"
14
+ "elevation": {
15
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedistantlight-elevation",
16
+ "type": "<number>",
17
+ "defaultValue": "0",
18
+ "animatable": true
14
19
  }
15
- ]
20
+ }
16
21
  }
@@ -1,49 +1,98 @@
1
1
  {
2
2
  "tag": "feDropShadow",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- "#SVGPresentationAttrs",
6
- "#SVGFilterPrimitiveAttrs",
7
- {
8
- "name": "in",
9
- "type": [
10
- {
11
- "enum": [
12
- "SourceGraphic",
13
- "SourceAlpha",
14
- "BackgroundImage",
15
- "BackgroundAlpha",
16
- "FillPaint",
17
- "StrokePaint"
18
- ]
19
- },
20
- "CSSCustomIdent"
21
- ]
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feDropShadowElement",
4
+ "global": {
5
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
6
+ "#SVGPresentationAttrs": [
7
+ "alignment-baseline",
8
+ "baseline-shift",
9
+ "clip",
10
+ "clip-path",
11
+ "clip-rule",
12
+ "color",
13
+ "color-interpolation",
14
+ "color-interpolation-filters",
15
+ "color-rendering",
16
+ "cursor",
17
+ "direction",
18
+ "display",
19
+ "dominant-baseline",
20
+ "enable-background",
21
+ "fill",
22
+ "fill-opacity",
23
+ "fill-rule",
24
+ "filter",
25
+ "flood-color",
26
+ "flood-opacity",
27
+ "font",
28
+ "font-family",
29
+ "font-size",
30
+ "font-size-adjust",
31
+ "font-stretch",
32
+ "font-style",
33
+ "font-variant",
34
+ "font-weight",
35
+ "glyph-orientation-horizontal",
36
+ "glyph-orientation-vertical",
37
+ "image-rendering",
38
+ "isolation",
39
+ "kerning",
40
+ "letter-spacing",
41
+ "lighting-color",
42
+ "marker",
43
+ "marker-end",
44
+ "marker-mid",
45
+ "marker-start",
46
+ "mask",
47
+ "mask-type",
48
+ "opacity",
49
+ "overflow",
50
+ "paint-order",
51
+ "pointer-events",
52
+ "shape-rendering",
53
+ "stop-color",
54
+ "stop-opacity",
55
+ "stroke",
56
+ "stroke-dasharray",
57
+ "stroke-dashoffset",
58
+ "stroke-linecap",
59
+ "stroke-linejoin",
60
+ "stroke-miterlimit",
61
+ "stroke-opacity",
62
+ "stroke-width",
63
+ "text-anchor",
64
+ "text-decoration",
65
+ "text-overflow",
66
+ "text-rendering",
67
+ "transform",
68
+ "transform-origin",
69
+ "unicode-bidi",
70
+ "vector-effect",
71
+ "visibility",
72
+ "white-space",
73
+ "word-spacing",
74
+ "writing-mode"
75
+ ],
76
+ "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result", "in"]
77
+ },
78
+ "attributes": {
79
+ "stdDeviation": {
80
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedropshadow-stddeviation",
81
+ "type": "<number-optional-number>",
82
+ "defaultValue": "2",
83
+ "animatable": true
22
84
  },
23
- {
24
- "name": "stdDeviation",
25
- "type": "SVGNumberOptionalNumber",
26
- "defaultValue": "0"
85
+ "dx": {
86
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedropshadow-dx",
87
+ "type": "<number>",
88
+ "defaultValue": "2",
89
+ "animatable": true
27
90
  },
28
- {
29
- "name": "dx",
30
- "type": "Float",
31
- "defaultValue": "2"
32
- },
33
- {
34
- "name": "dy",
35
- "type": "Float",
36
- "defaultValue": "2"
37
- },
38
- {
39
- "name": "height",
40
- "type": ["SVGLength", "SVGPercentage"],
41
- "defaultValue": "100%"
42
- },
43
- {
44
- "name": "width",
45
- "type": ["SVGLength", "SVGPercentage"],
46
- "defaultValue": "100%"
91
+ "dy": {
92
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedropshadow-dy",
93
+ "type": "<number>",
94
+ "defaultValue": "2",
95
+ "animatable": true
47
96
  }
48
- ]
97
+ }
49
98
  }