@markuplint/html-spec 2.0.0-dev.20211115.1 → 2.0.0-dev.20211213.2

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 (187) hide show
  1. package/index.json +8548 -5690
  2. package/package.json +5 -3
  3. package/src/attributes/a.json +9 -40
  4. package/src/attributes/address.json +11 -0
  5. package/src/attributes/area.json +24 -44
  6. package/src/attributes/article.json +11 -0
  7. package/src/attributes/aside.json +11 -0
  8. package/src/attributes/audio.json +10 -32
  9. package/src/attributes/b.json +11 -0
  10. package/src/attributes/base.json +9 -13
  11. package/src/attributes/bdi.json +11 -0
  12. package/src/attributes/bdo.json +8 -8
  13. package/src/attributes/blockquote.json +11 -4
  14. package/src/attributes/body.json +57 -50
  15. package/src/attributes/br.json +11 -0
  16. package/src/attributes/button.json +27 -44
  17. package/src/attributes/canvas.json +16 -8
  18. package/src/attributes/caption.json +11 -0
  19. package/src/attributes/cite.json +11 -0
  20. package/src/attributes/code.json +11 -0
  21. package/src/attributes/col.json +18 -5
  22. package/src/attributes/colgroup.json +18 -5
  23. package/src/attributes/data.json +12 -5
  24. package/src/attributes/datalist.json +11 -0
  25. package/src/attributes/dd.json +11 -0
  26. package/src/attributes/del.json +14 -7
  27. package/src/attributes/details.json +11 -9
  28. package/src/attributes/dfn.json +11 -0
  29. package/src/attributes/dialog.json +15 -4
  30. package/src/attributes/div.json +11 -0
  31. package/src/attributes/dl.json +11 -0
  32. package/src/attributes/dt.json +11 -0
  33. package/src/attributes/em.json +11 -0
  34. package/src/attributes/embed.json +22 -16
  35. package/src/attributes/fieldset.json +9 -14
  36. package/src/attributes/figcaption.json +11 -0
  37. package/src/attributes/figure.json +11 -0
  38. package/src/attributes/footer.json +11 -0
  39. package/src/attributes/form.json +62 -29
  40. package/src/attributes/h1.json +11 -0
  41. package/src/attributes/h2.json +11 -0
  42. package/src/attributes/h3.json +11 -0
  43. package/src/attributes/h4.json +11 -0
  44. package/src/attributes/h5.json +11 -0
  45. package/src/attributes/h6.json +11 -0
  46. package/src/attributes/head.json +11 -0
  47. package/src/attributes/header.json +11 -0
  48. package/src/attributes/hr.json +11 -0
  49. package/src/attributes/html.json +11 -0
  50. package/src/attributes/i.json +11 -0
  51. package/src/attributes/iframe.json +51 -57
  52. package/src/attributes/img.json +31 -50
  53. package/src/attributes/input.json +138 -121
  54. package/src/attributes/ins.json +14 -7
  55. package/src/attributes/kbd.json +11 -0
  56. package/src/attributes/label.json +11 -8
  57. package/src/attributes/legend.json +11 -0
  58. package/src/attributes/li.json +12 -5
  59. package/src/attributes/link.json +110 -51
  60. package/src/attributes/main.json +11 -0
  61. package/src/attributes/map.json +13 -5
  62. package/src/attributes/mark.json +11 -0
  63. package/src/attributes/menu.json +11 -0
  64. package/src/attributes/meta.json +36 -21
  65. package/src/attributes/meter.json +27 -20
  66. package/src/attributes/nav.json +11 -0
  67. package/src/attributes/noscript.json +11 -0
  68. package/src/attributes/object.json +20 -27
  69. package/src/attributes/ol.json +19 -9
  70. package/src/attributes/optgroup.json +13 -9
  71. package/src/attributes/option.json +18 -14
  72. package/src/attributes/output.json +12 -12
  73. package/src/attributes/p.json +11 -0
  74. package/src/attributes/param.json +17 -8
  75. package/src/attributes/picture.json +11 -0
  76. package/src/attributes/portal.json +17 -8
  77. package/src/attributes/pre.json +11 -0
  78. package/src/attributes/progress.json +16 -8
  79. package/src/attributes/q.json +11 -4
  80. package/src/attributes/rp.json +11 -0
  81. package/src/attributes/rt.json +11 -0
  82. package/src/attributes/ruby.json +11 -0
  83. package/src/attributes/s.json +11 -0
  84. package/src/attributes/samp.json +11 -0
  85. package/src/attributes/script.json +48 -27
  86. package/src/attributes/section.json +11 -0
  87. package/src/attributes/select.json +17 -29
  88. package/src/attributes/slot.json +12 -5
  89. package/src/attributes/small.json +11 -0
  90. package/src/attributes/source.json +34 -16
  91. package/src/attributes/span.json +11 -0
  92. package/src/attributes/strong.json +11 -0
  93. package/src/attributes/style.json +12 -5
  94. package/src/attributes/sub.json +11 -0
  95. package/src/attributes/summary.json +11 -0
  96. package/src/attributes/sup.json +11 -0
  97. package/src/attributes/svg_a.json +81 -47
  98. package/src/attributes/svg_animate.json +93 -13
  99. package/src/attributes/svg_animateMotion.json +36 -32
  100. package/src/attributes/svg_animateTransform.json +27 -14
  101. package/src/attributes/svg_circle.json +87 -26
  102. package/src/attributes/svg_clipPath.json +79 -15
  103. package/src/attributes/svg_defs.json +76 -1
  104. package/src/attributes/svg_desc.json +7 -1
  105. package/src/attributes/svg_discard.json +13 -10
  106. package/src/attributes/svg_ellipse.json +88 -27
  107. package/src/attributes/svg_feBlend.json +88 -40
  108. package/src/attributes/svg_feColorMatrix.json +85 -38
  109. package/src/attributes/svg_feComponentTransfer.json +75 -31
  110. package/src/attributes/svg_feComposite.json +113 -56
  111. package/src/attributes/svg_feConvolveMatrix.json +118 -62
  112. package/src/attributes/svg_feDiffuseLighting.json +90 -42
  113. package/src/attributes/svg_feDisplacementMap.json +100 -47
  114. package/src/attributes/svg_feDistantLight.json +16 -11
  115. package/src/attributes/svg_feDropShadow.json +91 -43
  116. package/src/attributes/svg_feFlood.json +82 -37
  117. package/src/attributes/svg_feFuncA.json +6 -10
  118. package/src/attributes/svg_feFuncB.json +6 -10
  119. package/src/attributes/svg_feFuncG.json +6 -10
  120. package/src/attributes/svg_feFuncR.json +6 -10
  121. package/src/attributes/svg_feGaussianBlur.json +85 -38
  122. package/src/attributes/svg_feImage.json +97 -31
  123. package/src/attributes/svg_feMerge.json +75 -15
  124. package/src/attributes/svg_feMergeNode.json +6 -19
  125. package/src/attributes/svg_feMorphology.json +87 -39
  126. package/src/attributes/svg_feOffset.json +86 -39
  127. package/src/attributes/svg_fePointLight.json +21 -15
  128. package/src/attributes/svg_feSpecularLighting.json +95 -47
  129. package/src/attributes/svg_feSpotLight.json +52 -58
  130. package/src/attributes/svg_feTile.json +75 -31
  131. package/src/attributes/svg_feTurbulence.json +100 -33
  132. package/src/attributes/svg_filter.json +102 -27
  133. package/src/attributes/svg_foreignObject.json +83 -38
  134. package/src/attributes/svg_g.json +79 -8
  135. package/src/attributes/svg_hatch.json +103 -29
  136. package/src/attributes/svg_hatchpath.json +79 -11
  137. package/src/attributes/svg_image.json +97 -46
  138. package/src/attributes/svg_line.json +104 -27
  139. package/src/attributes/svg_linearGradient.json +118 -37
  140. package/src/attributes/svg_marker.json +124 -44
  141. package/src/attributes/svg_mask.json +89 -22
  142. package/src/attributes/svg_mesh.json +82 -10
  143. package/src/attributes/svg_meshgradient.json +22 -29
  144. package/src/attributes/svg_meshpatch.json +75 -1
  145. package/src/attributes/svg_meshrow.json +75 -1
  146. package/src/attributes/svg_metadata.json +7 -1
  147. package/src/attributes/svg_mpath.json +11 -8
  148. package/src/attributes/svg_path.json +86 -15
  149. package/src/attributes/svg_pattern.json +110 -46
  150. package/src/attributes/svg_polygon.json +88 -14
  151. package/src/attributes/svg_polyline.json +88 -14
  152. package/src/attributes/svg_radialGradient.json +132 -49
  153. package/src/attributes/svg_rect.json +90 -51
  154. package/src/attributes/svg_script.json +20 -17
  155. package/src/attributes/svg_set.json +27 -13
  156. package/src/attributes/svg_stop.json +92 -18
  157. package/src/attributes/svg_style.json +16 -13
  158. package/src/attributes/svg_svg.json +114 -62
  159. package/src/attributes/svg_switch.json +79 -8
  160. package/src/attributes/svg_symbol.json +27 -44
  161. package/src/attributes/svg_text.json +114 -32
  162. package/src/attributes/svg_textPath.json +123 -37
  163. package/src/attributes/svg_title.json +7 -1
  164. package/src/attributes/svg_tspan.json +110 -32
  165. package/src/attributes/svg_use.json +87 -46
  166. package/src/attributes/svg_view.json +21 -17
  167. package/src/attributes/table.json +11 -0
  168. package/src/attributes/tbody.json +11 -0
  169. package/src/attributes/td.json +9 -14
  170. package/src/attributes/template.json +11 -0
  171. package/src/attributes/textarea.json +42 -50
  172. package/src/attributes/tfoot.json +11 -0
  173. package/src/attributes/th.json +18 -20
  174. package/src/attributes/thead.json +11 -0
  175. package/src/attributes/time.json +12 -23
  176. package/src/attributes/title.json +11 -0
  177. package/src/attributes/tr.json +11 -0
  178. package/src/attributes/track.json +38 -0
  179. package/src/attributes/u.json +11 -0
  180. package/src/attributes/ul.json +11 -0
  181. package/src/attributes/var.json +11 -0
  182. package/src/attributes/video.json +34 -48
  183. package/src/attributes/wbr.json +11 -0
  184. package/src/global-attributes/_global.json +1334 -1161
  185. package/src/permitted-structures/svg_a.json +1 -1
  186. package/src/structure.test.ts +64 -0
  187. package/src/attributes/_custom.json +0 -10
