@markuplint/html-spec 3.0.0-dev.25 → 3.0.0-dev.300

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,90 +0,0 @@
1
- // https://drafts.fxtf.org/filter-effects/#feTileElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-36
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
13
- "#SVGPresentationAttrs": [
14
- "alignment-baseline",
15
- "baseline-shift",
16
- "clip",
17
- "clip-path",
18
- "clip-rule",
19
- "color",
20
- "color-interpolation",
21
- "color-interpolation-filters",
22
- "color-rendering",
23
- "cursor",
24
- "direction",
25
- "display",
26
- "dominant-baseline",
27
- "enable-background",
28
- "fill",
29
- "fill-opacity",
30
- "fill-rule",
31
- "filter",
32
- "flood-color",
33
- "flood-opacity",
34
- "font",
35
- "font-family",
36
- "font-size",
37
- "font-size-adjust",
38
- "font-stretch",
39
- "font-style",
40
- "font-variant",
41
- "font-weight",
42
- "glyph-orientation-horizontal",
43
- "glyph-orientation-vertical",
44
- "image-rendering",
45
- "isolation",
46
- "kerning",
47
- "letter-spacing",
48
- "lighting-color",
49
- "marker",
50
- "marker-end",
51
- "marker-mid",
52
- "marker-start",
53
- "mask",
54
- "mask-type",
55
- "opacity",
56
- "overflow",
57
- "paint-order",
58
- "pointer-events",
59
- "shape-rendering",
60
- "stop-color",
61
- "stop-opacity",
62
- "stroke",
63
- "stroke-dasharray",
64
- "stroke-dashoffset",
65
- "stroke-linecap",
66
- "stroke-linejoin",
67
- "stroke-miterlimit",
68
- "stroke-opacity",
69
- "stroke-width",
70
- "text-anchor",
71
- "text-decoration",
72
- "text-overflow",
73
- "text-rendering",
74
- "transform",
75
- "transform-origin",
76
- "unicode-bidi",
77
- "vector-effect",
78
- "visibility",
79
- "white-space",
80
- "word-spacing",
81
- "writing-mode"
82
- ],
83
- "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result", "in"]
84
- },
85
- "attributes": {},
86
- "aria": {
87
- "implicitRole": false,
88
- "permittedRoles": false
89
- }
90
- }
@@ -1,127 +0,0 @@
1
- // https://drafts.fxtf.org/filter-effects/#feTurbulenceElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-37
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
13
- "#SVGPresentationAttrs": [
14
- "alignment-baseline",
15
- "baseline-shift",
16
- "clip",
17
- "clip-path",
18
- "clip-rule",
19
- "color",
20
- "color-interpolation",
21
- "color-interpolation-filters",
22
- "color-rendering",
23
- "cursor",
24
- "direction",
25
- "display",
26
- "dominant-baseline",
27
- "enable-background",
28
- "fill",
29
- "fill-opacity",
30
- "fill-rule",
31
- "filter",
32
- "flood-color",
33
- "flood-opacity",
34
- "font",
35
- "font-family",
36
- "font-size",
37
- "font-size-adjust",
38
- "font-stretch",
39
- "font-style",
40
- "font-variant",
41
- "font-weight",
42
- "glyph-orientation-horizontal",
43
- "glyph-orientation-vertical",
44
- "image-rendering",
45
- "isolation",
46
- "kerning",
47
- "letter-spacing",
48
- "lighting-color",
49
- "marker",
50
- "marker-end",
51
- "marker-mid",
52
- "marker-start",
53
- "mask",
54
- "mask-type",
55
- "opacity",
56
- "overflow",
57
- "paint-order",
58
- "pointer-events",
59
- "shape-rendering",
60
- "stop-color",
61
- "stop-opacity",
62
- "stroke",
63
- "stroke-dasharray",
64
- "stroke-dashoffset",
65
- "stroke-linecap",
66
- "stroke-linejoin",
67
- "stroke-miterlimit",
68
- "stroke-opacity",
69
- "stroke-width",
70
- "text-anchor",
71
- "text-decoration",
72
- "text-overflow",
73
- "text-rendering",
74
- "transform",
75
- "transform-origin",
76
- "unicode-bidi",
77
- "vector-effect",
78
- "visibility",
79
- "white-space",
80
- "word-spacing",
81
- "writing-mode"
82
- ],
83
- "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height", "result"]
84
- },
85
- "attributes": {
86
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-basefrequency
87
- "baseFrequency": {
88
- // TODO: Negative values are unsupported
89
- "type": "<number-optional-number>",
90
- "defaultValue": "0",
91
- "animatable": true
92
- },
93
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-numoctaves
94
- "numOctaves": {
95
- // TODO: Negative values are unsupported
96
- "type": "<integer>",
97
- "defaultValue": "1",
98
- "animatable": true
99
- },
100
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-seed
101
- "seed": {
102
- "type": "<number>",
103
- "defaultValue": "0",
104
- "animatable": true
105
- },
106
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-stitchtiles
107
- "stitchTiles": {
108
- "type": {
109
- "enum": ["noStitch", "stitch"]
110
- },
111
- "defaultValue": "noStitch",
112
- "animatable": true
113
- },
114
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-type
115
- "type": {
116
- "type": {
117
- "enum": ["fractalNoise", "turbulence"]
118
- },
119
- "defaultValue": "turbulence",
120
- "animatable": true
121
- }
122
- },
123
- "aria": {
124
- "implicitRole": false,
125
- "permittedRoles": false
126
- }
127
- }
@@ -1,138 +0,0 @@
1
- // https://drafts.fxtf.org/filter-effects/#FilterElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-38
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGDescriptive)", "#SVGFilterPrimitive", "svg|animate", "svg|script", "svg|set"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
13
- "#SVGPresentationAttrs": [
14
- "alignment-baseline",
15
- "baseline-shift",
16
- "clip",
17
- "clip-path",
18
- "clip-rule",
19
- "color",
20
- "color-interpolation",
21
- "color-interpolation-filters",
22
- "color-rendering",
23
- "cursor",
24
- "direction",
25
- "display",
26
- "dominant-baseline",
27
- "enable-background",
28
- "fill",
29
- "fill-opacity",
30
- "fill-rule",
31
- "filter",
32
- "flood-color",
33
- "flood-opacity",
34
- "font",
35
- "font-family",
36
- "font-size",
37
- "font-size-adjust",
38
- "font-stretch",
39
- "font-style",
40
- "font-variant",
41
- "font-weight",
42
- "glyph-orientation-horizontal",
43
- "glyph-orientation-vertical",
44
- "image-rendering",
45
- "isolation",
46
- "kerning",
47
- "letter-spacing",
48
- "lighting-color",
49
- "marker",
50
- "marker-end",
51
- "marker-mid",
52
- "marker-start",
53
- "mask",
54
- "mask-type",
55
- "opacity",
56
- "overflow",
57
- "paint-order",
58
- "pointer-events",
59
- "shape-rendering",
60
- "stop-color",
61
- "stop-opacity",
62
- "stroke",
63
- "stroke-dasharray",
64
- "stroke-dashoffset",
65
- "stroke-linecap",
66
- "stroke-linejoin",
67
- "stroke-miterlimit",
68
- "stroke-opacity",
69
- "stroke-width",
70
- "text-anchor",
71
- "text-decoration",
72
- "text-overflow",
73
- "text-rendering",
74
- "transform",
75
- "transform-origin",
76
- "unicode-bidi",
77
- "vector-effect",
78
- "visibility",
79
- "white-space",
80
- "word-spacing",
81
- "writing-mode"
82
- ],
83
- "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height"]
84
- },
85
- "attributes": {
86
- // https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
87
- "externalResourcesRequired": {
88
- "type": {
89
- "enum": ["true", "false"],
90
- "disallowToSurroundBySpaces": false
91
- },
92
- "defaultValue": "true"
93
- },
94
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-x
95
- "x": {
96
- "defaultValue": "-10%"
97
- },
98
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-y
99
- "y": {
100
- "defaultValue": "-10%"
101
- },
102
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-width
103
- "width": {
104
- "defaultValue": "120%"
105
- },
106
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-height
107
- "height": {
108
- "defaultValue": "120%"
109
- },
110
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-filterunits
111
- "filterUnits": {
112
- "type": {
113
- "enum": ["userSpaceOnUse", "objectBoundingBox"],
114
- "disallowToSurroundBySpaces": false
115
- },
116
- "defaultValue": "objectBoundingBox",
117
- "animatable": true
118
- },
119
- // https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-primitiveunits
120
- "primitiveUnits": {
121
- "type": {
122
- "enum": ["userSpaceOnUse", "objectBoundingBox"]
123
- },
124
- "defaultValue": "userSpaceOnUse",
125
- "animatable": true
126
- },
127
- // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filterRes
128
- "filterRes": {
129
- "type": "<number-optional-number>",
130
- "animatable": true,
131
- "deprecated": true
132
- }
133
- },
134
- "aria": {
135
- "implicitRole": false,
136
- "permittedRoles": false
137
- }
138
- }
@@ -1,97 +0,0 @@
1
- // https://svgwg.org/svg2-draft/embedded.html#ForeignObjectElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-39
3
- {
4
- "contentModel": {
5
- "contents": true
6
- },
7
- "globalAttrs": {
8
- "#HTMLGlobalAttrs": true,
9
- "#GlobalEventAttrs": true,
10
- "#DocumentElementEventAttrs": true,
11
- "#ARIAAttrs": true,
12
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
13
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
14
- "#SVGPresentationAttrs": [
15
- "x",
16
- "y",
17
- "width",
18
- "height",
19
- "alignment-baseline",
20
- "baseline-shift",
21
- "clip",
22
- "clip-path",
23
- "clip-rule",
24
- "color",
25
- "color-interpolation",
26
- "color-interpolation-filters",
27
- "color-rendering",
28
- "cursor",
29
- "direction",
30
- "display",
31
- "dominant-baseline",
32
- "enable-background",
33
- "fill",
34
- "fill-opacity",
35
- "fill-rule",
36
- "filter",
37
- "flood-color",
38
- "flood-opacity",
39
- "font",
40
- "font-family",
41
- "font-size",
42
- "font-size-adjust",
43
- "font-stretch",
44
- "font-style",
45
- "font-variant",
46
- "font-weight",
47
- "glyph-orientation-horizontal",
48
- "glyph-orientation-vertical",
49
- "image-rendering",
50
- "isolation",
51
- "kerning",
52
- "letter-spacing",
53
- "lighting-color",
54
- "marker",
55
- "marker-end",
56
- "marker-mid",
57
- "marker-start",
58
- "mask",
59
- "mask-type",
60
- "opacity",
61
- "overflow",
62
- "paint-order",
63
- "pointer-events",
64
- "shape-rendering",
65
- "stop-color",
66
- "stop-opacity",
67
- "stroke",
68
- "stroke-dasharray",
69
- "stroke-dashoffset",
70
- "stroke-linecap",
71
- "stroke-linejoin",
72
- "stroke-miterlimit",
73
- "stroke-opacity",
74
- "stroke-width",
75
- "text-anchor",
76
- "text-decoration",
77
- "text-overflow",
78
- "text-rendering",
79
- "transform",
80
- "transform-origin",
81
- "unicode-bidi",
82
- "vector-effect",
83
- "visibility",
84
- "white-space",
85
- "word-spacing",
86
- "writing-mode"
87
- ]
88
- },
89
- "attributes": {},
90
- "aria": {
91
- "implicitRole": "group",
92
- "permittedRoles": {
93
- "core-aam": true,
94
- "graphics-aam": true
95
- }
96
- }
97
- }
@@ -1,115 +0,0 @@
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
- ":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
- "#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,128 +0,0 @@
1
- // https://svgwg.org/svg2-draft/embedded.html#ImageElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-44
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGDescriptive)",
10
- "svg|clipPath",
11
- "svg|mask",
12
- "svg|script",
13
- "svg|style"
14
- ]
15
- }
16
- ]
17
- },
18
- "globalAttrs": {
19
- "#HTMLGlobalAttrs": true,
20
- "#GlobalEventAttrs": true,
21
- "#DocumentElementEventAttrs": true,
22
- "#ARIAAttrs": true,
23
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
24
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
25
- "#SVGPresentationAttrs": [
26
- "x",
27
- "y",
28
- "width",
29
- "height",
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
- "#XLinkAttrs": ["xlink:href", "xlink:title"]
100
- },
101
- "attributes": {
102
- // https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute
103
- "preserveAspectRatio": {
104
- "type": "<preserve-aspect-ratio>",
105
- "defaultValue": "xMidYMid meet"
106
- },
107
- // https://svgwg.org/svg2-draft/embedded.html#ImageElementHrefAttribute
108
- "href": {
109
- "type": "URL"
110
- },
111
- // https://svgwg.org/svg2-draft/embedded.html#ImageElementCrossoriginAttribute
112
- "crossorigin": {
113
- "type": {
114
- "enum": ["", "anonymous", "use-credentials"],
115
- "sameStates": {
116
- "anonymous": [""]
117
- }
118
- }
119
- }
120
- },
121
- "aria": {
122
- "implicitRole": "img",
123
- "permittedRoles": {
124
- "core-aam": true,
125
- "graphics-aam": true
126
- }
127
- }
128
- }