@markuplint/html-spec 3.0.0-dev.25 → 3.0.0-dev.40
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.base.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#the-base-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-base
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-base
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": false
|
|
7
|
-
},
|
|
8
|
-
"globalAttrs": {
|
|
9
|
-
"#HTMLGlobalAttrs": true,
|
|
10
|
-
"#GlobalEventAttrs": true,
|
|
11
|
-
"#DocumentElementEventAttrs": true,
|
|
12
|
-
"#ARIAAttrs": true,
|
|
13
|
-
"#HTMLLinkAndFetchingAttrs": ["href", "target"]
|
|
14
|
-
},
|
|
15
|
-
"attributes": {},
|
|
16
|
-
"aria": {
|
|
17
|
-
"implicitRole": false,
|
|
18
|
-
"permittedRoles": false,
|
|
19
|
-
"properties": false
|
|
20
|
-
}
|
|
21
|
-
}
|
package/src/spec.bdi.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-bdi-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-bdi
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-bdi
|
|
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.bdo.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-bdo-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-bdo
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-bdo
|
|
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.blockquote.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-blockquote
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-blockquote
|
|
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
|
-
// https://html.spec.whatwg.org/multipage/grouping-content.html#attr-blockquote-cite
|
|
20
|
-
"cite": {
|
|
21
|
-
"type": "URL"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"aria": {
|
|
25
|
-
"implicitRole": "blockquote",
|
|
26
|
-
"permittedRoles": true,
|
|
27
|
-
"1.1": {
|
|
28
|
-
"implicitRole": false
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
package/src/spec.body.json
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/sections.html#the-body-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-body
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-body
|
|
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
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onafterprint
|
|
20
|
-
"onafterprint": {
|
|
21
|
-
"type": "FunctionBody"
|
|
22
|
-
},
|
|
23
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onbeforeprint
|
|
24
|
-
"onbeforeprint": {
|
|
25
|
-
"type": "FunctionBody"
|
|
26
|
-
},
|
|
27
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onbeforeunload
|
|
28
|
-
"onbeforeunload": {
|
|
29
|
-
"type": "FunctionBody"
|
|
30
|
-
},
|
|
31
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onhashchange
|
|
32
|
-
"onhashchange": {
|
|
33
|
-
"type": "FunctionBody"
|
|
34
|
-
},
|
|
35
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onlanguagechange
|
|
36
|
-
"onlanguagechange": {
|
|
37
|
-
"type": "FunctionBody"
|
|
38
|
-
},
|
|
39
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onmessage
|
|
40
|
-
"onmessage": {
|
|
41
|
-
"type": "FunctionBody"
|
|
42
|
-
},
|
|
43
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onmessageerror
|
|
44
|
-
"onmessageerror": {
|
|
45
|
-
"type": "FunctionBody"
|
|
46
|
-
},
|
|
47
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onoffline
|
|
48
|
-
"onoffline": {
|
|
49
|
-
"type": "FunctionBody"
|
|
50
|
-
},
|
|
51
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-ononline
|
|
52
|
-
"ononline": {
|
|
53
|
-
"type": "FunctionBody"
|
|
54
|
-
},
|
|
55
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpagehide
|
|
56
|
-
"onpagehide": {
|
|
57
|
-
"type": "FunctionBody"
|
|
58
|
-
},
|
|
59
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpageshow
|
|
60
|
-
"onpageshow": {
|
|
61
|
-
"type": "FunctionBody"
|
|
62
|
-
},
|
|
63
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpopstate
|
|
64
|
-
"onpopstate": {
|
|
65
|
-
"type": "FunctionBody"
|
|
66
|
-
},
|
|
67
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onrejectionhandled
|
|
68
|
-
"onrejectionhandled": {
|
|
69
|
-
"type": "FunctionBody"
|
|
70
|
-
},
|
|
71
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onstorage
|
|
72
|
-
"onstorage": {
|
|
73
|
-
"type": "FunctionBody"
|
|
74
|
-
},
|
|
75
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onunhandledrejection
|
|
76
|
-
"onunhandledrejection": {
|
|
77
|
-
"type": "FunctionBody"
|
|
78
|
-
},
|
|
79
|
-
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onunload
|
|
80
|
-
"onunload": {
|
|
81
|
-
"type": "FunctionBody"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"aria": {
|
|
85
|
-
"implicitRole": "generic",
|
|
86
|
-
"permittedRoles": false,
|
|
87
|
-
"namingProhibited": true,
|
|
88
|
-
"properties": {
|
|
89
|
-
"global": true
|
|
90
|
-
},
|
|
91
|
-
"1.1": {
|
|
92
|
-
"implicitRole": false,
|
|
93
|
-
"permittedRoles": false,
|
|
94
|
-
"properties": {
|
|
95
|
-
"global": true,
|
|
96
|
-
"role": "document"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
package/src/spec.br.json
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-br-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-br
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-br
|
|
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": false,
|
|
21
|
-
"permittedRoles": ["none", "presentation"],
|
|
22
|
-
"properties": {
|
|
23
|
-
"only": ["aria-hidden"]
|
|
24
|
-
},
|
|
25
|
-
"1.1": {
|
|
26
|
-
"properties": {
|
|
27
|
-
"global": true,
|
|
28
|
-
"role": true
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
package/src/spec.button.json
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-button
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-button
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(phrasing):not(:model(interactive), :has(:model(interactive)))"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true,
|
|
17
|
-
"#HTMLFormControlElementAttrs": [
|
|
18
|
-
"disabled",
|
|
19
|
-
"form",
|
|
20
|
-
"formaction",
|
|
21
|
-
"formenctype",
|
|
22
|
-
"formmethod",
|
|
23
|
-
"formnovalidate",
|
|
24
|
-
"formtarget",
|
|
25
|
-
"name"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"attributes": {
|
|
29
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type
|
|
30
|
-
"type": {
|
|
31
|
-
"type": {
|
|
32
|
-
"enum": ["submit", "reset", "button"],
|
|
33
|
-
"invalidValueDefault": "submit",
|
|
34
|
-
"missingValueDefault": "submit"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-value
|
|
38
|
-
"value": {
|
|
39
|
-
"type": "Any"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"aria": {
|
|
43
|
-
"implicitRole": "button",
|
|
44
|
-
"permittedRoles": [
|
|
45
|
-
"checkbox",
|
|
46
|
-
"combobox",
|
|
47
|
-
"link",
|
|
48
|
-
"menuitem",
|
|
49
|
-
"menuitemcheckbox",
|
|
50
|
-
"menuitemradio",
|
|
51
|
-
"option",
|
|
52
|
-
"radio",
|
|
53
|
-
"switch",
|
|
54
|
-
"tab"
|
|
55
|
-
],
|
|
56
|
-
"1.1": {
|
|
57
|
-
"permittedRoles": [
|
|
58
|
-
"checkbox",
|
|
59
|
-
"link",
|
|
60
|
-
"menuitem",
|
|
61
|
-
"menuitemcheckbox",
|
|
62
|
-
"menuitemradio",
|
|
63
|
-
"option",
|
|
64
|
-
"radio",
|
|
65
|
-
"switch",
|
|
66
|
-
"tab"
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
package/src/spec.canvas.json
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/canvas.html#the-canvas-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-canvas
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-canvas
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"transparent": ":not(:model(interactive), :has(:model(interactive)))"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true,
|
|
17
|
-
"#HTMLEmbededAndMediaContentAttrs": ["height", "width"]
|
|
18
|
-
},
|
|
19
|
-
"attributes": {
|
|
20
|
-
// https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-height
|
|
21
|
-
"height": {
|
|
22
|
-
"defaultValue": "150"
|
|
23
|
-
},
|
|
24
|
-
// https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-width
|
|
25
|
-
"width": {
|
|
26
|
-
"defaultValue": "300"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"aria": {
|
|
30
|
-
"implicitRole": false,
|
|
31
|
-
"permittedRoles": true
|
|
32
|
-
}
|
|
33
|
-
}
|
package/src/spec.caption.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/tables.html#the-caption-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-i
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-i
|
|
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": "caption",
|
|
21
|
-
"permittedRoles": false,
|
|
22
|
-
"namingProhibited": true,
|
|
23
|
-
"properties": {
|
|
24
|
-
"global": true
|
|
25
|
-
},
|
|
26
|
-
"1.1": {
|
|
27
|
-
"implicitRole": false
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
package/src/spec.cite.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-cite-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-cite
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-cite
|
|
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.code.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-code
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-code
|
|
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": "code",
|
|
21
|
-
"permittedRoles": true,
|
|
22
|
-
"namingProhibited": true,
|
|
23
|
-
"1.1": {
|
|
24
|
-
"implicitRole": false
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
package/src/spec.col.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/tables.html#the-col-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-col
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-col
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": false
|
|
7
|
-
},
|
|
8
|
-
"globalAttrs": {
|
|
9
|
-
"#HTMLGlobalAttrs": true,
|
|
10
|
-
"#GlobalEventAttrs": true,
|
|
11
|
-
"#DocumentElementEventAttrs": true,
|
|
12
|
-
"#ARIAAttrs": true
|
|
13
|
-
},
|
|
14
|
-
"attributes": {
|
|
15
|
-
// https://html.spec.whatwg.org/multipage/tables.html#attr-col-span
|
|
16
|
-
"span": {
|
|
17
|
-
"type": {
|
|
18
|
-
"type": "integer",
|
|
19
|
-
"gt": 0,
|
|
20
|
-
"lte": 1000,
|
|
21
|
-
"clampable": true
|
|
22
|
-
},
|
|
23
|
-
"defaultValue": "1"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"aria": {
|
|
27
|
-
"implicitRole": false,
|
|
28
|
-
"permittedRoles": false,
|
|
29
|
-
"properties": false
|
|
30
|
-
}
|
|
31
|
-
}
|
package/src/spec.colgroup.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/tables.html#the-colgroup-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-colgroup
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-colgroup
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"zeroOrMore": "col"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"conditional": [
|
|
12
|
-
{
|
|
13
|
-
"condition": "[span]",
|
|
14
|
-
"contents": false
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"globalAttrs": {
|
|
19
|
-
"#HTMLGlobalAttrs": true,
|
|
20
|
-
"#GlobalEventAttrs": true,
|
|
21
|
-
"#DocumentElementEventAttrs": true,
|
|
22
|
-
"#ARIAAttrs": true
|
|
23
|
-
},
|
|
24
|
-
"attributes": {
|
|
25
|
-
// https://html.spec.whatwg.org/multipage/tables.html#attr-colgroup-span
|
|
26
|
-
"span": {
|
|
27
|
-
"type": {
|
|
28
|
-
"type": "integer",
|
|
29
|
-
"gt": 0,
|
|
30
|
-
"lte": 1000,
|
|
31
|
-
"clampable": true
|
|
32
|
-
},
|
|
33
|
-
"defaultValue": "1"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"aria": {
|
|
37
|
-
"implicitRole": false,
|
|
38
|
-
"permittedRoles": false,
|
|
39
|
-
"properties": false
|
|
40
|
-
}
|
|
41
|
-
}
|
package/src/spec.data.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-data-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-data
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-data
|
|
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
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#attr-data-value
|
|
20
|
-
"value": {
|
|
21
|
-
"type": "Any"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"aria": {
|
|
25
|
-
"implicitRole": false,
|
|
26
|
-
"permittedRoles": true,
|
|
27
|
-
"namingProhibited": true
|
|
28
|
-
}
|
|
29
|
-
}
|
package/src/spec.datalist.json
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-datalist
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-datalist
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"choice": [
|
|
9
|
-
[
|
|
10
|
-
{
|
|
11
|
-
"oneOrMore": ":model(phrasing)"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
{
|
|
16
|
-
"zeroOrMore": ["option", ":model(script-supporting)"]
|
|
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": "listbox",
|
|
32
|
-
"permittedRoles": false,
|
|
33
|
-
"properties": {
|
|
34
|
-
"global": true,
|
|
35
|
-
"role": "listbox"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/spec.dd.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/grouping-content.html#the-dd-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-dd
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-dd
|
|
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": false,
|
|
21
|
-
"permittedRoles": false,
|
|
22
|
-
"properties": {
|
|
23
|
-
"global": true,
|
|
24
|
-
"role": "definition"
|
|
25
|
-
},
|
|
26
|
-
"1.1": {
|
|
27
|
-
"implicitRole": "definition"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
package/src/spec.del.json
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/edits.html#the-del-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-del
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-del
|
|
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/edits.html#attr-mod-cite
|
|
20
|
-
"cite": {
|
|
21
|
-
"type": "URL"
|
|
22
|
-
},
|
|
23
|
-
// https://html.spec.whatwg.org/multipage/edits.html#attr-mod-datetime
|
|
24
|
-
"datetime": {
|
|
25
|
-
"type": "DateTime"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"aria": {
|
|
29
|
-
"implicitRole": "deletion",
|
|
30
|
-
"permittedRoles": true,
|
|
31
|
-
"namingProhibited": true,
|
|
32
|
-
"1.1": {
|
|
33
|
-
"implicitRole": false
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
package/src/spec.details.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-details
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-details
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"require": "summary"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"oneOrMore": ":model(flow)"
|
|
12
|
-
}
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"globalAttrs": {
|
|
16
|
-
"#HTMLGlobalAttrs": true,
|
|
17
|
-
"#GlobalEventAttrs": true,
|
|
18
|
-
"#DocumentElementEventAttrs": true,
|
|
19
|
-
"#ARIAAttrs": true
|
|
20
|
-
},
|
|
21
|
-
"attributes": {
|
|
22
|
-
// https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-details-open
|
|
23
|
-
"open": {
|
|
24
|
-
"type": "Boolean"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"aria": {
|
|
28
|
-
"implicitRole": "group",
|
|
29
|
-
"permittedRoles": false,
|
|
30
|
-
"properties": {
|
|
31
|
-
"global": true,
|
|
32
|
-
"role": "group"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|