@@ -1,21 +1,27 @@
1
1
  {
2
2
  "tag": "fePointLight",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- {
6
- "name": "x",
7
- "type": "Float",
8
- "defaultValue": "0"
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#fePointLightElement",
4
+ "global": {
5
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space"]
6
+ },
7
+ "attributes": {
8
+ "x": {
9
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fepointlight-x",
10
+ "type": "<number>",
11
+ "defaultValue": "0",
12
+ "animatable": true
9
13
  },
10
- {
11
- "name": "y",
12
- "type": "Float",
13
- "defaultValue": "0"
14
+ "y": {
15
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fepointlight-y",
16
+ "type": "<number>",
17
+ "defaultValue": "0",
18
+ "animatable": true
14
19
  },
15
- {
16
- "name": "z",
17
- "type": "Float",
18
- "defaultValue": "1"
20
+ "z": {
21
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fepointlight-z",
22
+ "type": "<number>",
23
+ "defaultValue": "0",
24
+ "animatable": true
19
25
  }
20
- ]
26
+ }
21
27
  }
@@ -1,54 +1,102 @@
1
1
  {
2
2
  "tag": "feSpecularLighting",
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/#feSpecularLightingElement",
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-origin",
68
+ "unicode-bidi",
69
+ "vector-effect",
70
+ "visibility",
71
+ "white-space",
72
+ "word-spacing",
73
+ "writing-mode"
74
+ ],
75
+ "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result", "in"]
76
+ },
77
+ "attributes": {
78
+ "surfaceScale": {
79
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespecularlighting-surfacescale",
80
+ "type": "<number>",
81
+ "defaultValue": "1",
82
+ "animatable": true
22
83
  },
23
- {
24
- "name": "surfaceScale",
25
- "type": "Float",
26
- "defaultValue": "1"
84
+ "specularConstant": {
85
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespecularlighting-specularconstant",
86
+ "type": "<number>",
87
+ "defaultValue": "1",
88
+ "animatable": true
27
89
  },
28
- {
29
- "name": "specularConstant",
30
- "type": "Float",
31
- "defaultValue": "1"
90
+ "specularExponent": {
91
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespecularlighting-specularexponent",
92
+ "type": "<number>",
93
+ "defaultValue": "1",
94
+ "animatable": true
32
95
  },
33
- {
34
- "name": "specularExponent",
35
- "type": "Float",
36
- "defaultValue": "1"
37
- },
38
- {
39
- "name": "kernelUnitLength",
40
- "type": "SVGNumberOptionalNumber",
41
- "deprecated": true
42
- },
43
- {
44
- "name": "height",
45
- "type": ["SVGLength", "SVGPercentage"],
46
- "defaultValue": "100%"
47
- },
48
- {
49
- "name": "width",
50
- "type": ["SVGLength", "SVGPercentage"],
51
- "defaultValue": "100%"
96
+ "kernelUnitLength": {
97
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespecularlighting-kernelunitlength",
98
+ "type": "<number-optional-number>",
99
+ "animatable": true
52
100
  }
53
- ]
101
+ }
54
102
  }
@@ -1,62 +1,56 @@
1
1
  {
2
2
  "tag": "feSpotLight",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- {
6
- "name": "in",
7
- "type": [
8
- {
9
- "enum": [
10
- "SourceGraphic",
11
- "SourceAlpha",
12
- "BackgroundImage",
13
- "BackgroundAlpha",
14
- "FillPaint",
15
- "StrokePaint"
16
- ]
17
- },
18
- "CSSCustomIdent"
19
- ]
20
- },
21
- {
22
- "name": "x",
23
- "type": "Float",
24
- "defaultValue": "0"
25
- },
26
- {
27
- "name": "y",
28
- "type": "Float",
29
- "defaultValue": "0"
30
- },
31
- {
32
- "name": "z",
33
- "type": "Float",
34
- "defaultValue": "1"
35
- },
36
- {
37
- "name": "pointsAtX",
38
- "type": "Float",
39
- "defaultValue": "0"
40
- },
41
- {
42
- "name": "pointsAtY",
43
- "type": "Float",
44
- "defaultValue": "0"
45
- },
46
- {
47
- "name": "pointsAtZ",
48
- "type": "Float",
49
- "defaultValue": "0"
50
- },
51
- {
52
- "name": "specularExponent",
53
- "type": "Float",
54
- "defaultValue": "1"
55
- },
56
- {
57
- "name": "limitingConeAngle",
58
- "type": "Float",
59
- "defaultValue": "0"
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feSpotLightElement",
4
+ "global": {
5
+ "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space"]
6
+ },
7
+ "attributes": {
8
+ "x": {
9
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-x",
10
+ "type": "<number>",
11
+ "defaultValue": "0",
12
+ "animatable": true
13
+ },
14
+ "y": {
15
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-y",
16
+ "type": "<number>",
17
+ "defaultValue": "0",
18
+ "animatable": true
19
+ },
20
+ "z": {
21
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-z",
22
+ "type": "<number>",
23
+ "defaultValue": "0",
24
+ "animatable": true
25
+ },
26
+ "pointsAtX": {
27
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatx",
28
+ "type": "<number>",
29
+ "defaultValue": "0",
30
+ "animatable": true
31
+ },
32
+ "pointsAtY": {
33
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsaty",
34
+ "type": "<number>",
35
+ "defaultValue": "0",
36
+ "animatable": true
37
+ },
38
+ "pointsAtZ": {
39
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatz",
40
+ "type": "<number>",
41
+ "defaultValue": "0",
42
+ "animatable": true
43
+ },
44
+ "specularExponent": {
45
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-specularexponent",
46
+ "type": "<number>",
47
+ "defaultValue": "1",
48
+ "animatable": true
49
+ },
50
+ "limitingConeAngle": {
51
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-limitingconeangle",
52
+ "type": "<number>",
53
+ "animatable": true
60
54
  }
61
- ]
55
+ }
62
56
  }
