@markuplint/html-spec 3.0.0-dev.24 → 3.0.0-dev.290

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 (183) hide show
  1. package/index.d.ts +1 -1
  2. package/index.json +14776 -2258
  3. package/package.json +8 -13
  4. package/{src/structure.test.ts → test/structure.spec.mjs} +23 -13
  5. package/src/spec-common.attributes.json +0 -1650
  6. package/src/spec-common.contents.json +0 -392
  7. package/src/spec.a.json +0 -58
  8. package/src/spec.abbr.json +0 -25
  9. package/src/spec.address.json +0 -25
  10. package/src/spec.area.json +0 -64
  11. package/src/spec.article.json +0 -24
  12. package/src/spec.aside.json +0 -38
  13. package/src/spec.audio.json +0 -48
  14. package/src/spec.b.json +0 -24
  15. package/src/spec.base.json +0 -21
  16. package/src/spec.bdi.json +0 -24
  17. package/src/spec.bdo.json +0 -24
  18. package/src/spec.blockquote.json +0 -31
  19. package/src/spec.body.json +0 -100
  20. package/src/spec.br.json +0 -32
  21. package/src/spec.button.json +0 -70
  22. package/src/spec.canvas.json +0 -33
  23. package/src/spec.caption.json +0 -30
  24. package/src/spec.cite.json +0 -24
  25. package/src/spec.code.json +0 -27
  26. package/src/spec.col.json +0 -31
  27. package/src/spec.colgroup.json +0 -41
  28. package/src/spec.data.json +0 -29
  29. package/src/spec.datalist.json +0 -38
  30. package/src/spec.dd.json +0 -30
  31. package/src/spec.del.json +0 -36
  32. package/src/spec.details.json +0 -35
  33. package/src/spec.dfn.json +0 -23
  34. package/src/spec.dialog.json +0 -36
  35. package/src/spec.div.json +0 -55
  36. package/src/spec.dl.json +0 -56
  37. package/src/spec.dt.json +0 -26
  38. package/src/spec.em.json +0 -27
  39. package/src/spec.embed.json +0 -30
  40. package/src/spec.fieldset.json +0 -27
  41. package/src/spec.figcaption.json +0 -24
  42. package/src/spec.figure.json +0 -52
  43. package/src/spec.footer.json +0 -37
  44. package/src/spec.form.json +0 -100
  45. package/src/spec.h1.json +0 -26
  46. package/src/spec.h2.json +0 -26
  47. package/src/spec.h3.json +0 -26
  48. package/src/spec.h4.json +0 -26
  49. package/src/spec.h5.json +0 -26
  50. package/src/spec.h6.json +0 -26
  51. package/src/spec.head.json +0 -30
  52. package/src/spec.header.json +0 -37
  53. package/src/spec.hgroup.json +0 -45
  54. package/src/spec.hr.json +0 -23
  55. package/src/spec.html.json +0 -27
  56. package/src/spec.i.json +0 -24
  57. package/src/spec.iframe.json +0 -70
  58. package/src/spec.img.json +0 -109
  59. package/src/spec.input.json +0 -792
  60. package/src/spec.ins.json +0 -36
  61. package/src/spec.kbd.json +0 -24
  62. package/src/spec.label.json +0 -29
  63. package/src/spec.legend.json +0 -24
  64. package/src/spec.li.json +0 -40
  65. package/src/spec.link.json +0 -140
  66. package/src/spec.main.json +0 -27
  67. package/src/spec.map.json +0 -30
  68. package/src/spec.mark.json +0 -24
  69. package/src/spec.math.json +0 -20
  70. package/src/spec.menu.json +0 -53
  71. package/src/spec.meta.json +0 -59
  72. package/src/spec.meter.json +0 -62
  73. package/src/spec.nav.json +0 -26
  74. package/src/spec.noscript.json +0 -24
  75. package/src/spec.object.json +0 -40
  76. package/src/spec.ol.json +0 -71
  77. package/src/spec.optgroup.json +0 -34
  78. package/src/spec.option.json +0 -70
  79. package/src/spec.output.json +0 -29
  80. package/src/spec.p.json +0 -27
  81. package/src/spec.picture.json +0 -46
  82. package/src/spec.portal.json +0 -25
  83. package/src/spec.pre.json +0 -24
  84. package/src/spec.progress.json +0 -44
  85. package/src/spec.q.json +0 -29
  86. package/src/spec.rp.json +0 -23
  87. package/src/spec.rt.json +0 -24
  88. package/src/spec.ruby.json +0 -55
  89. package/src/spec.s.json +0 -24
  90. package/src/spec.samp.json +0 -24
  91. package/src/spec.script.json +0 -73
  92. package/src/spec.section.json +0 -73
  93. package/src/spec.select.json +0 -66
  94. package/src/spec.slot.json +0 -29
  95. package/src/spec.small.json +0 -24
  96. package/src/spec.source.json +0 -52
  97. package/src/spec.span.json +0 -24
  98. package/src/spec.strong.json +0 -27
  99. package/src/spec.style.json +0 -35
  100. package/src/spec.sub.json +0 -27
  101. package/src/spec.summary.json +0 -38
  102. package/src/spec.sup.json +0 -27
  103. package/src/spec.svg_a.json +0 -118
  104. package/src/spec.svg_animate.json +0 -109
  105. package/src/spec.svg_animateMotion.json +0 -73
  106. package/src/spec.svg_animateTransform.json +0 -47
  107. package/src/spec.svg_circle.json +0 -113
  108. package/src/spec.svg_clipPath.json +0 -108
  109. package/src/spec.svg_defs.json +0 -109
  110. package/src/spec.svg_desc.json +0 -21
  111. package/src/spec.svg_discard.json +0 -31
  112. package/src/spec.svg_ellipse.json +0 -116
  113. package/src/spec.svg_feBlend.json +0 -115
  114. package/src/spec.svg_feColorMatrix.json +0 -104
  115. package/src/spec.svg_feComponentTransfer.json +0 -97
  116. package/src/spec.svg_feComposite.json +0 -146
  117. package/src/spec.svg_feConvolveMatrix.json +0 -147
  118. package/src/spec.svg_feDiffuseLighting.json +0 -126
  119. package/src/spec.svg_feDisplacementMap.json +0 -133
  120. package/src/spec.svg_feDistantLight.json +0 -32
  121. package/src/spec.svg_feDropShadow.json +0 -109
  122. package/src/spec.svg_feFlood.json +0 -101
  123. package/src/spec.svg_feFuncA.json +0 -20
  124. package/src/spec.svg_feFuncB.json +0 -20
  125. package/src/spec.svg_feFuncG.json +0 -20
  126. package/src/spec.svg_feFuncR.json +0 -20
  127. package/src/spec.svg_feGaussianBlur.json +0 -105
  128. package/src/spec.svg_feImage.json +0 -123
  129. package/src/spec.svg_feMerge.json +0 -90
  130. package/src/spec.svg_feMergeNode.json +0 -20
  131. package/src/spec.svg_feMorphology.json +0 -106
  132. package/src/spec.svg_feOffset.json +0 -103
  133. package/src/spec.svg_fePointLight.json +0 -38
  134. package/src/spec.svg_feSpecularLighting.json +0 -131
  135. package/src/spec.svg_feSpotLight.json +0 -67
  136. package/src/spec.svg_feTile.json +0 -90
  137. package/src/spec.svg_feTurbulence.json +0 -127
  138. package/src/spec.svg_filter.json +0 -138
  139. package/src/spec.svg_foreignObject.json +0 -97
  140. package/src/spec.svg_g.json +0 -115
  141. package/src/spec.svg_image.json +0 -128
  142. package/src/spec.svg_line.json +0 -136
  143. package/src/spec.svg_linearGradient.json +0 -152
  144. package/src/spec.svg_marker.json +0 -180
  145. package/src/spec.svg_mask.json +0 -142
  146. package/src/spec.svg_metadata.json +0 -21
  147. package/src/spec.svg_mpath.json +0 -26
  148. package/src/spec.svg_path.json +0 -114
  149. package/src/spec.svg_pattern.json +0 -157
  150. package/src/spec.svg_polygon.json +0 -117
  151. package/src/spec.svg_polyline.json +0 -117
  152. package/src/spec.svg_radialGradient.json +0 -162
  153. package/src/spec.svg_rect.json +0 -118
  154. package/src/spec.svg_script.json +0 -40
  155. package/src/spec.svg_set.json +0 -42
  156. package/src/spec.svg_stop.json +0 -110
  157. package/src/spec.svg_style.json +0 -36
  158. package/src/spec.svg_svg.json +0 -170
  159. package/src/spec.svg_switch.json +0 -105
  160. package/src/spec.svg_symbol.json +0 -77
  161. package/src/spec.svg_text.json +0 -153
  162. package/src/spec.svg_textPath.json +0 -169
  163. package/src/spec.svg_title.json +0 -21
  164. package/src/spec.svg_tspan.json +0 -147
  165. package/src/spec.svg_use.json +0 -115
  166. package/src/spec.svg_view.json +0 -45
  167. package/src/spec.table.json +0 -64
  168. package/src/spec.tbody.json +0 -23
  169. package/src/spec.td.json +0 -37
  170. package/src/spec.template.json +0 -20
  171. package/src/spec.textarea.json +0 -67
  172. package/src/spec.tfoot.json +0 -23
  173. package/src/spec.th.json +0 -66
  174. package/src/spec.thead.json +0 -23
  175. package/src/spec.time.json +0 -32
  176. package/src/spec.title.json +0 -24
  177. package/src/spec.tr.json +0 -29
  178. package/src/spec.track.json +0 -54
  179. package/src/spec.u.json +0 -24
  180. package/src/spec.ul.json +0 -53
  181. package/src/spec.var.json +0 -24
  182. package/src/spec.video.json +0 -78
  183. package/src/spec.wbr.json +0 -25
