@markuplint/html-spec 2.0.0-dev.26 → 2.0.0-rc.5
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.json +8572 -5691
- package/package.json +5 -3
- package/src/aria-in-html/abbr.json +8 -0
- package/src/aria-in-html/address.json +8 -0
- package/src/aria-in-html/b.json +8 -0
- package/src/aria-in-html/base.json +8 -0
- package/src/aria-in-html/bdi.json +8 -0
- package/src/aria-in-html/bdo.json +8 -0
- package/src/aria-in-html/blockquote.json +8 -0
- package/src/aria-in-html/canvas.json +8 -0
- package/src/aria-in-html/caption.json +8 -0
- package/src/aria-in-html/cite.json +8 -0
- package/src/aria-in-html/code.json +8 -0
- package/src/aria-in-html/data.json +8 -0
- package/src/aria-in-html/del.json +8 -0
- package/src/aria-in-html/div.json +8 -0
- package/src/aria-in-html/em.json +8 -0
- package/src/aria-in-html/hgroup.json +8 -0
- package/src/aria-in-html/i.json +8 -0
- package/src/aria-in-html/ins.json +8 -0
- package/src/aria-in-html/kbd.json +8 -0
- package/src/aria-in-html/mark.json +8 -0
- package/src/aria-in-html/p.json +8 -0
- package/src/aria-in-html/pre.json +8 -0
- package/src/aria-in-html/q.json +8 -0
- package/src/aria-in-html/rp.json +8 -0
- package/src/aria-in-html/rt.json +8 -0
- package/src/aria-in-html/ruby.json +8 -0
- package/src/aria-in-html/s.json +8 -0
- package/src/aria-in-html/samp.json +8 -0
- package/src/aria-in-html/small.json +8 -0
- package/src/aria-in-html/span.json +8 -0
- package/src/aria-in-html/strong.json +8 -0
- package/src/aria-in-html/sub.json +8 -0
- package/src/aria-in-html/sup.json +8 -0
- package/src/aria-in-html/td.json +6 -2
- package/src/aria-in-html/time.json +8 -0
- package/src/aria-in-html/u.json +8 -0
- package/src/aria-in-html/var.json +8 -0
- package/src/aria-in-html/wbr.json +8 -0
- package/src/attributes/a.json +9 -40
- package/src/attributes/abbr.json +11 -0
- package/src/attributes/address.json +11 -0
- package/src/attributes/area.json +24 -44
- package/src/attributes/article.json +11 -0
- package/src/attributes/aside.json +11 -0
- package/src/attributes/audio.json +10 -32
- package/src/attributes/b.json +11 -0
- package/src/attributes/base.json +9 -13
- package/src/attributes/bdi.json +11 -0
- package/src/attributes/bdo.json +8 -8
- package/src/attributes/blockquote.json +11 -4
- package/src/attributes/body.json +57 -50
- package/src/attributes/br.json +11 -0
- package/src/attributes/button.json +27 -44
- package/src/attributes/canvas.json +16 -8
- package/src/attributes/caption.json +11 -0
- package/src/attributes/cite.json +11 -0
- package/src/attributes/code.json +11 -0
- package/src/attributes/col.json +18 -5
- package/src/attributes/colgroup.json +18 -5
- package/src/attributes/data.json +12 -5
- package/src/attributes/datalist.json +11 -0
- package/src/attributes/dd.json +11 -0
- package/src/attributes/del.json +14 -7
- package/src/attributes/details.json +11 -9
- package/src/attributes/dfn.json +11 -0
- package/src/attributes/dialog.json +15 -4
- package/src/attributes/div.json +11 -0
- package/src/attributes/dl.json +11 -0
- package/src/attributes/dt.json +11 -0
- package/src/attributes/em.json +11 -0
- package/src/attributes/embed.json +22 -16
- package/src/attributes/fieldset.json +9 -14
- package/src/attributes/figcaption.json +11 -0
- package/src/attributes/figure.json +11 -0
- package/src/attributes/footer.json +11 -0
- package/src/attributes/form.json +62 -29
- package/src/attributes/h1.json +11 -0
- package/src/attributes/h2.json +11 -0
- package/src/attributes/h3.json +11 -0
- package/src/attributes/h4.json +11 -0
- package/src/attributes/h5.json +11 -0
- package/src/attributes/h6.json +11 -0
- package/src/attributes/head.json +11 -0
- package/src/attributes/header.json +11 -0
- package/src/attributes/hgroup.json +11 -0
- package/src/attributes/hr.json +11 -0
- package/src/attributes/html.json +11 -0
- package/src/attributes/i.json +11 -0
- package/src/attributes/iframe.json +51 -57
- package/src/attributes/img.json +31 -50
- package/src/attributes/input.json +138 -121
- package/src/attributes/ins.json +14 -7
- package/src/attributes/kbd.json +11 -0
- package/src/attributes/label.json +11 -8
- package/src/attributes/legend.json +11 -0
- package/src/attributes/li.json +12 -5
- package/src/attributes/link.json +110 -51
- package/src/attributes/main.json +11 -0
- package/src/attributes/map.json +13 -5
- package/src/attributes/mark.json +11 -0
- package/src/attributes/math.json +8 -0
- package/src/attributes/menu.json +11 -0
- package/src/attributes/meta.json +36 -21
- package/src/attributes/meter.json +27 -20
- package/src/attributes/nav.json +11 -0
- package/src/attributes/noscript.json +11 -0
- package/src/attributes/object.json +20 -27
- package/src/attributes/ol.json +19 -9
- package/src/attributes/optgroup.json +13 -9
- package/src/attributes/option.json +18 -14
- package/src/attributes/output.json +12 -12
- package/src/attributes/p.json +11 -0
- package/src/attributes/param.json +17 -8
- package/src/attributes/picture.json +11 -0
- package/src/attributes/portal.json +17 -8
- package/src/attributes/pre.json +11 -0
- package/src/attributes/progress.json +16 -8
- package/src/attributes/q.json +11 -4
- package/src/attributes/rp.json +11 -0
- package/src/attributes/rt.json +11 -0
- package/src/attributes/ruby.json +11 -0
- package/src/attributes/s.json +11 -0
- package/src/attributes/samp.json +11 -0
- package/src/attributes/script.json +48 -27
- package/src/attributes/section.json +11 -0
- package/src/attributes/select.json +17 -29
- package/src/attributes/slot.json +12 -5
- package/src/attributes/small.json +11 -0
- package/src/attributes/source.json +34 -16
- package/src/attributes/span.json +11 -0
- package/src/attributes/strong.json +11 -0
- package/src/attributes/style.json +12 -5
- package/src/attributes/sub.json +11 -0
- package/src/attributes/summary.json +11 -0
- package/src/attributes/sup.json +11 -0
- package/src/attributes/svg_a.json +82 -47
- package/src/attributes/svg_animate.json +94 -13
- package/src/attributes/svg_animateMotion.json +36 -32
- package/src/attributes/svg_animateTransform.json +27 -14
- package/src/attributes/svg_circle.json +88 -26
- package/src/attributes/svg_clipPath.json +79 -15
- package/src/attributes/svg_defs.json +77 -1
- package/src/attributes/svg_desc.json +7 -1
- package/src/attributes/svg_discard.json +13 -10
- package/src/attributes/svg_ellipse.json +89 -27
- package/src/attributes/svg_feBlend.json +89 -40
- package/src/attributes/svg_feColorMatrix.json +86 -38
- package/src/attributes/svg_feComponentTransfer.json +76 -31
- package/src/attributes/svg_feComposite.json +114 -56
- package/src/attributes/svg_feConvolveMatrix.json +119 -62
- package/src/attributes/svg_feDiffuseLighting.json +91 -42
- package/src/attributes/svg_feDisplacementMap.json +101 -47
- package/src/attributes/svg_feDistantLight.json +16 -11
- package/src/attributes/svg_feDropShadow.json +92 -43
- package/src/attributes/svg_feFlood.json +83 -37
- package/src/attributes/svg_feFuncA.json +6 -10
- package/src/attributes/svg_feFuncB.json +6 -10
- package/src/attributes/svg_feFuncG.json +6 -10
- package/src/attributes/svg_feFuncR.json +6 -10
- package/src/attributes/svg_feGaussianBlur.json +86 -38
- package/src/attributes/svg_feImage.json +98 -31
- package/src/attributes/svg_feMerge.json +76 -15
- package/src/attributes/svg_feMergeNode.json +6 -19
- package/src/attributes/svg_feMorphology.json +88 -39
- package/src/attributes/svg_feOffset.json +87 -39
- package/src/attributes/svg_fePointLight.json +21 -15
- package/src/attributes/svg_feSpecularLighting.json +96 -47
- package/src/attributes/svg_feSpotLight.json +52 -58
- package/src/attributes/svg_feTile.json +76 -31
- package/src/attributes/svg_feTurbulence.json +101 -33
- package/src/attributes/svg_filter.json +103 -27
- package/src/attributes/svg_foreignObject.json +84 -38
- package/src/attributes/svg_g.json +80 -8
- package/src/attributes/svg_hatch.json +103 -29
- package/src/attributes/svg_hatchpath.json +79 -11
- package/src/attributes/svg_image.json +98 -46
- package/src/attributes/svg_line.json +105 -27
- package/src/attributes/svg_linearGradient.json +118 -37
- package/src/attributes/svg_marker.json +125 -44
- package/src/attributes/svg_mask.json +89 -22
- package/src/attributes/svg_mesh.json +83 -10
- package/src/attributes/svg_meshgradient.json +22 -29
- package/src/attributes/svg_meshpatch.json +76 -1
- package/src/attributes/svg_meshrow.json +76 -1
- package/src/attributes/svg_metadata.json +7 -1
- package/src/attributes/svg_mpath.json +11 -8
- package/src/attributes/svg_path.json +87 -15
- package/src/attributes/svg_pattern.json +110 -46
- package/src/attributes/svg_polygon.json +89 -14
- package/src/attributes/svg_polyline.json +89 -14
- package/src/attributes/svg_radialGradient.json +132 -49
- package/src/attributes/svg_rect.json +91 -51
- package/src/attributes/svg_script.json +20 -17
- package/src/attributes/svg_set.json +27 -13
- package/src/attributes/svg_stop.json +93 -18
- package/src/attributes/svg_style.json +16 -13
- package/src/attributes/svg_svg.json +115 -62
- package/src/attributes/svg_switch.json +80 -8
- package/src/attributes/svg_symbol.json +27 -44
- package/src/attributes/svg_text.json +115 -32
- package/src/attributes/svg_textPath.json +124 -37
- package/src/attributes/svg_title.json +7 -1
- package/src/attributes/svg_tspan.json +111 -32
- package/src/attributes/svg_use.json +88 -46
- package/src/attributes/svg_view.json +21 -17
- package/src/attributes/table.json +11 -0
- package/src/attributes/tbody.json +11 -0
- package/src/attributes/td.json +9 -14
- package/src/attributes/template.json +11 -0
- package/src/attributes/textarea.json +42 -50
- package/src/attributes/tfoot.json +11 -0
- package/src/attributes/th.json +18 -20
- package/src/attributes/thead.json +11 -0
- package/src/attributes/time.json +12 -23
- package/src/attributes/title.json +11 -0
- package/src/attributes/tr.json +11 -0
- package/src/attributes/track.json +38 -0
- package/src/attributes/u.json +11 -0
- package/src/attributes/ul.json +11 -0
- package/src/attributes/var.json +11 -0
- package/src/attributes/video.json +34 -48
- package/src/attributes/wbr.json +11 -0
- package/src/global-attributes/_global.json +1362 -1161
- package/src/permitted-structures/svg_a.json +1 -1
- package/src/structure.test.ts +64 -0
- package/src/attributes/_custom.json +0 -10
package/src/attributes/base.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "base",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"self": "[href]"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
]
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#the-base-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLLinkAndFetchingAttrs": ["href", "target"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {}
|
|
16
12
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "bdi",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-bdi-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/bdo.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "bdo",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-bdo-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
11
|
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "blockquote",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"cite": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#attr-blockquote-cite",
|
|
6
13
|
"type": "URL"
|
|
7
14
|
}
|
|
8
|
-
|
|
15
|
+
}
|
|
9
16
|
}
|
package/src/attributes/body.json
CHANGED
|
@@ -1,69 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "body",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/sections.html#the-body-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"onafterprint": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onafterprint",
|
|
13
|
+
"type": "FunctionBody"
|
|
7
14
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"type": "
|
|
15
|
+
"onbeforeprint": {
|
|
16
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onbeforeprint",
|
|
17
|
+
"type": "FunctionBody"
|
|
11
18
|
},
|
|
12
|
-
{
|
|
13
|
-
"
|
|
14
|
-
"type": "
|
|
19
|
+
"onbeforeunload": {
|
|
20
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onbeforeunload",
|
|
21
|
+
"type": "FunctionBody"
|
|
15
22
|
},
|
|
16
|
-
{
|
|
17
|
-
"
|
|
18
|
-
"type": "
|
|
23
|
+
"onhashchange": {
|
|
24
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onhashchange",
|
|
25
|
+
"type": "FunctionBody"
|
|
19
26
|
},
|
|
20
|
-
{
|
|
21
|
-
"
|
|
22
|
-
"type": "
|
|
27
|
+
"onlanguagechange": {
|
|
28
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onlanguagechange",
|
|
29
|
+
"type": "FunctionBody"
|
|
23
30
|
},
|
|
24
|
-
{
|
|
25
|
-
"
|
|
26
|
-
"type": "
|
|
31
|
+
"onmessage": {
|
|
32
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onmessage",
|
|
33
|
+
"type": "FunctionBody"
|
|
27
34
|
},
|
|
28
|
-
{
|
|
29
|
-
"
|
|
30
|
-
"type": "
|
|
35
|
+
"onmessageerror": {
|
|
36
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onmessageerror",
|
|
37
|
+
"type": "FunctionBody"
|
|
31
38
|
},
|
|
32
|
-
{
|
|
33
|
-
"
|
|
34
|
-
"type": "
|
|
39
|
+
"onoffline": {
|
|
40
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onoffline",
|
|
41
|
+
"type": "FunctionBody"
|
|
35
42
|
},
|
|
36
|
-
{
|
|
37
|
-
"
|
|
38
|
-
"type": "
|
|
43
|
+
"ononline": {
|
|
44
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-ononline",
|
|
45
|
+
"type": "FunctionBody"
|
|
39
46
|
},
|
|
40
|
-
{
|
|
41
|
-
"
|
|
42
|
-
"type": "
|
|
47
|
+
"onpagehide": {
|
|
48
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpagehide",
|
|
49
|
+
"type": "FunctionBody"
|
|
43
50
|
},
|
|
44
|
-
{
|
|
45
|
-
"
|
|
46
|
-
"type": "
|
|
51
|
+
"onpageshow": {
|
|
52
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpageshow",
|
|
53
|
+
"type": "FunctionBody"
|
|
47
54
|
},
|
|
48
|
-
{
|
|
49
|
-
"
|
|
50
|
-
"type": "
|
|
55
|
+
"onpopstate": {
|
|
56
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpopstate",
|
|
57
|
+
"type": "FunctionBody"
|
|
51
58
|
},
|
|
52
|
-
{
|
|
53
|
-
"
|
|
54
|
-
"type": "
|
|
59
|
+
"onrejectionhandled": {
|
|
60
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onrejectionhandled",
|
|
61
|
+
"type": "FunctionBody"
|
|
55
62
|
},
|
|
56
|
-
{
|
|
57
|
-
"
|
|
58
|
-
"type": "
|
|
63
|
+
"onstorage": {
|
|
64
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onstorage",
|
|
65
|
+
"type": "FunctionBody"
|
|
59
66
|
},
|
|
60
|
-
{
|
|
61
|
-
"
|
|
62
|
-
"type": "
|
|
67
|
+
"onunhandledrejection": {
|
|
68
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onunhandledrejection",
|
|
69
|
+
"type": "FunctionBody"
|
|
63
70
|
},
|
|
64
|
-
{
|
|
65
|
-
"
|
|
66
|
-
"type": "
|
|
71
|
+
"onunload": {
|
|
72
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onunload",
|
|
73
|
+
"type": "FunctionBody"
|
|
67
74
|
}
|
|
68
|
-
|
|
75
|
+
}
|
|
69
76
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "br",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-br-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,51 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "button",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"name"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"name": "formmethod",
|
|
24
|
-
"type": {
|
|
25
|
-
"enum": ["post", "get", "dialog"]
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "formnovalidate",
|
|
30
|
-
"type": "Boolean"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "formtarget",
|
|
34
|
-
"type": "Target"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "name",
|
|
38
|
-
"type": "String"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "type",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLFormControlElementAttrs": [
|
|
10
|
+
"disabled",
|
|
11
|
+
"form",
|
|
12
|
+
"formaction",
|
|
13
|
+
"formenctype",
|
|
14
|
+
"formmethod",
|
|
15
|
+
"formnovalidate",
|
|
16
|
+
"formtarget",
|
|
17
|
+
"name"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"attributes": {
|
|
21
|
+
"type": {
|
|
22
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type",
|
|
42
23
|
"type": {
|
|
43
|
-
"enum": ["submit", "reset", "button"]
|
|
24
|
+
"enum": ["submit", "reset", "button"],
|
|
25
|
+
"invalidValueDefault": "submit",
|
|
26
|
+
"missingValueDefault": "submit"
|
|
44
27
|
}
|
|
45
28
|
},
|
|
46
|
-
{
|
|
47
|
-
"
|
|
48
|
-
"type": "
|
|
29
|
+
"value": {
|
|
30
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-value",
|
|
31
|
+
"type": "Any"
|
|
49
32
|
}
|
|
50
|
-
|
|
33
|
+
}
|
|
51
34
|
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "canvas",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/canvas.html#the-canvas-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLEmbededAndMediaContentAttrs": ["height", "width"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"height": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-height",
|
|
14
|
+
"defaultValue": "150"
|
|
7
15
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"
|
|
16
|
+
"width": {
|
|
17
|
+
"ref": "https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-width",
|
|
18
|
+
"defaultValue": "300"
|
|
11
19
|
}
|
|
12
|
-
|
|
20
|
+
}
|
|
13
21
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "cite",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-cite-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "code",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/col.json
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "col",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-col-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"span": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#attr-col-span",
|
|
13
|
+
"type": {
|
|
14
|
+
"type": "integer",
|
|
15
|
+
"gt": 0,
|
|
16
|
+
"lte": 1000,
|
|
17
|
+
"clampable": true
|
|
18
|
+
},
|
|
19
|
+
"defaultValue": "1"
|
|
7
20
|
}
|
|
8
|
-
|
|
21
|
+
}
|
|
9
22
|
}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "colgroup",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-colgroup-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"span": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#attr-colgroup-span",
|
|
13
|
+
"type": {
|
|
14
|
+
"type": "integer",
|
|
15
|
+
"gt": 0,
|
|
16
|
+
"lte": 1000,
|
|
17
|
+
"clampable": true
|
|
18
|
+
},
|
|
19
|
+
"defaultValue": "1"
|
|
7
20
|
}
|
|
8
|
-
|
|
21
|
+
}
|
|
9
22
|
}
|
package/src/attributes/data.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "data",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-data-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"value": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#attr-data-value",
|
|
13
|
+
"type": "Any"
|
|
7
14
|
}
|
|
8
|
-
|
|
15
|
+
}
|
|
9
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "datalist",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "dd",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-dd-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/del.json
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "del",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/edits.html#the-del-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"cite": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/edits.html#attr-mod-cite",
|
|
6
13
|
"type": "URL"
|
|
7
14
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"type": "
|
|
15
|
+
"datetime": {
|
|
16
|
+
"ref": "https://html.spec.whatwg.org/multipage/edits.html#attr-mod-datetime",
|
|
17
|
+
"type": "DateTime"
|
|
11
18
|
}
|
|
12
|
-
|
|
19
|
+
}
|
|
13
20
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "details",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"open": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-details-open",
|
|
11
13
|
"type": "Boolean"
|
|
12
14
|
}
|
|
13
|
-
|
|
15
|
+
}
|
|
14
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "dfn",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-dfn-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "dialog",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"tabindex": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element:attr-tabindex",
|
|
13
|
+
"noUse": true
|
|
14
|
+
},
|
|
15
|
+
"open": {
|
|
16
|
+
"ref": "https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-dialog-open",
|
|
6
17
|
"type": "Boolean"
|
|
7
18
|
}
|
|
8
|
-
|
|
19
|
+
}
|
|
9
20
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "div",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-div-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "dl",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-dl-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "dt",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-dt-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "em",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-em-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|