@@ -1,34 +1,78 @@
1
1
  {
2
2
  "tag": "feTile",
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
- ]
22
- },
23
- {
24
- "name": "height",
25
- "type": ["SVGLength", "SVGPercentage"],
26
- "defaultValue": "100%"
27
- },
28
- {
29
- "name": "width",
30
- "type": ["SVGLength", "SVGPercentage"],
31
- "defaultValue": "100%"
32
- }
33
- ]
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feTileElement",
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-origin",
68
+ "unicode-bidi",
69
+ "vector-effect",
70
+ "visibility",
71
+ "white-space",
72
+ "word-spacing",
73
+ "writing-mode"
74
+ ],
75
+ "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result", "in"]
76
+ },
77
+ "attributes": {}
34
78
  }
@@ -1,47 +1,114 @@
1
1
  {
2
2
  "tag": "feTurbulence",
3
- "attributes": [
4
- "#SVGCoreAttrs",
5
- "#SVGPresentationAttrs",
6
- "#SVGFilterPrimitiveAttrs",
7
- {
8
- "name": "baseFrequency",
9
- "type": "SVGNumberOptionalNumber",
10
- "defaultValue": "0"
3
+ "ref": "https://drafts.fxtf.org/filter-effects/#feTurbulenceElement",
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-origin",
68
+ "unicode-bidi",
69
+ "vector-effect",
70
+ "visibility",
71
+ "white-space",
72
+ "word-spacing",
73
+ "writing-mode"
74
+ ],
75
+ "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result"]
76
+ },
77
+ "attributes": {
78
+ "baseFrequency": {
79
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-basefrequency",
80
+ "type": "<number-optional-number>",
81
+ "_TODO_": "Negative values are unsupported",
82
+ "defaultValue": "0",
83
+ "animatable": true
11
84
  },
12
- {
13
- "name": "numOctaves",
14
- "type": "Int",
15
- "defaultValue": "1"
85
+ "numOctaves": {
86
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-numoctaves",
87
+ "type": "<positive-integer>",
88
+ "defaultValue": "1",
89
+ "animatable": true
16
90
  },
17
- {
18
- "name": "seed",
19
- "type": "Float",
20
- "defaultValue": "0"
91
+ "seed": {
92
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-seed",
93
+ "type": "<number>",
94
+ "defaultValue": "0",
95
+ "animatable": true
21
96
  },
22
- {
23
- "name": "stitchTiles",
97
+ "stitchTiles": {
98
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-stitchtiles",
24
99
  "type": {
25
100
  "enum": ["noStitch", "stitch"]
26
101
  },
27
- "defaultValue": "noStitch"
102
+ "defaultValue": "noStitch",
103
+ "animatable": true
28
104
  },
29
- {
30
- "name": "type",
105
+ "type": {
106
+ "ref": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-type",
31
107
  "type": {
32
108
  "enum": ["fractalNoise", "turbulence"]
33
109
  },
34
- "defaultValue": "turbulence"
35
- },
36
- {
37
- "name": "height",
38
- "type": ["SVGLength", "SVGPercentage"],
39
- "defaultValue": "100%"
40
- },
41
- {
42
- "name": "width",
43
- "type": ["SVGLength", "SVGPercentage"],
44
- "defaultValue": "100%"
110
+ "defaultValue": "turbulence",
111
+ "animatable": true
45
112
  }
46
- ]
113
+ }
47
114
  }