@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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "main",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-main-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/map.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "map",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/image-maps.html#attr-map-name",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"name": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/image-maps.html#attr-map-name",
|
|
13
|
+
"type": "NoEmptyAny",
|
|
14
|
+
"_TODO_": "The value must not include whitespace"
|
|
7
15
|
}
|
|
8
|
-
|
|
16
|
+
}
|
|
9
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "mark",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-mark-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": "menu",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-menu-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/meta.json
CHANGED
|
@@ -1,49 +1,64 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "meta",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#the-meta-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLLinkAndFetchingAttrs": ["media"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"itemprop": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#the-meta-element:names:-the-itemprop-attribute-5",
|
|
14
|
+
"requiredEither": ["name", "http-equiv", "charset"],
|
|
7
15
|
"condition": {
|
|
8
16
|
"self": [":not([name])", ":not([http-equiv])", ":not([charset])"]
|
|
9
17
|
}
|
|
10
18
|
},
|
|
11
|
-
{
|
|
12
|
-
"
|
|
13
|
-
"type": "
|
|
19
|
+
"name": {
|
|
20
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-name",
|
|
21
|
+
"type": "Any",
|
|
22
|
+
"requiredEither": ["itemprop", "http-equiv", "charset"],
|
|
14
23
|
"condition": {
|
|
15
24
|
"self": [":not([itemprop])", ":not([http-equiv])", ":not([charset])"]
|
|
16
25
|
}
|
|
17
26
|
},
|
|
18
|
-
{
|
|
19
|
-
"
|
|
27
|
+
"http-equiv": {
|
|
28
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv",
|
|
20
29
|
"type": {
|
|
21
30
|
"enum": ["content-type", "default-style", "refresh", "x-ua-compatible", "content-security-policy"]
|
|
22
31
|
},
|
|
32
|
+
"requiredEither": ["itemprop", "name", "charset"],
|
|
23
33
|
"condition": {
|
|
24
34
|
"self": [":not([itemprop])", ":not([name])", ":not([charset])"]
|
|
25
35
|
}
|
|
26
36
|
},
|
|
27
|
-
{
|
|
28
|
-
"
|
|
29
|
-
"type": "
|
|
37
|
+
"content": {
|
|
38
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-content",
|
|
39
|
+
"type": "Any",
|
|
40
|
+
"required": {
|
|
41
|
+
"self": ["[name]", "[http-equiv]", "[itemprop]"]
|
|
42
|
+
},
|
|
30
43
|
"condition": {
|
|
31
|
-
"self": ["[name]", "[http-equiv]"]
|
|
44
|
+
"self": ["[name]", "[http-equiv]", "[itemprop]"]
|
|
32
45
|
}
|
|
33
46
|
},
|
|
34
|
-
{
|
|
35
|
-
"
|
|
36
|
-
"type":
|
|
47
|
+
"charset": {
|
|
48
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-charset",
|
|
49
|
+
"type": {
|
|
50
|
+
"enum": ["utf-8"],
|
|
51
|
+
"caseInsensitive": true
|
|
52
|
+
},
|
|
37
53
|
"condition": {
|
|
38
54
|
"self": [":not([itemprop])", ":not([name])", ":not([http-equiv])"]
|
|
39
55
|
}
|
|
40
56
|
},
|
|
41
|
-
{
|
|
42
|
-
"
|
|
43
|
-
"type": "MediaQueryList",
|
|
57
|
+
"media": {
|
|
58
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-media",
|
|
44
59
|
"condition": {
|
|
45
|
-
"self":
|
|
60
|
+
"self": "[name='theme-color']"
|
|
46
61
|
}
|
|
47
62
|
}
|
|
48
|
-
|
|
63
|
+
}
|
|
49
64
|
}
|
|
@@ -1,29 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "meter",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-meter-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/form-elements.html#attr-meter-value",
|
|
13
|
+
"type": "Number"
|
|
7
14
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"type": "
|
|
15
|
+
"min": {
|
|
16
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-min",
|
|
17
|
+
"type": "Number"
|
|
11
18
|
},
|
|
12
|
-
{
|
|
13
|
-
"
|
|
14
|
-
"type": "
|
|
19
|
+
"max": {
|
|
20
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-max",
|
|
21
|
+
"type": "Number"
|
|
15
22
|
},
|
|
16
|
-
{
|
|
17
|
-
"
|
|
18
|
-
"type": "
|
|
23
|
+
"low": {
|
|
24
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-low",
|
|
25
|
+
"type": "Number"
|
|
19
26
|
},
|
|
20
|
-
{
|
|
21
|
-
"
|
|
22
|
-
"type": "
|
|
27
|
+
"high": {
|
|
28
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-high",
|
|
29
|
+
"type": "Number"
|
|
23
30
|
},
|
|
24
|
-
{
|
|
25
|
-
"
|
|
26
|
-
"type": "
|
|
31
|
+
"optimum": {
|
|
32
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-optimum",
|
|
33
|
+
"type": "Number"
|
|
27
34
|
}
|
|
28
|
-
|
|
35
|
+
}
|
|
29
36
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "noscript",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#the-noscript-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,35 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tag": "
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
"tag": "object",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-object-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLEmbededAndMediaContentAttrs": ["height", "width"],
|
|
10
|
+
"#HTMLFormControlElementAttrs": ["form"]
|
|
11
|
+
},
|
|
12
|
+
"attributes": {
|
|
13
|
+
"data": {
|
|
14
|
+
"ref": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-data",
|
|
6
15
|
"type": "URL",
|
|
7
16
|
"requiredEither": ["type"]
|
|
8
17
|
},
|
|
9
|
-
{
|
|
10
|
-
"
|
|
11
|
-
"type": "
|
|
18
|
+
"type": {
|
|
19
|
+
"ref": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-type",
|
|
20
|
+
"type": "MIMEType",
|
|
12
21
|
"requiredEither": ["data"]
|
|
13
22
|
},
|
|
14
|
-
{
|
|
15
|
-
"
|
|
16
|
-
"type": "
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "usemap",
|
|
20
|
-
"type": "String"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "form",
|
|
24
|
-
"type": "DOMID"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "width",
|
|
28
|
-
"type": "Uint"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "height",
|
|
32
|
-
"type": "Uint"
|
|
23
|
+
"name": {
|
|
24
|
+
"ref": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-name",
|
|
25
|
+
"type": "BrowsingContextName"
|
|
33
26
|
}
|
|
34
|
-
|
|
27
|
+
}
|
|
35
28
|
}
|
package/src/attributes/ol.json
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "ol",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-ol-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"reversed": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-reversed",
|
|
6
13
|
"type": "Boolean"
|
|
7
14
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
15
|
+
"start": {
|
|
16
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-start",
|
|
10
17
|
"type": "Int"
|
|
11
18
|
},
|
|
12
|
-
{
|
|
13
|
-
"
|
|
19
|
+
"type": {
|
|
20
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-type",
|
|
14
21
|
"type": {
|
|
15
|
-
"enum": ["1", "a", "A", "i", "I"]
|
|
22
|
+
"enum": ["1", "a", "A", "i", "I"],
|
|
23
|
+
"caseInsensitive": false,
|
|
24
|
+
"invalidValueDefault": "decimal",
|
|
25
|
+
"missingValueDefault": "decimal"
|
|
16
26
|
}
|
|
17
27
|
}
|
|
18
|
-
|
|
28
|
+
}
|
|
19
29
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "optgroup",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-optgroup-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLFormControlElementAttrs": ["disabled"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"label": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-optgroup-label",
|
|
14
|
+
"type": "Any",
|
|
11
15
|
"required": true
|
|
12
16
|
}
|
|
13
|
-
|
|
17
|
+
}
|
|
14
18
|
}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "option",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLFormControlElementAttrs": ["disabled"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"label": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-label",
|
|
14
|
+
"type": "Any"
|
|
11
15
|
},
|
|
12
|
-
{
|
|
13
|
-
"
|
|
16
|
+
"selected": {
|
|
17
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-selected",
|
|
14
18
|
"type": "Boolean"
|
|
15
19
|
},
|
|
16
|
-
{
|
|
17
|
-
"
|
|
18
|
-
"type": "
|
|
20
|
+
"value": {
|
|
21
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-value",
|
|
22
|
+
"type": "Any"
|
|
19
23
|
}
|
|
20
|
-
|
|
24
|
+
}
|
|
21
25
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "output",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-output-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLFormControlElementAttrs": ["form", "name"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"for": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-output-for",
|
|
6
14
|
"type": "DOMID"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"name": "form",
|
|
10
|
-
"type": "DOMID"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "name",
|
|
14
|
-
"type": "String"
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
}
|
|
17
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "p",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-p-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "param",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-param-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"name": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-param-name",
|
|
13
|
+
"type": "Any",
|
|
14
|
+
"required": true
|
|
7
15
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"type": "
|
|
16
|
+
"value": {
|
|
17
|
+
"ref": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-param-value",
|
|
18
|
+
"type": "Any",
|
|
19
|
+
"required": true
|
|
11
20
|
}
|
|
12
|
-
|
|
21
|
+
}
|
|
13
22
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "picture",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#the-picture-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "portal",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://wicg.github.io/portals/",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLLinkAndFetchingAttrs": ["referrerpolicy"],
|
|
10
|
+
"#HTMLEmbededAndMediaContentAttrs": ["src"]
|
|
11
|
+
},
|
|
12
|
+
"attributes": {
|
|
13
|
+
"src": {
|
|
14
|
+
"ref": "https://wicg.github.io/portals/#dom-htmlportalelement-src",
|
|
15
|
+
"_TODO_": ""
|
|
7
16
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"
|
|
17
|
+
"referrerpolicy": {
|
|
18
|
+
"ref": "https://wicg.github.io/portals/#dom-htmlportalelement-referrerpolicy",
|
|
19
|
+
"_TODO_": ""
|
|
11
20
|
}
|
|
12
|
-
|
|
21
|
+
}
|
|
13
22
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "pre",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "progress",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-progress-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/form-elements.html#attr-progress-value",
|
|
13
|
+
"type": "Number",
|
|
14
|
+
"_TODO_": "The range is 0 to 1 but, the maximum will be the value when setting the `max` attribute from 1."
|
|
7
15
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"type": "
|
|
16
|
+
"max": {
|
|
17
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-progress-max",
|
|
18
|
+
"type": "Number"
|
|
11
19
|
}
|
|
12
|
-
|
|
20
|
+
}
|
|
13
21
|
}
|
package/src/attributes/q.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "q",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-q-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/text-level-semantics.html#attr-q-cite",
|
|
6
13
|
"type": "URL"
|
|
7
14
|
}
|
|
8
|
-
|
|
15
|
+
}
|
|
9
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "rp",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-rp-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": "rt",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-rt-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": "ruby",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-ruby-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": "s",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-s-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": "samp",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-samp-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|