@markuplint/html-spec 3.0.0-dev.25 → 3.0.0-dev.38
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/package.json +3 -3
- 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
- package/src/structure.test.ts +0 -84
package/src/spec.section.json
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/sections.html#the-section-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-section
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-section
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(flow)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
// role=region if the section element has an accessible name. Otherwise, no corresponding role.
|
|
21
|
-
"implicitRole": false,
|
|
22
|
-
"permittedRoles": [
|
|
23
|
-
"alert",
|
|
24
|
-
"alertdialog",
|
|
25
|
-
"application",
|
|
26
|
-
"banner",
|
|
27
|
-
"complementary",
|
|
28
|
-
"contentinfo",
|
|
29
|
-
"dialog",
|
|
30
|
-
"document",
|
|
31
|
-
"feed",
|
|
32
|
-
"group",
|
|
33
|
-
"log",
|
|
34
|
-
"main",
|
|
35
|
-
"marquee",
|
|
36
|
-
"navigation",
|
|
37
|
-
"none",
|
|
38
|
-
"note",
|
|
39
|
-
"presentation",
|
|
40
|
-
"search",
|
|
41
|
-
"status",
|
|
42
|
-
"tabpanel"
|
|
43
|
-
],
|
|
44
|
-
"conditions": {
|
|
45
|
-
":aria(has name)": {
|
|
46
|
-
"implicitRole": "region"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"1.1": {
|
|
50
|
-
"permittedRoles": [
|
|
51
|
-
"alert",
|
|
52
|
-
"alertdialog",
|
|
53
|
-
"application",
|
|
54
|
-
"banner",
|
|
55
|
-
"complementary",
|
|
56
|
-
"contentinfo",
|
|
57
|
-
"dialog",
|
|
58
|
-
"document",
|
|
59
|
-
"feed",
|
|
60
|
-
"log",
|
|
61
|
-
"main",
|
|
62
|
-
"marquee",
|
|
63
|
-
"navigation",
|
|
64
|
-
"none",
|
|
65
|
-
"note",
|
|
66
|
-
"presentation",
|
|
67
|
-
"search",
|
|
68
|
-
"status",
|
|
69
|
-
"tabpanel"
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
package/src/spec.select.json
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#the-select-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-select
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-select
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"zeroOrMore": ["option", "optgroup"]
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true,
|
|
17
|
-
"#HTMLFormControlElementAttrs": ["autocomplete", "disabled", "form", "name", "required"]
|
|
18
|
-
},
|
|
19
|
-
"attributes": {
|
|
20
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-multiple
|
|
21
|
-
"multiple": {
|
|
22
|
-
"type": "Boolean"
|
|
23
|
-
},
|
|
24
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-size
|
|
25
|
-
"size": {
|
|
26
|
-
"type": {
|
|
27
|
-
"type": "integer",
|
|
28
|
-
"gt": 0
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"aria": {
|
|
33
|
-
"implicitRole": "combobox",
|
|
34
|
-
"permittedRoles": ["menu"],
|
|
35
|
-
"properties": {
|
|
36
|
-
// Otherwise, any global aria-* attributes and any other aria-* attributes applicable to the combobox or menu role.
|
|
37
|
-
"global": true,
|
|
38
|
-
"role": ["combobox", "menu"],
|
|
39
|
-
// Authors SHOULD NOT use the aria-multiselectable attribute on a select element.
|
|
40
|
-
"without": [
|
|
41
|
-
{
|
|
42
|
-
"type": "should-not",
|
|
43
|
-
"name": "aria-multiselectable"
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
"conditions": {
|
|
48
|
-
"[multiple], [size]:not([size=1])": {
|
|
49
|
-
"implicitRole": "listbox",
|
|
50
|
-
"permittedRoles": false,
|
|
51
|
-
"properties": {
|
|
52
|
-
// Otherwise, any global aria-* attributes and any other aria-* attributes applicable to the listbox role.
|
|
53
|
-
"global": true,
|
|
54
|
-
"role": "listbox",
|
|
55
|
-
// Authors SHOULD NOT use the aria-multiselectable attribute on a select element.
|
|
56
|
-
"without": [
|
|
57
|
-
{
|
|
58
|
-
"type": "should-not",
|
|
59
|
-
"name": "aria-multiselectable"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
package/src/spec.slot.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/scripting.html#the-slot-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-slot
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-slot
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"transparent": "*"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
// https://html.spec.whatwg.org/multipage/scripting.html#attr-slot-name
|
|
20
|
-
"name": {
|
|
21
|
-
"type": "NoEmptyAny"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"aria": {
|
|
25
|
-
"implicitRole": false,
|
|
26
|
-
"permittedRoles": false,
|
|
27
|
-
"properties": false
|
|
28
|
-
}
|
|
29
|
-
}
|
package/src/spec.small.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-samp-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-small
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-small
|
|
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
|
-
}
|
package/src/spec.source.json
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-source
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-source
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": false
|
|
7
|
-
},
|
|
8
|
-
"globalAttrs": {
|
|
9
|
-
"#HTMLGlobalAttrs": true,
|
|
10
|
-
"#GlobalEventAttrs": true,
|
|
11
|
-
"#DocumentElementEventAttrs": true,
|
|
12
|
-
"#ARIAAttrs": true,
|
|
13
|
-
"#HTMLEmbededAndMediaContentAttrs": ["height", "srcset", "sizes", "width"]
|
|
14
|
-
},
|
|
15
|
-
"attributes": {
|
|
16
|
-
"type": {
|
|
17
|
-
// https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-type
|
|
18
|
-
"type": "MIMEType"
|
|
19
|
-
},
|
|
20
|
-
"src": {
|
|
21
|
-
// https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-src
|
|
22
|
-
"type": "URL",
|
|
23
|
-
"required": ":is(video, audio) > source"
|
|
24
|
-
},
|
|
25
|
-
"srcset": {
|
|
26
|
-
// https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-srcset
|
|
27
|
-
"condition": "picture > source"
|
|
28
|
-
},
|
|
29
|
-
"sizes": {
|
|
30
|
-
// https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-sizes
|
|
31
|
-
"condition": "picture > source"
|
|
32
|
-
},
|
|
33
|
-
"media": {
|
|
34
|
-
// https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-media
|
|
35
|
-
"type": "<media-query-list>",
|
|
36
|
-
"condition": "picture > source"
|
|
37
|
-
},
|
|
38
|
-
"width": {
|
|
39
|
-
// https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
|
|
40
|
-
"condition": "picture > source"
|
|
41
|
-
},
|
|
42
|
-
"height": {
|
|
43
|
-
// https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
|
|
44
|
-
"condition": "picture > source"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"aria": {
|
|
48
|
-
"implicitRole": false,
|
|
49
|
-
"permittedRoles": false,
|
|
50
|
-
"properties": false
|
|
51
|
-
}
|
|
52
|
-
}
|
package/src/spec.span.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-span-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-span
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-span
|
|
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
|
-
}
|
package/src/spec.strong.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-strong-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-strong
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-strong
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(flow)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": "strong",
|
|
21
|
-
"permittedRoles": true,
|
|
22
|
-
"namingProhibited": true,
|
|
23
|
-
"1.1": {
|
|
24
|
-
"implicitRole": false
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
package/src/spec.style.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#the-style-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-style
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-style
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"zeroOrMore": "#text"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-style-media
|
|
20
|
-
"media": {
|
|
21
|
-
"type": "<media-query-list>"
|
|
22
|
-
},
|
|
23
|
-
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking
|
|
24
|
-
"blocking": {
|
|
25
|
-
"type": {
|
|
26
|
-
"enum": ["render"]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"aria": {
|
|
31
|
-
"implicitRole": false,
|
|
32
|
-
"permittedRoles": false,
|
|
33
|
-
"properties": false
|
|
34
|
-
}
|
|
35
|
-
}
|
package/src/spec.sub.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-sub-and-sup-elements
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-sub
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-sub
|
|
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": "subscript",
|
|
21
|
-
"permittedRoles": true,
|
|
22
|
-
"namingProhibited": true,
|
|
23
|
-
"1.1": {
|
|
24
|
-
"implicitRole": false
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
package/src/spec.summary.json
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/interactive-elements.html#the-summary-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-summary
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-summary
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"choice": [
|
|
9
|
-
[
|
|
10
|
-
{
|
|
11
|
-
"oneOrMore": ":model(phrasing)"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
{
|
|
16
|
-
"require": ":model(heading)"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"globalAttrs": {
|
|
24
|
-
"#HTMLGlobalAttrs": true,
|
|
25
|
-
"#GlobalEventAttrs": true,
|
|
26
|
-
"#DocumentElementEventAttrs": true,
|
|
27
|
-
"#ARIAAttrs": true
|
|
28
|
-
},
|
|
29
|
-
"attributes": {},
|
|
30
|
-
"aria": {
|
|
31
|
-
"implicitRole": "button",
|
|
32
|
-
"permittedRoles": false,
|
|
33
|
-
"properties": {
|
|
34
|
-
"global": true,
|
|
35
|
-
"role": "button"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/spec.sup.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-sub-and-sup-elements
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-sup
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-sup
|
|
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": "superscript",
|
|
21
|
-
"permittedRoles": true,
|
|
22
|
-
"namingProhibited": true,
|
|
23
|
-
"1.1": {
|
|
24
|
-
"implicitRole": false
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
package/src/spec.svg_a.json
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
// https://svgwg.org/svg2-draft/linking.html#elementdef-a
|
|
2
|
-
// https://www.w3.org/TR/svg-aam-1.0/#details-id-0
|
|
3
|
-
{
|
|
4
|
-
"contentModel": {
|
|
5
|
-
"conditional": [
|
|
6
|
-
{
|
|
7
|
-
"condition": "svg|switch > svg|a",
|
|
8
|
-
"contents": [
|
|
9
|
-
{
|
|
10
|
-
"transparent": "*"
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"contents": [
|
|
16
|
-
{
|
|
17
|
-
"transparent": "*, :model(SVGDescriptive):not(svg|a, :has(svg|a))"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
},
|
|
21
|
-
"globalAttrs": {
|
|
22
|
-
"#HTMLGlobalAttrs": true,
|
|
23
|
-
"#GlobalEventAttrs": true,
|
|
24
|
-
"#DocumentElementEventAttrs": true,
|
|
25
|
-
"#ARIAAttrs": true,
|
|
26
|
-
"#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
|
|
27
|
-
"#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
|
|
28
|
-
"#SVGPresentationAttrs": [
|
|
29
|
-
"alignment-baseline",
|
|
30
|
-
"baseline-shift",
|
|
31
|
-
"clip",
|
|
32
|
-
"clip-path",
|
|
33
|
-
"clip-rule",
|
|
34
|
-
"color",
|
|
35
|
-
"color-interpolation",
|
|
36
|
-
"color-interpolation-filters",
|
|
37
|
-
"color-rendering",
|
|
38
|
-
"cursor",
|
|
39
|
-
"direction",
|
|
40
|
-
"display",
|
|
41
|
-
"dominant-baseline",
|
|
42
|
-
"enable-background",
|
|
43
|
-
"fill",
|
|
44
|
-
"fill-opacity",
|
|
45
|
-
"fill-rule",
|
|
46
|
-
"filter",
|
|
47
|
-
"flood-color",
|
|
48
|
-
"flood-opacity",
|
|
49
|
-
"font",
|
|
50
|
-
"font-family",
|
|
51
|
-
"font-size",
|
|
52
|
-
"font-size-adjust",
|
|
53
|
-
"font-stretch",
|
|
54
|
-
"font-style",
|
|
55
|
-
"font-variant",
|
|
56
|
-
"font-weight",
|
|
57
|
-
"glyph-orientation-horizontal",
|
|
58
|
-
"glyph-orientation-vertical",
|
|
59
|
-
"image-rendering",
|
|
60
|
-
"isolation",
|
|
61
|
-
"kerning",
|
|
62
|
-
"letter-spacing",
|
|
63
|
-
"lighting-color",
|
|
64
|
-
"marker",
|
|
65
|
-
"marker-end",
|
|
66
|
-
"marker-mid",
|
|
67
|
-
"marker-start",
|
|
68
|
-
"mask",
|
|
69
|
-
"mask-type",
|
|
70
|
-
"opacity",
|
|
71
|
-
"overflow",
|
|
72
|
-
"paint-order",
|
|
73
|
-
"pointer-events",
|
|
74
|
-
"shape-rendering",
|
|
75
|
-
"stop-color",
|
|
76
|
-
"stop-opacity",
|
|
77
|
-
"stroke",
|
|
78
|
-
"stroke-dasharray",
|
|
79
|
-
"stroke-dashoffset",
|
|
80
|
-
"stroke-linecap",
|
|
81
|
-
"stroke-linejoin",
|
|
82
|
-
"stroke-miterlimit",
|
|
83
|
-
"stroke-opacity",
|
|
84
|
-
"stroke-width",
|
|
85
|
-
"text-anchor",
|
|
86
|
-
"text-decoration",
|
|
87
|
-
"text-overflow",
|
|
88
|
-
"text-rendering",
|
|
89
|
-
"transform",
|
|
90
|
-
"transform-origin",
|
|
91
|
-
"unicode-bidi",
|
|
92
|
-
"vector-effect",
|
|
93
|
-
"visibility",
|
|
94
|
-
"white-space",
|
|
95
|
-
"word-spacing",
|
|
96
|
-
"writing-mode"
|
|
97
|
-
],
|
|
98
|
-
"#XLinkAttrs": ["xlink:href", "xlink:title"],
|
|
99
|
-
"#HTMLLinkAndFetchingAttrs": ["href", "target", "download", "ping", "rel", "hreflang", "type", "referrerpolicy"]
|
|
100
|
-
},
|
|
101
|
-
"attributes": {},
|
|
102
|
-
"aria": {
|
|
103
|
-
// link role if the element has a valid href or xlink:href attribute.
|
|
104
|
-
// For a elements that are not links,
|
|
105
|
-
// use the mapping for tspan if the a element is a descendent of text,
|
|
106
|
-
// or the mapping for g otherwise.
|
|
107
|
-
"implicitRole": "group",
|
|
108
|
-
"permittedRoles": {
|
|
109
|
-
"core-aam": true,
|
|
110
|
-
"graphics-aam": true
|
|
111
|
-
},
|
|
112
|
-
"conditions": {
|
|
113
|
-
"[href], [xlink|href]": {
|
|
114
|
-
"implicitRole": "link"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
// https://svgwg.org/specs/animations/#AnimateElement
|
|
2
|
-
// https://www.w3.org/TR/svg-aam-1.0/#details-id-1
|
|
3
|
-
{
|
|
4
|
-
"contentModel": {
|
|
5
|
-
"contents": [
|
|
6
|
-
{
|
|
7
|
-
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
|
|
8
|
-
}
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"globalAttrs": {
|
|
12
|
-
"#GlobalEventAttrs": true,
|
|
13
|
-
"#DocumentElementEventAttrs": true,
|
|
14
|
-
"#SVGAnimationAdditionAttrs": ["additive", "accumulate"],
|
|
15
|
-
"#SVGAnimationAttributeTargetAttrs": ["attributeName"],
|
|
16
|
-
"#SVGAnimationEventAttrs": ["onbegin", "onend", "onrepeat"],
|
|
17
|
-
"#SVGAnimationTargetElementAttrs": ["href"],
|
|
18
|
-
"#SVGAnimationTimingAttrs": [
|
|
19
|
-
"begin",
|
|
20
|
-
"dur",
|
|
21
|
-
"end",
|
|
22
|
-
"min",
|
|
23
|
-
"max",
|
|
24
|
-
"restart",
|
|
25
|
-
"repeatCount",
|
|
26
|
-
"repeatDur",
|
|
27
|
-
"fill"
|
|
28
|
-
],
|
|
29
|
-
"#SVGAnimationValueAttrs": ["calcMode", "values", "keyTimes", "keySplines", "from", "to", "by"],
|
|
30
|
-
"#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
|
|
31
|
-
"#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
|
|
32
|
-
"#SVGPresentationAttrs": [
|
|
33
|
-
"alignment-baseline",
|
|
34
|
-
"baseline-shift",
|
|
35
|
-
"clip",
|
|
36
|
-
"clip-path",
|
|
37
|
-
"clip-rule",
|
|
38
|
-
"color",
|
|
39
|
-
"color-interpolation",
|
|
40
|
-
"color-interpolation-filters",
|
|
41
|
-
"color-rendering",
|
|
42
|
-
"cursor",
|
|
43
|
-
"direction",
|
|
44
|
-
"display",
|
|
45
|
-
"dominant-baseline",
|
|
46
|
-
"enable-background",
|
|
47
|
-
"fill",
|
|
48
|
-
"fill-opacity",
|
|
49
|
-
"fill-rule",
|
|
50
|
-
"filter",
|
|
51
|
-
"flood-color",
|
|
52
|
-
"flood-opacity",
|
|
53
|
-
"font",
|
|
54
|
-
"font-family",
|
|
55
|
-
"font-size",
|
|
56
|
-
"font-size-adjust",
|
|
57
|
-
"font-stretch",
|
|
58
|
-
"font-style",
|
|
59
|
-
"font-variant",
|
|
60
|
-
"font-weight",
|
|
61
|
-
"glyph-orientation-horizontal",
|
|
62
|
-
"glyph-orientation-vertical",
|
|
63
|
-
"image-rendering",
|
|
64
|
-
"isolation",
|
|
65
|
-
"kerning",
|
|
66
|
-
"letter-spacing",
|
|
67
|
-
"lighting-color",
|
|
68
|
-
"marker",
|
|
69
|
-
"marker-end",
|
|
70
|
-
"marker-mid",
|
|
71
|
-
"marker-start",
|
|
72
|
-
"mask",
|
|
73
|
-
"mask-type",
|
|
74
|
-
"opacity",
|
|
75
|
-
"overflow",
|
|
76
|
-
"paint-order",
|
|
77
|
-
"pointer-events",
|
|
78
|
-
"shape-rendering",
|
|
79
|
-
"stop-color",
|
|
80
|
-
"stop-opacity",
|
|
81
|
-
"stroke",
|
|
82
|
-
"stroke-dasharray",
|
|
83
|
-
"stroke-dashoffset",
|
|
84
|
-
"stroke-linecap",
|
|
85
|
-
"stroke-linejoin",
|
|
86
|
-
"stroke-miterlimit",
|
|
87
|
-
"stroke-opacity",
|
|
88
|
-
"stroke-width",
|
|
89
|
-
"text-anchor",
|
|
90
|
-
"text-decoration",
|
|
91
|
-
"text-overflow",
|
|
92
|
-
"text-rendering",
|
|
93
|
-
"transform",
|
|
94
|
-
"transform-origin",
|
|
95
|
-
"unicode-bidi",
|
|
96
|
-
"vector-effect",
|
|
97
|
-
"visibility",
|
|
98
|
-
"white-space",
|
|
99
|
-
"word-spacing",
|
|
100
|
-
"writing-mode"
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
"attributes": {},
|
|
104
|
-
"aria": {
|
|
105
|
-
"implicitRole": false,
|
|
106
|
-
"permittedRoles": false,
|
|
107
|
-
"properties": false
|
|
108
|
-
}
|
|
109
|
-
}
|