@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,153 +0,0 @@
1
- // https://svgwg.org/svg2-draft/text.html#TextElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-69
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- "#text",
9
- ":model(SVGAnimation)",
10
- ":model(SVGDescriptive)",
11
- ":model(SVGPaintServer)",
12
- ":model(SVGTextContentChild)",
13
- "svg|a",
14
- "svg|clipPath",
15
- "svg|marker",
16
- "svg|mask",
17
- "svg|script",
18
- "svg|style"
19
- ]
20
- }
21
- ]
22
- },
23
- "globalAttrs": {
24
- "#HTMLGlobalAttrs": true,
25
- "#GlobalEventAttrs": true,
26
- "#DocumentElementEventAttrs": true,
27
- "#ARIAAttrs": true,
28
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
29
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
30
- "#SVGPresentationAttrs": [
31
- "alignment-baseline",
32
- "baseline-shift",
33
- "clip",
34
- "clip-path",
35
- "clip-rule",
36
- "color",
37
- "color-interpolation",
38
- "color-interpolation-filters",
39
- "color-rendering",
40
- "cursor",
41
- "direction",
42
- "display",
43
- "dominant-baseline",
44
- "enable-background",
45
- "fill",
46
- "fill-opacity",
47
- "fill-rule",
48
- "filter",
49
- "flood-color",
50
- "flood-opacity",
51
- "font",
52
- "font-family",
53
- "font-size",
54
- "font-size-adjust",
55
- "font-stretch",
56
- "font-style",
57
- "font-variant",
58
- "font-weight",
59
- "glyph-orientation-horizontal",
60
- "glyph-orientation-vertical",
61
- "image-rendering",
62
- "isolation",
63
- "kerning",
64
- "letter-spacing",
65
- "lighting-color",
66
- "marker",
67
- "marker-end",
68
- "marker-mid",
69
- "marker-start",
70
- "mask",
71
- "mask-type",
72
- "opacity",
73
- "overflow",
74
- "paint-order",
75
- "pointer-events",
76
- "shape-rendering",
77
- "stop-color",
78
- "stop-opacity",
79
- "stroke",
80
- "stroke-dasharray",
81
- "stroke-dashoffset",
82
- "stroke-linecap",
83
- "stroke-linejoin",
84
- "stroke-miterlimit",
85
- "stroke-opacity",
86
- "stroke-width",
87
- "text-anchor",
88
- "text-decoration",
89
- "text-overflow",
90
- "text-rendering",
91
- "transform",
92
- "transform-origin",
93
- "unicode-bidi",
94
- "vector-effect",
95
- "visibility",
96
- "white-space",
97
- "word-spacing",
98
- "writing-mode"
99
- ]
100
- },
101
- "attributes": {
102
- // https://svgwg.org/svg2-draft/text.html#TextElementLengthAdjustAttribute
103
- "lengthAdjust": {
104
- "type": {
105
- "enum": ["spacing", "spacingAndGlyphs"],
106
- "disallowToSurroundBySpaces": false
107
- },
108
- "defaultValue": "spacing",
109
- "animatable": true
110
- },
111
- // https://svgwg.org/svg2-draft/text.html#TextElementXAttribute
112
- "x": {
113
- "type": "<text-coordinate>",
114
- "defaultValue": "0",
115
- "animatable": true
116
- },
117
- // https://svgwg.org/svg2-draft/text.html#TextElementYAttribute
118
- "y": {
119
- "type": "<text-coordinate>",
120
- "defaultValue": "0",
121
- "animatable": true
122
- },
123
- // https://svgwg.org/svg2-draft/text.html#TextElementDXAttribute
124
- "dx": {
125
- "type": "<text-coordinate>",
126
- "animatable": true
127
- },
128
- // https://svgwg.org/svg2-draft/text.html#TextElementDYAttribute
129
- "dy": {
130
- "type": "<text-coordinate>",
131
- "animatable": true
132
- },
133
- // https://svgwg.org/svg2-draft/text.html#TextElementRotateAttribute
134
- "rotate": {
135
- "type": "<list-of-numbers>",
136
- "animatable": true
137
- },
138
- // https://svgwg.org/svg2-draft/text.html#TextElementTextLengthAttribute
139
- "textLength": {
140
- "type": ["<svg-length>", "<percentage>"],
141
- "animatable": true
142
- }
143
- },
144
- "aria": {
145
- // The platform mappings given above are similar to those recommended for the HTML p element in the HTML Accessibility API Mappings specification [HTML-AAM].
146
- // There is currently no WAI-ARIA role available that defines a distinct text block. However, such roles (denoting paragraphs or distinct text regions) exist in many platform accessibility APIs and are therefore used instead of a generic group role.
147
- "implicitRole": "group",
148
- "permittedRoles": {
149
- "core-aam": true,
150
- "graphics-aam": true
151
- }
152
- }
153
- }
@@ -1,169 +0,0 @@
1
- // https://svgwg.org/svg2-draft/text.html#TextPathElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-70
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- "#text",
9
- ":model(SVGDescriptive)",
10
- ":model(SVGPaintServer)",
11
- "svg|a",
12
- "svg|animate",
13
- "svg|clipPath",
14
- "svg|marker",
15
- "svg|mask",
16
- "svg|script",
17
- "svg|set",
18
- "svg|style",
19
- "svg|tspan"
20
- ]
21
- }
22
- ]
23
- },
24
- "globalAttrs": {
25
- "#HTMLGlobalAttrs": true,
26
- "#GlobalEventAttrs": true,
27
- "#DocumentElementEventAttrs": true,
28
- "#ARIAAttrs": true,
29
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
30
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
31
- "#SVGPresentationAttrs": [
32
- "alignment-baseline",
33
- "baseline-shift",
34
- "clip",
35
- "clip-path",
36
- "clip-rule",
37
- "color",
38
- "color-interpolation",
39
- "color-interpolation-filters",
40
- "color-rendering",
41
- "cursor",
42
- "direction",
43
- "display",
44
- "dominant-baseline",
45
- "enable-background",
46
- "fill",
47
- "fill-opacity",
48
- "fill-rule",
49
- "filter",
50
- "flood-color",
51
- "flood-opacity",
52
- "font",
53
- "font-family",
54
- "font-size",
55
- "font-size-adjust",
56
- "font-stretch",
57
- "font-style",
58
- "font-variant",
59
- "font-weight",
60
- "glyph-orientation-horizontal",
61
- "glyph-orientation-vertical",
62
- "image-rendering",
63
- "isolation",
64
- "kerning",
65
- "letter-spacing",
66
- "lighting-color",
67
- "marker",
68
- "marker-end",
69
- "marker-mid",
70
- "marker-start",
71
- "mask",
72
- "mask-type",
73
- "opacity",
74
- "overflow",
75
- "paint-order",
76
- "pointer-events",
77
- "shape-rendering",
78
- "stop-color",
79
- "stop-opacity",
80
- "stroke",
81
- "stroke-dasharray",
82
- "stroke-dashoffset",
83
- "stroke-linecap",
84
- "stroke-linejoin",
85
- "stroke-miterlimit",
86
- "stroke-opacity",
87
- "stroke-width",
88
- "text-anchor",
89
- "text-decoration",
90
- "text-overflow",
91
- "text-rendering",
92
- "transform",
93
- "transform-origin",
94
- "unicode-bidi",
95
- "vector-effect",
96
- "visibility",
97
- "white-space",
98
- "word-spacing",
99
- "writing-mode"
100
- ],
101
- "#XLinkAttrs": ["xlink:href", "xlink:title"]
102
- },
103
- "attributes": {
104
- // https://svgwg.org/svg2-draft/text.html#TextElementLengthAdjustAttribute
105
- "lengthAdjust": {
106
- "type": {
107
- "enum": ["spacing", "spacingAndGlyphs"],
108
- "disallowToSurroundBySpaces": false
109
- },
110
- "defaultValue": "spacing",
111
- "animatable": true
112
- },
113
- // https://svgwg.org/svg2-draft/text.html#TextElementTextLengthAttribute
114
- "textLength": {
115
- "type": ["<svg-length>", "<percentage>"],
116
- "animatable": true
117
- },
118
- // https://svgwg.org/svg2-draft/text.html#TextPathElementPathAttribute
119
- "path": {
120
- "type": "<svg-path>",
121
- "animatable": true
122
- },
123
- // https://svgwg.org/svg2-draft/text.html#TextPathElementHrefAttribute
124
- "href": {
125
- "type": "URL",
126
- "animatable": true
127
- },
128
- // https://svgwg.org/svg2-draft/text.html#TextPathElementStartOffsetAttribute
129
- "startOffset": {
130
- "type": ["<svg-length>", "<percentage>"],
131
- "animatable": true
132
- },
133
- // https://svgwg.org/svg2-draft/text.html#TextPathElementMethodAttribute
134
- "method": {
135
- "type": {
136
- "enum": ["align", "stretch"],
137
- "disallowToSurroundBySpaces": false
138
- },
139
- "defaultValue": "align",
140
- "animatable": true
141
- },
142
- // https://svgwg.org/svg2-draft/text.html#TextPathElementSpacingAttribute
143
- "spacing": {
144
- "type": {
145
- "enum": ["auto", "exact"],
146
- "disallowToSurroundBySpaces": false
147
- },
148
- "defaultValue": "exact",
149
- "animatable": true
150
- },
151
- // https://svgwg.org/svg2-draft/text.html#TextPathElementSideAttribute
152
- "side": {
153
- "type": {
154
- "enum": ["left", "right"],
155
- "disallowToSurroundBySpaces": false
156
- },
157
- "defaultValue": "left",
158
- "animatable": true
159
- }
160
- },
161
- "aria": {
162
- // The role mappings for textPath and tspan are an open issue.
163
- "implicitRole": "group",
164
- "permittedRoles": {
165
- "core-aam": true,
166
- "graphics-aam": true
167
- }
168
- }
169
- }
@@ -1,21 +0,0 @@
1
- // https://svgwg.org/svg2-draft/struct.html#TitleElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-71
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#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
- "aria": {
18
- "implicitRole": false,
19
- "permittedRoles": false
20
- }
21
- }
@@ -1,147 +0,0 @@
1
- // https://svgwg.org/svg2-draft/text.html#elementdef-tspan
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-73
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGDescriptive)",
9
- ":model(SVGPaintServer)",
10
- "svg|a",
11
- "svg|animate",
12
- "svg|script",
13
- "svg|set",
14
- "svg|style",
15
- "svg|tspan"
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
- "alignment-baseline",
29
- "baseline-shift",
30
- "clip",
31
- "clip-path",
32
- "clip-rule",
33
- "color",
34
- "color-interpolation",
35
- "color-interpolation-filters",
36
- "color-rendering",
37
- "cursor",
38
- "direction",
39
- "display",
40
- "dominant-baseline",
41
- "enable-background",
42
- "fill",
43
- "fill-opacity",
44
- "fill-rule",
45
- "filter",
46
- "flood-color",
47
- "flood-opacity",
48
- "font",
49
- "font-family",
50
- "font-size",
51
- "font-size-adjust",
52
- "font-stretch",
53
- "font-style",
54
- "font-variant",
55
- "font-weight",
56
- "glyph-orientation-horizontal",
57
- "glyph-orientation-vertical",
58
- "image-rendering",
59
- "isolation",
60
- "kerning",
61
- "letter-spacing",
62
- "lighting-color",
63
- "marker",
64
- "marker-end",
65
- "marker-mid",
66
- "marker-start",
67
- "mask",
68
- "mask-type",
69
- "opacity",
70
- "overflow",
71
- "paint-order",
72
- "pointer-events",
73
- "shape-rendering",
74
- "stop-color",
75
- "stop-opacity",
76
- "stroke",
77
- "stroke-dasharray",
78
- "stroke-dashoffset",
79
- "stroke-linecap",
80
- "stroke-linejoin",
81
- "stroke-miterlimit",
82
- "stroke-opacity",
83
- "stroke-width",
84
- "text-anchor",
85
- "text-decoration",
86
- "text-overflow",
87
- "text-rendering",
88
- "transform",
89
- "transform-origin",
90
- "unicode-bidi",
91
- "vector-effect",
92
- "visibility",
93
- "white-space",
94
- "word-spacing",
95
- "writing-mode"
96
- ]
97
- },
98
- "attributes": {
99
- // https://svgwg.org/svg2-draft/text.html#TextElementXAttribute
100
- "x": {
101
- "type": "<text-coordinate>",
102
- "animatable": true
103
- },
104
- // https://svgwg.org/svg2-draft/text.html#TextElementYAttribute
105
- "y": {
106
- "type": "<text-coordinate>",
107
- "animatable": true
108
- },
109
- // https://svgwg.org/svg2-draft/text.html#TextElementDXAttribute
110
- "dx": {
111
- "type": "<text-coordinate>",
112
- "animatable": true
113
- },
114
- // https://svgwg.org/svg2-draft/text.html#TextElementDYAttribute
115
- "dy": {
116
- "type": "<text-coordinate>",
117
- "animatable": true
118
- },
119
- // https://svgwg.org/svg2-draft/text.html#TextElementRotateAttribute
120
- "rotate": {
121
- "type": "<list-of-numbers>",
122
- "animatable": true
123
- },
124
- // https://svgwg.org/svg2-draft/text.html#TextElementTextLengthAttribute
125
- "textLength": {
126
- "type": ["<svg-length>", "<percentage>"],
127
- "animatable": true
128
- },
129
- // https://svgwg.org/svg2-draft/text.html#TextElementLengthAdjustAttribute
130
- "lengthAdjust": {
131
- "type": {
132
- "enum": ["spacing", "spacingAndGlyphs"],
133
- "disallowToSurroundBySpaces": false
134
- },
135
- "defaultValue": "spacing",
136
- "animatable": true
137
- }
138
- },
139
- "aria": {
140
- // The role mappings for textPath and tspan are an open issue.
141
- "implicitRole": "group",
142
- "permittedRoles": {
143
- "core-aam": true,
144
- "graphics-aam": true
145
- }
146
- }
147
- }
@@ -1,115 +0,0 @@
1
- // https://svgwg.org/svg2-draft/struct.html#UseElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-74
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/struct.html#UseElementHrefAttribute
103
- "href": {
104
- "type": "URL"
105
- }
106
- },
107
- "aria": {
108
- // Note that the re-used graphics in the use element's shadow tree may still be included in the accessibility tree, even if the host element is not.
109
- "implicitRole": "graphics-object",
110
- "permittedRoles": {
111
- "core-aam": true,
112
- "graphics-aam": true
113
- }
114
- }
115
- }
@@ -1,45 +0,0 @@
1
- // https://svgwg.org/svg2-draft/linking.html#ViewElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-76
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGAnimation)", ":model(SVGDescriptive)", "svg|script", "svg|style"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#HTMLGlobalAttrs": true,
13
- "#GlobalEventAttrs": true,
14
- "#DocumentElementEventAttrs": true,
15
- "#ARIAAttrs": true,
16
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"]
17
- },
18
- "attributes": {
19
- // https://svgwg.org/svg2-draft/coords.html#ViewBoxAttribute
20
- "viewBox": {
21
- "type": "<view-box>"
22
- },
23
- // https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute
24
- "preserveAspectRatio": {
25
- "type": "<preserve-aspect-ratio>"
26
- },
27
- // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/zoomAndPan
28
- "zoomAndPan": {
29
- "type": {
30
- "enum": ["disable", "magnify"]
31
- },
32
- "defaultValue": "magnify",
33
- "deprecated": true
34
- },
35
- // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewTarget
36
- "viewTarget": {
37
- "type": "Any",
38
- "deprecated": true
39
- }
40
- },
41
- "aria": {
42
- "implicitRole": false,
43
- "permittedRoles": false
44
- }
45
- }