@markuplint/html-spec 3.0.0-dev.25 → 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.
- package/index.d.ts +1 -1
- package/index.json +14776 -2258
- package/package.json +8 -13
- package/{src/structure.test.ts → test/structure.spec.mjs} +23 -13
- package/src/spec-common.attributes.json +0 -1650
- package/src/spec-common.contents.json +0 -392
- package/src/spec.a.json +0 -58
- package/src/spec.abbr.json +0 -25
- package/src/spec.address.json +0 -25
- package/src/spec.area.json +0 -64
- package/src/spec.article.json +0 -24
- package/src/spec.aside.json +0 -38
- package/src/spec.audio.json +0 -48
- package/src/spec.b.json +0 -24
- package/src/spec.base.json +0 -21
- package/src/spec.bdi.json +0 -24
- package/src/spec.bdo.json +0 -24
- package/src/spec.blockquote.json +0 -31
- package/src/spec.body.json +0 -100
- package/src/spec.br.json +0 -32
- package/src/spec.button.json +0 -70
- package/src/spec.canvas.json +0 -33
- package/src/spec.caption.json +0 -30
- package/src/spec.cite.json +0 -24
- package/src/spec.code.json +0 -27
- package/src/spec.col.json +0 -31
- package/src/spec.colgroup.json +0 -41
- package/src/spec.data.json +0 -29
- package/src/spec.datalist.json +0 -38
- package/src/spec.dd.json +0 -30
- package/src/spec.del.json +0 -36
- package/src/spec.details.json +0 -35
- package/src/spec.dfn.json +0 -23
- package/src/spec.dialog.json +0 -36
- package/src/spec.div.json +0 -55
- package/src/spec.dl.json +0 -56
- package/src/spec.dt.json +0 -26
- package/src/spec.em.json +0 -27
- package/src/spec.embed.json +0 -30
- package/src/spec.fieldset.json +0 -27
- package/src/spec.figcaption.json +0 -24
- package/src/spec.figure.json +0 -52
- package/src/spec.footer.json +0 -37
- package/src/spec.form.json +0 -100
- package/src/spec.h1.json +0 -26
- package/src/spec.h2.json +0 -26
- package/src/spec.h3.json +0 -26
- package/src/spec.h4.json +0 -26
- package/src/spec.h5.json +0 -26
- package/src/spec.h6.json +0 -26
- package/src/spec.head.json +0 -30
- package/src/spec.header.json +0 -37
- package/src/spec.hgroup.json +0 -45
- package/src/spec.hr.json +0 -23
- package/src/spec.html.json +0 -27
- package/src/spec.i.json +0 -24
- package/src/spec.iframe.json +0 -70
- package/src/spec.img.json +0 -109
- package/src/spec.input.json +0 -792
- package/src/spec.ins.json +0 -36
- package/src/spec.kbd.json +0 -24
- package/src/spec.label.json +0 -29
- package/src/spec.legend.json +0 -24
- package/src/spec.li.json +0 -40
- package/src/spec.link.json +0 -140
- package/src/spec.main.json +0 -27
- package/src/spec.map.json +0 -30
- package/src/spec.mark.json +0 -24
- package/src/spec.math.json +0 -20
- package/src/spec.menu.json +0 -53
- package/src/spec.meta.json +0 -59
- package/src/spec.meter.json +0 -62
- package/src/spec.nav.json +0 -26
- package/src/spec.noscript.json +0 -24
- package/src/spec.object.json +0 -40
- package/src/spec.ol.json +0 -71
- package/src/spec.optgroup.json +0 -34
- package/src/spec.option.json +0 -70
- package/src/spec.output.json +0 -29
- package/src/spec.p.json +0 -27
- package/src/spec.picture.json +0 -46
- package/src/spec.portal.json +0 -25
- package/src/spec.pre.json +0 -24
- package/src/spec.progress.json +0 -44
- package/src/spec.q.json +0 -29
- package/src/spec.rp.json +0 -23
- package/src/spec.rt.json +0 -24
- package/src/spec.ruby.json +0 -55
- package/src/spec.s.json +0 -24
- package/src/spec.samp.json +0 -24
- package/src/spec.script.json +0 -73
- package/src/spec.section.json +0 -73
- package/src/spec.select.json +0 -66
- package/src/spec.slot.json +0 -29
- package/src/spec.small.json +0 -24
- package/src/spec.source.json +0 -52
- package/src/spec.span.json +0 -24
- package/src/spec.strong.json +0 -27
- package/src/spec.style.json +0 -35
- package/src/spec.sub.json +0 -27
- package/src/spec.summary.json +0 -38
- package/src/spec.sup.json +0 -27
- package/src/spec.svg_a.json +0 -118
- package/src/spec.svg_animate.json +0 -109
- package/src/spec.svg_animateMotion.json +0 -73
- package/src/spec.svg_animateTransform.json +0 -47
- package/src/spec.svg_circle.json +0 -113
- package/src/spec.svg_clipPath.json +0 -108
- package/src/spec.svg_defs.json +0 -109
- package/src/spec.svg_desc.json +0 -21
- package/src/spec.svg_discard.json +0 -31
- package/src/spec.svg_ellipse.json +0 -116
- package/src/spec.svg_feBlend.json +0 -115
- package/src/spec.svg_feColorMatrix.json +0 -104
- package/src/spec.svg_feComponentTransfer.json +0 -97
- package/src/spec.svg_feComposite.json +0 -146
- package/src/spec.svg_feConvolveMatrix.json +0 -147
- package/src/spec.svg_feDiffuseLighting.json +0 -126
- package/src/spec.svg_feDisplacementMap.json +0 -133
- package/src/spec.svg_feDistantLight.json +0 -32
- package/src/spec.svg_feDropShadow.json +0 -109
- package/src/spec.svg_feFlood.json +0 -101
- package/src/spec.svg_feFuncA.json +0 -20
- package/src/spec.svg_feFuncB.json +0 -20
- package/src/spec.svg_feFuncG.json +0 -20
- package/src/spec.svg_feFuncR.json +0 -20
- package/src/spec.svg_feGaussianBlur.json +0 -105
- package/src/spec.svg_feImage.json +0 -123
- package/src/spec.svg_feMerge.json +0 -90
- package/src/spec.svg_feMergeNode.json +0 -20
- package/src/spec.svg_feMorphology.json +0 -106
- package/src/spec.svg_feOffset.json +0 -103
- package/src/spec.svg_fePointLight.json +0 -38
- package/src/spec.svg_feSpecularLighting.json +0 -131
- package/src/spec.svg_feSpotLight.json +0 -67
- package/src/spec.svg_feTile.json +0 -90
- package/src/spec.svg_feTurbulence.json +0 -127
- package/src/spec.svg_filter.json +0 -138
- package/src/spec.svg_foreignObject.json +0 -97
- package/src/spec.svg_g.json +0 -115
- package/src/spec.svg_image.json +0 -128
- package/src/spec.svg_line.json +0 -136
- package/src/spec.svg_linearGradient.json +0 -152
- package/src/spec.svg_marker.json +0 -180
- package/src/spec.svg_mask.json +0 -142
- package/src/spec.svg_metadata.json +0 -21
- package/src/spec.svg_mpath.json +0 -26
- package/src/spec.svg_path.json +0 -114
- package/src/spec.svg_pattern.json +0 -157
- package/src/spec.svg_polygon.json +0 -117
- package/src/spec.svg_polyline.json +0 -117
- package/src/spec.svg_radialGradient.json +0 -162
- package/src/spec.svg_rect.json +0 -118
- package/src/spec.svg_script.json +0 -40
- package/src/spec.svg_set.json +0 -42
- package/src/spec.svg_stop.json +0 -110
- package/src/spec.svg_style.json +0 -36
- package/src/spec.svg_svg.json +0 -170
- package/src/spec.svg_switch.json +0 -105
- package/src/spec.svg_symbol.json +0 -77
- package/src/spec.svg_text.json +0 -153
- package/src/spec.svg_textPath.json +0 -169
- package/src/spec.svg_title.json +0 -21
- package/src/spec.svg_tspan.json +0 -147
- package/src/spec.svg_use.json +0 -115
- package/src/spec.svg_view.json +0 -45
- package/src/spec.table.json +0 -64
- package/src/spec.tbody.json +0 -23
- package/src/spec.td.json +0 -37
- package/src/spec.template.json +0 -20
- package/src/spec.textarea.json +0 -67
- package/src/spec.tfoot.json +0 -23
- package/src/spec.th.json +0 -66
- package/src/spec.thead.json +0 -23
- package/src/spec.time.json +0 -32
- package/src/spec.title.json +0 -24
- package/src/spec.tr.json +0 -29
- package/src/spec.track.json +0 -54
- package/src/spec.u.json +0 -24
- package/src/spec.ul.json +0 -53
- package/src/spec.var.json +0 -24
- package/src/spec.video.json +0 -78
- package/src/spec.wbr.json +0 -25
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"models": {
|
|
3
|
-
"#metadata": ["base", "link", "meta", "noscript", "script", "style", "template", "title"],
|
|
4
|
-
"#flow": [
|
|
5
|
-
"a",
|
|
6
|
-
"abbr",
|
|
7
|
-
"address",
|
|
8
|
-
"area",
|
|
9
|
-
"article",
|
|
10
|
-
"aside",
|
|
11
|
-
"audio",
|
|
12
|
-
"b",
|
|
13
|
-
"bdi",
|
|
14
|
-
"bdo",
|
|
15
|
-
"blockquote",
|
|
16
|
-
"br",
|
|
17
|
-
"button",
|
|
18
|
-
"canvas",
|
|
19
|
-
"cite",
|
|
20
|
-
"code",
|
|
21
|
-
"data",
|
|
22
|
-
"datalist",
|
|
23
|
-
"del",
|
|
24
|
-
"details",
|
|
25
|
-
"dfn",
|
|
26
|
-
"dialog",
|
|
27
|
-
"div",
|
|
28
|
-
"dl",
|
|
29
|
-
"em",
|
|
30
|
-
"embed",
|
|
31
|
-
"fieldset",
|
|
32
|
-
"figure",
|
|
33
|
-
"footer",
|
|
34
|
-
"form",
|
|
35
|
-
"h1",
|
|
36
|
-
"h2",
|
|
37
|
-
"h3",
|
|
38
|
-
"h4",
|
|
39
|
-
"h5",
|
|
40
|
-
"h6",
|
|
41
|
-
"header",
|
|
42
|
-
"hgroup",
|
|
43
|
-
"hr",
|
|
44
|
-
"i",
|
|
45
|
-
"iframe",
|
|
46
|
-
"img",
|
|
47
|
-
"input",
|
|
48
|
-
"ins",
|
|
49
|
-
"kbd",
|
|
50
|
-
"label",
|
|
51
|
-
"link[itemprop]",
|
|
52
|
-
"link[rel=dns-prefetch]",
|
|
53
|
-
"link[rel=modulepreload]",
|
|
54
|
-
"link[rel=pingback]",
|
|
55
|
-
"link[rel=preconnect]",
|
|
56
|
-
"link[rel=prefetch]",
|
|
57
|
-
"link[rel=preload]",
|
|
58
|
-
"link[rel=prerender]",
|
|
59
|
-
"link[rel=stylesheet]",
|
|
60
|
-
"main",
|
|
61
|
-
"map",
|
|
62
|
-
"mark",
|
|
63
|
-
"math",
|
|
64
|
-
"menu",
|
|
65
|
-
"meta[itemprop]",
|
|
66
|
-
"meter",
|
|
67
|
-
"nav",
|
|
68
|
-
"noscript",
|
|
69
|
-
"object",
|
|
70
|
-
"ol",
|
|
71
|
-
"output",
|
|
72
|
-
"p",
|
|
73
|
-
"picture",
|
|
74
|
-
"pre",
|
|
75
|
-
"progress",
|
|
76
|
-
"q",
|
|
77
|
-
"ruby",
|
|
78
|
-
"s",
|
|
79
|
-
"samp",
|
|
80
|
-
"script",
|
|
81
|
-
"section",
|
|
82
|
-
"select",
|
|
83
|
-
"slot",
|
|
84
|
-
"small",
|
|
85
|
-
"span",
|
|
86
|
-
"strong",
|
|
87
|
-
"sub",
|
|
88
|
-
"sup",
|
|
89
|
-
"svg|svg",
|
|
90
|
-
"table",
|
|
91
|
-
"template",
|
|
92
|
-
"textarea",
|
|
93
|
-
"time",
|
|
94
|
-
"u",
|
|
95
|
-
"ul",
|
|
96
|
-
"var",
|
|
97
|
-
"video",
|
|
98
|
-
"wbr",
|
|
99
|
-
"#custom",
|
|
100
|
-
"#text"
|
|
101
|
-
],
|
|
102
|
-
"#sectioning": ["article", "aside", "nav", "section"],
|
|
103
|
-
// https://html.spec.whatwg.org/multipage/dom.html#heading-content
|
|
104
|
-
"#heading": ["h1", "h2", "h3", "h4", "h5", "h6", "hgroup:has(h1,h2,h3,h4,h5,h6)"],
|
|
105
|
-
"#phrasing": [
|
|
106
|
-
"a",
|
|
107
|
-
"abbr",
|
|
108
|
-
"area",
|
|
109
|
-
"audio",
|
|
110
|
-
"b",
|
|
111
|
-
"bdi",
|
|
112
|
-
"bdo",
|
|
113
|
-
"br",
|
|
114
|
-
"button",
|
|
115
|
-
"canvas",
|
|
116
|
-
"cite",
|
|
117
|
-
"code",
|
|
118
|
-
"data",
|
|
119
|
-
"datalist",
|
|
120
|
-
"del",
|
|
121
|
-
"dfn",
|
|
122
|
-
"em",
|
|
123
|
-
"embed",
|
|
124
|
-
"i",
|
|
125
|
-
"iframe",
|
|
126
|
-
"img",
|
|
127
|
-
"input",
|
|
128
|
-
"ins",
|
|
129
|
-
"kbd",
|
|
130
|
-
"label",
|
|
131
|
-
"link[itemprop]",
|
|
132
|
-
"link[rel=dns-prefetch]",
|
|
133
|
-
"link[rel=modulepreload]",
|
|
134
|
-
"link[rel=pingback]",
|
|
135
|
-
"link[rel=preconnect]",
|
|
136
|
-
"link[rel=prefetch]",
|
|
137
|
-
"link[rel=preload]",
|
|
138
|
-
"link[rel=prerender]",
|
|
139
|
-
"link[rel=stylesheet]",
|
|
140
|
-
"map",
|
|
141
|
-
"mark",
|
|
142
|
-
"math",
|
|
143
|
-
"meta[itemprop]",
|
|
144
|
-
"meter",
|
|
145
|
-
"noscript",
|
|
146
|
-
"object",
|
|
147
|
-
"output",
|
|
148
|
-
"picture",
|
|
149
|
-
"progress",
|
|
150
|
-
"q",
|
|
151
|
-
"ruby",
|
|
152
|
-
"s",
|
|
153
|
-
"samp",
|
|
154
|
-
"script",
|
|
155
|
-
"select",
|
|
156
|
-
"slot",
|
|
157
|
-
"small",
|
|
158
|
-
"span",
|
|
159
|
-
"strong",
|
|
160
|
-
"sub",
|
|
161
|
-
"sup",
|
|
162
|
-
"svg|svg",
|
|
163
|
-
"template",
|
|
164
|
-
"textarea",
|
|
165
|
-
"time",
|
|
166
|
-
"u",
|
|
167
|
-
"var",
|
|
168
|
-
"video",
|
|
169
|
-
"wbr",
|
|
170
|
-
"#custom",
|
|
171
|
-
"#text"
|
|
172
|
-
],
|
|
173
|
-
"#embedded": ["audio", "canvas", "embed", "iframe", "img", "math", "object", "picture", "svg|svg", "video"],
|
|
174
|
-
// https://html.spec.whatwg.org/multipage/dom.html#interactive-content
|
|
175
|
-
"#interactive": [
|
|
176
|
-
"a[href]",
|
|
177
|
-
"audio[controls]",
|
|
178
|
-
"button",
|
|
179
|
-
"details",
|
|
180
|
-
"embed",
|
|
181
|
-
"iframe",
|
|
182
|
-
"img[usemap]",
|
|
183
|
-
"input:not([type='hidden' i])",
|
|
184
|
-
"label",
|
|
185
|
-
"select",
|
|
186
|
-
"textarea",
|
|
187
|
-
"video[controls]"
|
|
188
|
-
],
|
|
189
|
-
// https://html.spec.whatwg.org/multipage/dom.html#palpable-content
|
|
190
|
-
"#palpable": [
|
|
191
|
-
"a",
|
|
192
|
-
"abbr",
|
|
193
|
-
"address",
|
|
194
|
-
"article",
|
|
195
|
-
"aside",
|
|
196
|
-
"audio[controls]",
|
|
197
|
-
"b",
|
|
198
|
-
"bdi",
|
|
199
|
-
"bdo",
|
|
200
|
-
"blockquote",
|
|
201
|
-
"button",
|
|
202
|
-
"canvas",
|
|
203
|
-
"cite",
|
|
204
|
-
"code",
|
|
205
|
-
"data",
|
|
206
|
-
"details",
|
|
207
|
-
"dfn",
|
|
208
|
-
"div",
|
|
209
|
-
"dl:has(>:is(dt+dd))",
|
|
210
|
-
"em",
|
|
211
|
-
"embed",
|
|
212
|
-
"fieldset",
|
|
213
|
-
"figure",
|
|
214
|
-
"footer",
|
|
215
|
-
"form",
|
|
216
|
-
"h1",
|
|
217
|
-
"h2",
|
|
218
|
-
"h3",
|
|
219
|
-
"h4",
|
|
220
|
-
"h5",
|
|
221
|
-
"h6",
|
|
222
|
-
"header",
|
|
223
|
-
"hgroup",
|
|
224
|
-
"i",
|
|
225
|
-
"iframe",
|
|
226
|
-
"img",
|
|
227
|
-
"input:not([type='hidden' i])",
|
|
228
|
-
"ins",
|
|
229
|
-
"kbd",
|
|
230
|
-
"label",
|
|
231
|
-
"main",
|
|
232
|
-
"map",
|
|
233
|
-
"mark",
|
|
234
|
-
"math",
|
|
235
|
-
"menu:has(>li)",
|
|
236
|
-
"meter",
|
|
237
|
-
"nav",
|
|
238
|
-
"object",
|
|
239
|
-
"ol:has(>li)",
|
|
240
|
-
"output",
|
|
241
|
-
"p",
|
|
242
|
-
"pre",
|
|
243
|
-
"progress",
|
|
244
|
-
"q",
|
|
245
|
-
"ruby",
|
|
246
|
-
"s",
|
|
247
|
-
"samp",
|
|
248
|
-
"section",
|
|
249
|
-
"select",
|
|
250
|
-
"small",
|
|
251
|
-
"span",
|
|
252
|
-
"strong",
|
|
253
|
-
"sub",
|
|
254
|
-
"sup ",
|
|
255
|
-
"svg",
|
|
256
|
-
"table",
|
|
257
|
-
"text",
|
|
258
|
-
"area",
|
|
259
|
-
"time",
|
|
260
|
-
"u",
|
|
261
|
-
"ul:has(>li)",
|
|
262
|
-
"var",
|
|
263
|
-
"video",
|
|
264
|
-
"#custom",
|
|
265
|
-
"#text"
|
|
266
|
-
],
|
|
267
|
-
"#script-supporting": ["script", "template"],
|
|
268
|
-
"#SVGAnimation": [
|
|
269
|
-
"svg|animate",
|
|
270
|
-
"svg|animateColor",
|
|
271
|
-
"svg|animateMotion",
|
|
272
|
-
"svg|animateTransform",
|
|
273
|
-
"svg|discard",
|
|
274
|
-
"svg|mpath",
|
|
275
|
-
"svg|set"
|
|
276
|
-
],
|
|
277
|
-
"#SVGBasicShapes": ["svg|circle", "svg|ellipse", "svg|line", "svg|polygon", "svg|polyline", "svg|rect"],
|
|
278
|
-
"#SVGContainer": [
|
|
279
|
-
"svg|a",
|
|
280
|
-
"svg|defs",
|
|
281
|
-
"svg|g",
|
|
282
|
-
"svg|marker",
|
|
283
|
-
"svg|mask",
|
|
284
|
-
"svg|missing-glyph",
|
|
285
|
-
"svg|pattern",
|
|
286
|
-
"svg|svg",
|
|
287
|
-
"svg|switch",
|
|
288
|
-
"svg|symbol"
|
|
289
|
-
],
|
|
290
|
-
"#SVGDescriptive": ["svg|desc", "svg|metadata", "svg|title"],
|
|
291
|
-
"#SVGFilterPrimitive": [
|
|
292
|
-
"svg|feBlend",
|
|
293
|
-
"svg|feColorMatrix",
|
|
294
|
-
"svg|feComponentTransfer",
|
|
295
|
-
"svg|feComposite",
|
|
296
|
-
"svg|feConvolveMatrix",
|
|
297
|
-
"svg|feDiffuseLighting",
|
|
298
|
-
"svg|feDisplacementMap",
|
|
299
|
-
"svg|feDropShadow",
|
|
300
|
-
"svg|feFlood",
|
|
301
|
-
"svg|feFuncA",
|
|
302
|
-
"svg|feFuncB",
|
|
303
|
-
"svg|feFuncG",
|
|
304
|
-
"svg|feFuncR",
|
|
305
|
-
"svg|feGaussianBlur",
|
|
306
|
-
"svg|feImage",
|
|
307
|
-
"svg|feMerge",
|
|
308
|
-
"svg|feMergeNode",
|
|
309
|
-
"svg|feMorphology",
|
|
310
|
-
"svg|feOffset",
|
|
311
|
-
"svg|feSpecularLighting",
|
|
312
|
-
"svg|feTile",
|
|
313
|
-
"svg|feTurbulence"
|
|
314
|
-
],
|
|
315
|
-
"#SVGFont": [
|
|
316
|
-
"svg|font",
|
|
317
|
-
"svg|font-face",
|
|
318
|
-
"svg|font-face-format",
|
|
319
|
-
"svg|font-face-name",
|
|
320
|
-
"svg|font-face-src",
|
|
321
|
-
"svg|font-face-uri",
|
|
322
|
-
"svg|hkern",
|
|
323
|
-
"svg|vkern"
|
|
324
|
-
],
|
|
325
|
-
"#SVGGradient": ["svg|linearGradient", "svg|radialGradient", "svg|stop"],
|
|
326
|
-
"#SVGGraphics": [
|
|
327
|
-
"svg|circle",
|
|
328
|
-
"svg|ellipse",
|
|
329
|
-
"svg|image",
|
|
330
|
-
"svg|line",
|
|
331
|
-
"svg|path",
|
|
332
|
-
"svg|polygon",
|
|
333
|
-
"svg|polyline",
|
|
334
|
-
"svg|rect",
|
|
335
|
-
"svg|text",
|
|
336
|
-
"svg|use"
|
|
337
|
-
],
|
|
338
|
-
"#SVGGraphicsReferencing": ["svg|use"],
|
|
339
|
-
"#SVGLightSource": ["svg|feDistantLight", "svg|fePointLight", "svg|feSpotLight"],
|
|
340
|
-
"#SVGNeverRendered": [
|
|
341
|
-
"svg|clipPath",
|
|
342
|
-
"svg|defs",
|
|
343
|
-
"svg|linearGradient",
|
|
344
|
-
"svg|marker",
|
|
345
|
-
"svg|mask",
|
|
346
|
-
"svg|metadata",
|
|
347
|
-
"svg|pattern",
|
|
348
|
-
"svg|radialGradient",
|
|
349
|
-
"svg|script",
|
|
350
|
-
"svg|style",
|
|
351
|
-
"svg|symbol",
|
|
352
|
-
"svg|title"
|
|
353
|
-
],
|
|
354
|
-
"#SVGPaintServer": ["svg|linearGradient", "svg|pattern", "svg|radialGradient", "svg|solidcolor"],
|
|
355
|
-
"#SVGRenderable": [
|
|
356
|
-
"svg|a",
|
|
357
|
-
"svg|circle",
|
|
358
|
-
"svg|ellipse",
|
|
359
|
-
"svg|foreignObject",
|
|
360
|
-
"svg|g",
|
|
361
|
-
"svg|image",
|
|
362
|
-
"svg|line",
|
|
363
|
-
"svg|path",
|
|
364
|
-
"svg|polygon",
|
|
365
|
-
"svg|polyline",
|
|
366
|
-
"svg|rect",
|
|
367
|
-
"svg|svg",
|
|
368
|
-
"svg|switch",
|
|
369
|
-
"svg|symbol",
|
|
370
|
-
"svg|text",
|
|
371
|
-
"svg|textPath",
|
|
372
|
-
"svg|tspan",
|
|
373
|
-
"svg|unknown",
|
|
374
|
-
"svg|use"
|
|
375
|
-
],
|
|
376
|
-
"#SVGShape": ["svg|circle", "svg|ellipse", "svg|line", "svg|path", "svg|polygon", "svg|polyline", "svg|rect"],
|
|
377
|
-
"#SVGStructural": ["svg|defs", "svg|g", "svg|svg", "svg|symbol", "svg|use"],
|
|
378
|
-
"#SVGStructurallyExternal": [],
|
|
379
|
-
"#SVGTextContent": [
|
|
380
|
-
"svg|altGlyph",
|
|
381
|
-
"svg|altGlyphDef",
|
|
382
|
-
"svg|altGlyphItem",
|
|
383
|
-
"svg|glyph",
|
|
384
|
-
"svg|glyphRef",
|
|
385
|
-
"svg|textPath",
|
|
386
|
-
"svg|text",
|
|
387
|
-
"svg|tref",
|
|
388
|
-
"svg|tspan"
|
|
389
|
-
],
|
|
390
|
-
"#SVGTextContentChild": ["svg|altGlyph", "svg|textPath", "svg|tref", "svg|tspan"]
|
|
391
|
-
}
|
|
392
|
-
}
|
package/src/spec.a.json
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-a
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-a
|
|
4
|
-
// https://www.w3.org/TR/html-aam-1.0/#:~:text=Collapse%20all-,a%20(represents%20a%20hyperlink),-a%20(no%20href
|
|
5
|
-
{
|
|
6
|
-
"contentModel": {
|
|
7
|
-
"contents": [
|
|
8
|
-
{
|
|
9
|
-
"transparent": ":not(:model(interactive), a, [tabindex], :has(:model(interactive), a, [tabindex]))"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"globalAttrs": {
|
|
14
|
-
"#HTMLGlobalAttrs": true,
|
|
15
|
-
"#GlobalEventAttrs": true,
|
|
16
|
-
"#DocumentElementEventAttrs": true,
|
|
17
|
-
"#ARIAAttrs": true,
|
|
18
|
-
"#HTMLLinkAndFetchingAttrs": ["href", "target", "download", "ping", "rel", "hreflang", "type", "referrerpolicy"]
|
|
19
|
-
},
|
|
20
|
-
"attributes": {},
|
|
21
|
-
"aria": {
|
|
22
|
-
"implicitRole": "link",
|
|
23
|
-
"permittedRoles": [
|
|
24
|
-
"button",
|
|
25
|
-
"checkbox",
|
|
26
|
-
"menuitem",
|
|
27
|
-
"menuitemcheckbox",
|
|
28
|
-
"menuitemradio",
|
|
29
|
-
"option",
|
|
30
|
-
"radio",
|
|
31
|
-
"switch",
|
|
32
|
-
"tab",
|
|
33
|
-
"treeitem"
|
|
34
|
-
],
|
|
35
|
-
"properties": {
|
|
36
|
-
"global": true,
|
|
37
|
-
"role": true,
|
|
38
|
-
"without": [
|
|
39
|
-
{
|
|
40
|
-
"type": "not-recommended",
|
|
41
|
-
"name": "aria-disabled",
|
|
42
|
-
"value": "true",
|
|
43
|
-
"alt": {
|
|
44
|
-
"method": "remove-attr",
|
|
45
|
-
"target": "href"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"conditions": {
|
|
51
|
-
":not([href])": {
|
|
52
|
-
"implicitRole": false,
|
|
53
|
-
"permittedRoles": true,
|
|
54
|
-
"namingProhibited": true
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
package/src/spec.abbr.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-abbr-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-abbr
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-abbr
|
|
4
|
-
// https://www.w3.org/TR/html-aam-1.0/#:~:text=no%20href%20attribute)-,abbr,-address
|
|
5
|
-
{
|
|
6
|
-
"contentModel": {
|
|
7
|
-
"contents": [
|
|
8
|
-
{
|
|
9
|
-
"oneOrMore": ":model(phrasing)"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"globalAttrs": {
|
|
14
|
-
"#HTMLGlobalAttrs": true,
|
|
15
|
-
"#GlobalEventAttrs": true,
|
|
16
|
-
"#DocumentElementEventAttrs": true,
|
|
17
|
-
"#ARIAAttrs": true
|
|
18
|
-
},
|
|
19
|
-
"attributes": {},
|
|
20
|
-
"aria": {
|
|
21
|
-
"implicitRole": false,
|
|
22
|
-
"permittedRoles": true,
|
|
23
|
-
"namingProhibited": true
|
|
24
|
-
}
|
|
25
|
-
}
|
package/src/spec.address.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/sections.html#the-address-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-address
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-address
|
|
4
|
-
// https://www.w3.org/TR/html-aam-1.0/#:~:text=abbr-,address,-area%20(represents%20a
|
|
5
|
-
{
|
|
6
|
-
"contentModel": {
|
|
7
|
-
"contents": [
|
|
8
|
-
{
|
|
9
|
-
"oneOrMore": ":model(flow):not(address, :model(heading), :model(sectioning), header, foooter, :has(address, :model(heading), :model(sectioning), header, foooter))"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"globalAttrs": {
|
|
14
|
-
"#HTMLGlobalAttrs": true,
|
|
15
|
-
"#GlobalEventAttrs": true,
|
|
16
|
-
"#DocumentElementEventAttrs": true,
|
|
17
|
-
"#ARIAAttrs": true
|
|
18
|
-
},
|
|
19
|
-
"attributes": {},
|
|
20
|
-
"aria": {
|
|
21
|
-
"implicitRole": false,
|
|
22
|
-
"permittedRoles": true,
|
|
23
|
-
"namingProhibited": true
|
|
24
|
-
}
|
|
25
|
-
}
|
package/src/spec.area.json
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/image-maps.html#the-area-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-area
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-area
|
|
4
|
-
// https://www.w3.org/TR/html-aam-1.0/#:~:text=Comments-,area%20(represents%20a%20hyperlink),-area%20(no%20href
|
|
5
|
-
{
|
|
6
|
-
"contentModel": {
|
|
7
|
-
"contents": false,
|
|
8
|
-
"descendantOf": "map"
|
|
9
|
-
},
|
|
10
|
-
"globalAttrs": {
|
|
11
|
-
"#HTMLGlobalAttrs": true,
|
|
12
|
-
"#GlobalEventAttrs": true,
|
|
13
|
-
"#DocumentElementEventAttrs": true,
|
|
14
|
-
"#ARIAAttrs": true,
|
|
15
|
-
"#HTMLLinkAndFetchingAttrs": ["href", "target", "download", "ping", "rel", "hreflang", "type", "referrerpolicy"]
|
|
16
|
-
},
|
|
17
|
-
"attributes": {
|
|
18
|
-
// https://html.spec.whatwg.org/multipage/image-maps.html#attr-area-alt
|
|
19
|
-
"alt": {
|
|
20
|
-
"type": "Any",
|
|
21
|
-
"required": true,
|
|
22
|
-
"condition": "[href]"
|
|
23
|
-
},
|
|
24
|
-
// https://html.spec.whatwg.org/multipage/image-maps.html#attr-area-coords
|
|
25
|
-
"coords": {
|
|
26
|
-
"type": {
|
|
27
|
-
"token": "Number",
|
|
28
|
-
"disallowToSurroundBySpaces": true,
|
|
29
|
-
"separator": "comma"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
// https://html.spec.whatwg.org/multipage/image-maps.html#attr-area-shape
|
|
33
|
-
"shape": {
|
|
34
|
-
"type": {
|
|
35
|
-
"enum": ["rect", "circle", "poly", "default"],
|
|
36
|
-
"missingValueDefault": "rect",
|
|
37
|
-
"invalidValueDefault": "rect"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"aria": {
|
|
42
|
-
"implicitRole": "link",
|
|
43
|
-
"permittedRoles": false,
|
|
44
|
-
"properties": {
|
|
45
|
-
"global": true,
|
|
46
|
-
"role": "link"
|
|
47
|
-
},
|
|
48
|
-
"conditions": {
|
|
49
|
-
":not([href])": {
|
|
50
|
-
"implicitRole": false,
|
|
51
|
-
"permittedRoles": ["button", "link"],
|
|
52
|
-
"namingProhibited": true
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"1.1": {
|
|
56
|
-
"conditions": {
|
|
57
|
-
":not([href])": {
|
|
58
|
-
"implicitRole": false,
|
|
59
|
-
"permittedRoles": false
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
package/src/spec.article.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/sections.html#the-article-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-article
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-article
|
|
4
|
-
// https://www.w3.org/TR/html-aam-1.0/#:~:text=Comments-,article,-aside%20(scoped%20to
|
|
5
|
-
{
|
|
6
|
-
"contentModel": {
|
|
7
|
-
"contents": [
|
|
8
|
-
{
|
|
9
|
-
"oneOrMore": ":model(flow)"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"globalAttrs": {
|
|
14
|
-
"#HTMLGlobalAttrs": true,
|
|
15
|
-
"#GlobalEventAttrs": true,
|
|
16
|
-
"#DocumentElementEventAttrs": true,
|
|
17
|
-
"#ARIAAttrs": true
|
|
18
|
-
},
|
|
19
|
-
"attributes": {},
|
|
20
|
-
"aria": {
|
|
21
|
-
"implicitRole": "article",
|
|
22
|
-
"permittedRoles": ["application", "document", "feed", "main", "none", "presentation", "region"]
|
|
23
|
-
}
|
|
24
|
-
}
|
package/src/spec.aside.json
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/sections.html#the-aside-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-aside
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-aside
|
|
4
|
-
// https://www.w3.org/TR/html-aam-1.0/#:~:text=Comments-,aside%20(scoped%20to%20the%20body%20or%20main%20element),-aside%20(scoped%20to
|
|
5
|
-
{
|
|
6
|
-
"contentModel": {
|
|
7
|
-
"contents": [
|
|
8
|
-
{
|
|
9
|
-
"oneOrMore": ":model(flow)"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"globalAttrs": {
|
|
14
|
-
"#HTMLGlobalAttrs": true,
|
|
15
|
-
"#GlobalEventAttrs": true,
|
|
16
|
-
"#DocumentElementEventAttrs": true,
|
|
17
|
-
"#ARIAAttrs": true
|
|
18
|
-
},
|
|
19
|
-
"attributes": {},
|
|
20
|
-
"aria": {
|
|
21
|
-
// v1.2 later
|
|
22
|
-
// "implicitRole": "generic",
|
|
23
|
-
// "conditions": [
|
|
24
|
-
// {
|
|
25
|
-
// "condition": ":is(body, main) aside",
|
|
26
|
-
// "role": "complementary"
|
|
27
|
-
// },
|
|
28
|
-
// {
|
|
29
|
-
// // Sectioning content elements are: article, aside, nav, section
|
|
30
|
-
// // Sectioning root elements are: blockquote, body, details, dialog, fieldset, figure, td
|
|
31
|
-
// "condition": ":is(article, aside, nav, section, blockquote, details, dialog, fieldset, figure, td) aside:hasaccname",
|
|
32
|
-
// "role": "complementary"
|
|
33
|
-
// }
|
|
34
|
-
// ]
|
|
35
|
-
"implicitRole": "complementary",
|
|
36
|
-
"permittedRoles": ["feed", "none", "note", "presentation", "region", "search"]
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/spec.audio.json
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/media.html#the-audio-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-audio
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-audio
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"zeroOrMore": "source"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"zeroOrMore": "track"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"transparent": ":not(audio, video, :has(audio, video))"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"conditional": [
|
|
18
|
-
{
|
|
19
|
-
"condition": "[src]",
|
|
20
|
-
"contents": [
|
|
21
|
-
{
|
|
22
|
-
"zeroOrMore": "track"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"transparent": ":not(audio, video, :has(audio, video))"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"globalAttrs": {
|
|
32
|
-
"#HTMLGlobalAttrs": true,
|
|
33
|
-
"#GlobalEventAttrs": true,
|
|
34
|
-
"#DocumentElementEventAttrs": true,
|
|
35
|
-
"#ARIAAttrs": true,
|
|
36
|
-
"#HTMLLinkAndFetchingAttrs": ["crossorigin"],
|
|
37
|
-
"#HTMLEmbededAndMediaContentAttrs": ["src", "preload", "autoplay", "loop", "muted", "controls"]
|
|
38
|
-
},
|
|
39
|
-
"attributes": {},
|
|
40
|
-
"aria": {
|
|
41
|
-
"implicitRole": false,
|
|
42
|
-
"permittedRoles": ["application"],
|
|
43
|
-
"properties": {
|
|
44
|
-
"global": true,
|
|
45
|
-
"role": "application"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
package/src/spec.b.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-b-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-b
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-b
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(phrasing)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": false,
|
|
21
|
-
"permittedRoles": true,
|
|
22
|
-
"namingProhibited": true
|
|
23
|
-
}
|
|
24
|
-
}
|