@@ -1,118 +0,0 @@
1
- // https://svgwg.org/svg2-draft/shapes.html#RectElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-59
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGDescriptive)",
10
- ":model(SVGPaintServer)",
11
- "svg|clipPath",
12
- "svg|marker",
13
- "svg|mask",
14
- "svg|script",
15
- "svg|style"
16
- ]
17
- }
18
- ]
19
- },
20
- "globalAttrs": {
21
- "#HTMLGlobalAttrs": true,
22
- "#GlobalEventAttrs": true,
23
- "#DocumentElementEventAttrs": true,
24
- "#ARIAAttrs": true,
25
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
26
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
27
- "#SVGPresentationAttrs": [
28
- "x",
29
- "y",
30
- "width",
31
- "height",
32
- "rx",
33
- "ry",
34
- "alignment-baseline",
35
- "baseline-shift",
36
- "clip",
37
- "clip-path",
38
- "clip-rule",
39
- "color",
40
- "color-interpolation",
41
- "color-interpolation-filters",
42
- "color-rendering",
43
- "cursor",
44
- "direction",
45
- "display",
46
- "dominant-baseline",
47
- "enable-background",
48
- "fill",
49
- "fill-opacity",
50
- "fill-rule",
51
- "filter",
52
- "flood-color",
53
- "flood-opacity",
54
- "font",
55
- "font-family",
56
- "font-size",
57
- "font-size-adjust",
58
- "font-stretch",
59
- "font-style",
60
- "font-variant",
61
- "font-weight",
62
- "glyph-orientation-horizontal",
63
- "glyph-orientation-vertical",
64
- "image-rendering",
65
- "isolation",
66
- "kerning",
67
- "letter-spacing",
68
- "lighting-color",
69
- "marker",
70
- "marker-end",
71
- "marker-mid",
72
- "marker-start",
73
- "mask",
74
- "mask-type",
75
- "opacity",
76
- "overflow",
77
- "paint-order",
78
- "pointer-events",
79
- "shape-rendering",
80
- "stop-color",
81
- "stop-opacity",
82
- "stroke",
83
- "stroke-dasharray",
84
- "stroke-dashoffset",
85
- "stroke-linecap",
86
- "stroke-linejoin",
87
- "stroke-miterlimit",
88
- "stroke-opacity",
89
- "stroke-width",
90
- "text-anchor",
91
- "text-decoration",
92
- "text-overflow",
93
- "text-rendering",
94
- "transform",
95
- "transform-origin",
96
- "unicode-bidi",
97
- "vector-effect",
98
- "visibility",
99
- "white-space",
100
- "word-spacing",
101
- "writing-mode"
102
- ]
103
- },
104
- "attributes": {
105
- // https://svgwg.org/svg2-draft/paths.html#PathLengthAttribute
106
- "pathLength": {
107
- "type": "<number>",
108
- "animatable": true
109
- }
110
- },
111
- "aria": {
112
- "implicitRole": "graphics-symbol",
113
- "permittedRoles": {
114
- "core-aam": true,
115
- "graphics-aam": true
116
- }
117
- }
118
- }
@@ -1,40 +0,0 @@
1
- // https://svgwg.org/svg2-draft/interact.html#ScriptElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-60
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGNeverRendered)", ":model(SVGStructurallyExternal)", "#text"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#GlobalEventAttrs": true,
13
- "#DocumentElementEventAttrs": true,
14
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
15
- "#XLinkAttrs": ["xlink:href", "xlink:title"]
16
- },
17
- "attributes": {
18
- // https://svgwg.org/svg2-draft/interact.html#ScriptElementTypeAttribute
19
- "type": {
20
- "type": "MIMEType",
21
- "defaultValue": "application/ecmascript"
22
- },
23
- // https://svgwg.org/svg2-draft/interact.html#ScriptElementHrefAttribute
24
- "href": {
25
- "type": "URL"
26
- },
27
- // https://svgwg.org/svg2-draft/interact.html#ScriptElementCrossoriginAttribute
28
- "crossorigin": {
29
- "type": {
30
- "enum": ["anonymous", "use-credentials", ""],
31
- "disallowToSurroundBySpaces": false
32
- },
33
- "animatable": true
34
- }
35
- },
36
- "aria": {
37
- "implicitRole": false,
38
- "permittedRoles": false
39
- }
40
- }
@@ -1,42 +0,0 @@
1
- // https://svgwg.org/specs/animations/#SetElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-61
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#GlobalEventAttrs": true,
13
- "#DocumentElementEventAttrs": true,
14
- "#SVGAnimationEventAttrs": ["onbegin", "onend", "onrepeat"],
15
- "#SVGAnimationTargetElementAttrs": ["href"],
16
- "#SVGAnimationAttributeTargetAttrs": ["attributeName"],
17
- "#SVGAnimationTimingAttrs": [
18
- "begin",
19
- "dur",
20
- "end",
21
- "min",
22
- "max",
23
- "restart",
24
- "repeatCount",
25
- "repeatDur",
26
- "fill"
27
- ],
28
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
29
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"]
30
- },
31
- "attributes": {
32
- // https://svgwg.org/specs/animations/#SetElementToAttribute
33
- "to": {
34
- // Specifies the value for the attribute during the duration of the \"set\" element. The argument value must match the attribute type. For a list of attributes and properties that can be animated using the \"set\" element, see Elements, attributes and properties that can be animated.
35
- "type": "NoEmptyAny"
36
- }
37
- },
38
- "aria": {
39
- "implicitRole": false,
40
- "permittedRoles": false
41
- }
42
- }
@@ -1,110 +0,0 @@
1
- // https://svgwg.org/svg2-draft/pservers.html#StopElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-64
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": ["svg:animate", "svg|animateColor", "svg|script", "svg|set", "svg|style"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#GlobalEventAttrs": true,
13
- "#DocumentElementEventAttrs": true,
14
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
15
- "#SVGPresentationAttrs": [
16
- "alignment-baseline",
17
- "baseline-shift",
18
- "clip",
19
- "clip-path",
20
- "clip-rule",
21
- "color",
22
- "color-interpolation",
23
- "color-interpolation-filters",
24
- "color-rendering",
25
- "cursor",
26
- "direction",
27
- "display",
28
- "dominant-baseline",
29
- "enable-background",
30
- "fill",
31
- "fill-opacity",
32
- "fill-rule",
33
- "filter",
34
- "flood-color",
35
- "flood-opacity",
36
- "font",
37
- "font-family",
38
- "font-size",
39
- "font-size-adjust",
40
- "font-stretch",
41
- "font-style",
42
- "font-variant",
43
- "font-weight",
44
- "glyph-orientation-horizontal",
45
- "glyph-orientation-vertical",
46
- "image-rendering",
47
- "isolation",
48
- "kerning",
49
- "letter-spacing",
50
- "lighting-color",
51
- "marker",
52
- "marker-end",
53
- "marker-mid",
54
- "marker-start",
55
- "mask",
56
- "mask-type",
57
- "opacity",
58
- "overflow",
59
- "paint-order",
60
- "pointer-events",
61
- "shape-rendering",
62
- "stop-color",
63
- "stop-opacity",
64
- "stroke",
65
- "stroke-dasharray",
66
- "stroke-dashoffset",
67
- "stroke-linecap",
68
- "stroke-linejoin",
69
- "stroke-miterlimit",
70
- "stroke-opacity",
71
- "stroke-width",
72
- "text-anchor",
73
- "text-decoration",
74
- "text-overflow",
75
- "text-rendering",
76
- "transform",
77
- "transform-origin",
78
- "unicode-bidi",
79
- "vector-effect",
80
- "visibility",
81
- "white-space",
82
- "word-spacing",
83
- "writing-mode"
84
- ]
85
- },
86
- "attributes": {
87
- // https://svgwg.org/svg2-draft/pservers.html#StopElementOffsetAttribute
88
- "offset": {
89
- "type": ["<number>", "<percentage>"],
90
- "defaultValue": "0",
91
- "animatable": true
92
- },
93
- // https://svgwg.org/svg2-draft/pservers.html#StopColorProperty
94
- "stop-color": {
95
- "type": "<color>",
96
- "defaultValue": "black",
97
- "animatable": true
98
- },
99
- // https://svgwg.org/svg2-draft/pservers.html#StopOpacityProperty
100
- "stop-opacity": {
101
- "type": "<'opacity'>",
102
- "defaultValue": "1",
103
- "animatable": true
104
- }
105
- },
106
- "aria": {
107
- "implicitRole": false,
108
- "permittedRoles": false
109
- }
110
- }
@@ -1,36 +0,0 @@
1
- // https://svgwg.org/svg2-draft/styling.html#StyleElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-65
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": "#text"
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#GlobalEventAttrs": true,
13
- "#DocumentElementEventAttrs": true,
14
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"]
15
- },
16
- "attributes": {
17
- // https://svgwg.org/svg2-draft/styling.html#StyleElementTypeAttribute
18
- "type": {
19
- "type": "MIMEType",
20
- "defaultValue": "text/css"
21
- },
22
- // https://svgwg.org/svg2-draft/styling.html#StyleElementMediaAttribute
23
- "media": {
24
- "type": "<media-query-list>",
25
- "defaultValue": "all"
26
- },
27
- // https://svgwg.org/svg2-draft/styling.html#StyleElementTitleAttribute
28
- "title": {
29
- "type": "Any"
30
- }
31
- },
32
- "aria": {
33
- "implicitRole": false,
34
- "permittedRoles": false
35
- }
36
- }
@@ -1,170 +0,0 @@
1
- // https://svgwg.org/svg2-draft/struct.html#SVGElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-66
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGDescriptive)",
10
- ":model(SVGPaintServer)",
11
- ":model(SVGShape)",
12
- ":model(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
- // Removed HTML media elements: https://github.com/w3c/svgwg/issues/563
26
- // "html|video",
27
- // "html|audio",
28
- // "html|iframe",
29
- // "html|canvas"
30
- ]
31
- }
32
- ]
33
- },
34
- "globalAttrs": {
35
- "#HTMLGlobalAttrs": true,
36
- "#GlobalEventAttrs": true,
37
- "#DocumentElementEventAttrs": true,
38
- "#ARIAAttrs": true,
39
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
40
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style", "xmlns"],
41
- "#SVGPresentationAttrs": [
42
- "x",
43
- "y",
44
- "width",
45
- "height",
46
- "alignment-baseline",
47
- "baseline-shift",
48
- "clip",
49
- "clip-path",
50
- "clip-rule",
51
- "color",
52
- "color-interpolation",
53
- "color-interpolation-filters",
54
- "color-rendering",
55
- "cursor",
56
- "direction",
57
- "display",
58
- "dominant-baseline",
59
- "enable-background",
60
- "fill",
61
- "fill-opacity",
62
- "fill-rule",
63
- "filter",
64
- "flood-color",
65
- "flood-opacity",
66
- "font",
67
- "font-family",
68
- "font-size",
69
- "font-size-adjust",
70
- "font-stretch",
71
- "font-style",
72
- "font-variant",
73
- "font-weight",
74
- "glyph-orientation-horizontal",
75
- "glyph-orientation-vertical",
76
- "image-rendering",
77
- "isolation",
78
- "kerning",
79
- "letter-spacing",
80
- "lighting-color",
81
- "marker",
82
- "marker-end",
83
- "marker-mid",
84
- "marker-start",
85
- "mask",
86
- "mask-type",
87
- "opacity",
88
- "overflow",
89
- "paint-order",
90
- "pointer-events",
91
- "shape-rendering",
92
- "stop-color",
93
- "stop-opacity",
94
- "stroke",
95
- "stroke-dasharray",
96
- "stroke-dashoffset",
97
- "stroke-linecap",
98
- "stroke-linejoin",
99
- "stroke-miterlimit",
100
- "stroke-opacity",
101
- "stroke-width",
102
- "text-anchor",
103
- "text-decoration",
104
- "text-overflow",
105
- "text-rendering",
106
- "transform",
107
- "transform-origin",
108
- "unicode-bidi",
109
- "vector-effect",
110
- "visibility",
111
- "white-space",
112
- "word-spacing",
113
- "writing-mode"
114
- ]
115
- },
116
- "attributes": {
117
- // https://svgwg.org/svg2-draft/coords.html#ViewBoxAttribute
118
- "viewBox": {
119
- "type": "<view-box>",
120
- "animatable": true
121
- },
122
- // https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute
123
- "preserveAspectRatio": {
124
- "type": "<preserve-aspect-ratio>",
125
- "defaultValue": "xMidYMid meet",
126
- "animatable": true
127
- },
128
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-width
129
- "width": {
130
- "defaultValue": "auto"
131
- },
132
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitive-height
133
- "height": {
134
- "defaultValue": "auto"
135
- },
136
- // https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onunload
137
- "onunload": {
138
- "type": "FunctionBody"
139
- },
140
- // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/baseProfile
141
- "baseProfile": {
142
- "type": "Any",
143
- "deprecated": true
144
- },
145
- // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/contentScriptType
146
- "contentScriptType": {
147
- "type": "Any",
148
- "defaultValue": "application/ecmascript",
149
- "deprecated": true
150
- },
151
- // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/contentStyleType
152
- "contentStyleType": {
153
- "type": "Any",
154
- "defaultValue": "text/css",
155
- "deprecated": true
156
- },
157
- // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/version
158
- "version": {
159
- "type": "Any",
160
- "deprecated": true
161
- }
162
- },
163
- "aria": {
164
- "implicitRole": "graphics-document",
165
- "permittedRoles": {
166
- "core-aam": true,
167
- "graphics-aam": true
168
- }
169
- }
170
- }
@@ -1,105 +0,0 @@
1
- // https://svgwg.org/svg2-draft/struct.html#SwitchElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-67
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGShape)",
10
- "svg|a",
11
- "svg|foreignObject",
12
- "svg|g",
13
- "svg|image",
14
- "svg|svg",
15
- "svg|switch",
16
- "svg|text",
17
- "svg|use"
18
- ]
19
- }
20
- ]
21
- },
22
- "globalAttrs": {
23
- "#HTMLGlobalAttrs": true,
24
- "#GlobalEventAttrs": true,
25
- "#DocumentElementEventAttrs": true,
26
- "#ARIAAttrs": true,
27
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
28
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
29
- "#SVGPresentationAttrs": [
30
- "alignment-baseline",
31
- "baseline-shift",
32
- "clip",
33
- "clip-path",
34
- "clip-rule",
35
- "color",
36
- "color-interpolation",
37
- "color-interpolation-filters",
38
- "color-rendering",
39
- "cursor",
40
- "direction",
41
- "display",
42
- "dominant-baseline",
43
- "enable-background",
44
- "fill",
45
- "fill-opacity",
46
- "fill-rule",
47
- "filter",
48
- "flood-color",
49
- "flood-opacity",
50
- "font",
51
- "font-family",
52
- "font-size",
53
- "font-size-adjust",
54
- "font-stretch",
55
- "font-style",
56
- "font-variant",
57
- "font-weight",
58
- "glyph-orientation-horizontal",
59
- "glyph-orientation-vertical",
60
- "image-rendering",
61
- "isolation",
62
- "kerning",
63
- "letter-spacing",
64
- "lighting-color",
65
- "marker",
66
- "marker-end",
67
- "marker-mid",
68
- "marker-start",
69
- "mask",
70
- "mask-type",
71
- "opacity",
72
- "overflow",
73
- "paint-order",
74
- "pointer-events",
75
- "shape-rendering",
76
- "stop-color",
77
- "stop-opacity",
78
- "stroke",
79
- "stroke-dasharray",
80
- "stroke-dashoffset",
81
- "stroke-linecap",
82
- "stroke-linejoin",
83
- "stroke-miterlimit",
84
- "stroke-opacity",
85
- "stroke-width",
86
- "text-anchor",
87
- "text-decoration",
88
- "text-overflow",
89
- "text-rendering",
90
- "transform",
91
- "transform-origin",
92
- "unicode-bidi",
93
- "vector-effect",
94
- "visibility",
95
- "white-space",
96
- "word-spacing",
97
- "writing-mode"
98
- ]
99
- },
100
- "attributes": {},
101
- "aria": {
102
- "implicitRole": false,
103
- "permittedRoles": false
104
- }
105
- }
@@ -1,77 +0,0 @@
1
- // https://svgwg.org/svg2-draft/struct.html#SymbolElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-68
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGDescriptive)",
10
- ":model(SVGPaintServer)",
11
- ":model(SVGShape)",
12
- ":model(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
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
35
- "#SVGPresentationAttrs": ["x", "y", "width", "height"]
36
- },
37
- "attributes": {
38
- // https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute
39
- "preserveAspectRatio": {
40
- "type": "<preserve-aspect-ratio>",
41
- "defaultValue": "xMidYMid meet"
42
- },
43
- // https://svgwg.org/svg2-draft/coords.html#ViewBoxAttribute
44
- "viewBox": {
45
- "type": "<view-box>"
46
- },
47
- // https://svgwg.org/svg2-draft/struct.html#SymbolElementRefXAttribute
48
- "refX": {
49
- "type": [
50
- "<svg-length>",
51
- "<percentage>",
52
- "<number>",
53
- {
54
- "enum": ["left", "center", "right"]
55
- }
56
- ]
57
- },
58
- // https://svgwg.org/svg2-draft/struct.html#SymbolElementRefYAttribute
59
- "refY": {
60
- "type": [
61
- "<svg-length>",
62
- "<percentage>",
63
- "<number>",
64
- {
65
- "enum": ["top", "center", "bottom"]
66
- }
67
- ]
68
- }
69
- },
70
- "aria": {
71
- "implicitRole": "graphics-object",
72
- "permittedRoles": {
73
- "core-aam": true,
74
- "graphics-aam": true
75
- }
76
- }
77
- }