@markuplint/html-spec 2.0.0-alpha.0.26 → 2.0.0-dev.20211213.0
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 +8519 -5691
- package/package.json +5 -3
- package/src/aria-in-html/td.json +6 -2
- package/src/attributes/a.json +9 -40
- 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/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 +128 -120
- 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/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 +81 -47
- package/src/attributes/svg_animate.json +93 -13
- package/src/attributes/svg_animateMotion.json +36 -32
- package/src/attributes/svg_animateTransform.json +27 -14
- package/src/attributes/svg_circle.json +87 -26
- package/src/attributes/svg_clipPath.json +79 -15
- package/src/attributes/svg_defs.json +76 -1
- package/src/attributes/svg_desc.json +7 -1
- package/src/attributes/svg_discard.json +13 -10
- package/src/attributes/svg_ellipse.json +88 -27
- package/src/attributes/svg_feBlend.json +88 -40
- package/src/attributes/svg_feColorMatrix.json +85 -38
- package/src/attributes/svg_feComponentTransfer.json +75 -31
- package/src/attributes/svg_feComposite.json +113 -56
- package/src/attributes/svg_feConvolveMatrix.json +118 -62
- package/src/attributes/svg_feDiffuseLighting.json +90 -42
- package/src/attributes/svg_feDisplacementMap.json +100 -47
- package/src/attributes/svg_feDistantLight.json +16 -11
- package/src/attributes/svg_feDropShadow.json +91 -43
- package/src/attributes/svg_feFlood.json +82 -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 +85 -38
- package/src/attributes/svg_feImage.json +97 -31
- package/src/attributes/svg_feMerge.json +75 -15
- package/src/attributes/svg_feMergeNode.json +6 -19
- package/src/attributes/svg_feMorphology.json +87 -39
- package/src/attributes/svg_feOffset.json +86 -39
- package/src/attributes/svg_fePointLight.json +21 -15
- package/src/attributes/svg_feSpecularLighting.json +95 -47
- package/src/attributes/svg_feSpotLight.json +52 -58
- package/src/attributes/svg_feTile.json +75 -31
- package/src/attributes/svg_feTurbulence.json +100 -33
- package/src/attributes/svg_filter.json +102 -27
- package/src/attributes/svg_foreignObject.json +83 -38
- package/src/attributes/svg_g.json +79 -8
- package/src/attributes/svg_hatch.json +103 -29
- package/src/attributes/svg_hatchpath.json +79 -11
- package/src/attributes/svg_image.json +97 -46
- package/src/attributes/svg_line.json +104 -27
- package/src/attributes/svg_linearGradient.json +118 -37
- package/src/attributes/svg_marker.json +124 -44
- package/src/attributes/svg_mask.json +89 -22
- package/src/attributes/svg_mesh.json +82 -10
- package/src/attributes/svg_meshgradient.json +22 -29
- package/src/attributes/svg_meshpatch.json +75 -1
- package/src/attributes/svg_meshrow.json +75 -1
- package/src/attributes/svg_metadata.json +7 -1
- package/src/attributes/svg_mpath.json +11 -8
- package/src/attributes/svg_path.json +86 -15
- package/src/attributes/svg_pattern.json +110 -46
- package/src/attributes/svg_polygon.json +88 -14
- package/src/attributes/svg_polyline.json +88 -14
- package/src/attributes/svg_radialGradient.json +132 -49
- package/src/attributes/svg_rect.json +90 -51
- package/src/attributes/svg_script.json +20 -17
- package/src/attributes/svg_set.json +27 -13
- package/src/attributes/svg_stop.json +92 -18
- package/src/attributes/svg_style.json +16 -13
- package/src/attributes/svg_svg.json +114 -62
- package/src/attributes/svg_switch.json +79 -8
- package/src/attributes/svg_symbol.json +27 -44
- package/src/attributes/svg_text.json +114 -32
- package/src/attributes/svg_textPath.json +123 -37
- package/src/attributes/svg_title.json +7 -1
- package/src/attributes/svg_tspan.json +110 -32
- package/src/attributes/svg_use.json +87 -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 +1334 -1161
- package/src/permitted-structures/svg_a.json +1 -1
- package/src/structure.test.ts +64 -0
- package/src/attributes/_custom.json +0 -10
|
@@ -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
|
+
}
|
|
@@ -1,37 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "script",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#the-script-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLLinkAndFetchingAttrs": ["crossorigin", "referrerpolicy", "integrity"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"src": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#attr-script-src",
|
|
6
14
|
"type": "URL"
|
|
7
15
|
},
|
|
8
|
-
{
|
|
9
|
-
"
|
|
10
|
-
"type":
|
|
16
|
+
"type": {
|
|
17
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type",
|
|
18
|
+
"type": [
|
|
19
|
+
"MIMEType",
|
|
20
|
+
{
|
|
21
|
+
"enum": ["module"],
|
|
22
|
+
"caseInsensitive": true
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"_TODO_": "> When used to include data blocks, the data must be embedded inline, the format of the data must be given using the type attribute, and the contents of the script element must conform to the requirements defined for the format used. The src, async, nomodule, defer, crossorigin, integrity, and referrerpolicy attributes must not be specified."
|
|
11
26
|
},
|
|
12
|
-
{
|
|
13
|
-
"
|
|
14
|
-
"type": "Boolean"
|
|
27
|
+
"nomodule": {
|
|
28
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#attr-script-nomodule",
|
|
29
|
+
"type": "Boolean",
|
|
30
|
+
"condition": {
|
|
31
|
+
"self": ":not([type='module' i])"
|
|
32
|
+
}
|
|
15
33
|
},
|
|
16
|
-
{
|
|
17
|
-
"
|
|
18
|
-
"type": "Boolean"
|
|
34
|
+
"async": {
|
|
35
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#attr-script-async",
|
|
36
|
+
"type": "Boolean",
|
|
37
|
+
"condition": {
|
|
38
|
+
"self": ["[src]", "[type='module' i]"]
|
|
39
|
+
},
|
|
40
|
+
"ineffective": ":not([src]):not([type='module' i])"
|
|
19
41
|
},
|
|
20
|
-
{
|
|
21
|
-
"
|
|
22
|
-
"type": "Boolean"
|
|
42
|
+
"defer": {
|
|
43
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#attr-script-defer",
|
|
44
|
+
"type": "Boolean",
|
|
45
|
+
"condition": {
|
|
46
|
+
"self": "[src]"
|
|
47
|
+
},
|
|
48
|
+
"ineffective": ["[type='module' i]", ":not([src])", "[async]"],
|
|
49
|
+
"_TODO_": "The defer attribute affects the element that has the async attribute if it doesn't support the async"
|
|
23
50
|
},
|
|
24
|
-
{
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"name": "integrity",
|
|
30
|
-
"type": "String"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "referrerpolicy",
|
|
34
|
-
"type": "ReferrerPolicy"
|
|
51
|
+
"integrity": {
|
|
52
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#attr-script-integrity",
|
|
53
|
+
"condition": {
|
|
54
|
+
"self": "[src]"
|
|
55
|
+
}
|
|
35
56
|
}
|
|
36
|
-
|
|
57
|
+
}
|
|
37
58
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "section",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/sections.html#the-section-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,36 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "select",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
"
|
|
14
|
-
"type": "DOMID"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "multiple",
|
|
18
|
-
"type": "Boolean"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "name",
|
|
22
|
-
"type": "String"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "required",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-select-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLFormControlElementAttrs": ["autocomplete", "disabled", "form", "name", "required"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"multiple": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-multiple",
|
|
26
14
|
"type": "Boolean"
|
|
27
15
|
},
|
|
28
|
-
{
|
|
29
|
-
"
|
|
30
|
-
"type":
|
|
31
|
-
|
|
32
|
-
"
|
|
16
|
+
"size": {
|
|
17
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-size",
|
|
18
|
+
"type": {
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"gt": 0
|
|
33
21
|
}
|
|
34
22
|
}
|
|
35
|
-
|
|
23
|
+
}
|
|
36
24
|
}
|
package/src/attributes/slot.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "slot",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#the-slot-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/scripting.html#attr-slot-name",
|
|
13
|
+
"type": "NoEmptyAny"
|
|
7
14
|
}
|
|
8
|
-
|
|
15
|
+
}
|
|
9
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "small",
|
|
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
|
+
}
|
|
@@ -1,37 +1,55 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "source",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"ref": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLEmbededAndMediaContentAttrs": ["height", "srcset", "sizes", "width"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-type",
|
|
14
|
+
"type": "MIMEType"
|
|
15
|
+
},
|
|
16
|
+
"src": {
|
|
17
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-src",
|
|
6
18
|
"type": "URL",
|
|
7
19
|
"required": {
|
|
8
20
|
"ancestor": "video, audio"
|
|
9
21
|
}
|
|
10
22
|
},
|
|
11
|
-
{
|
|
12
|
-
"
|
|
13
|
-
"
|
|
23
|
+
"srcset": {
|
|
24
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-srcset",
|
|
25
|
+
"condition": {
|
|
26
|
+
"ancestor": "picture"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"sizes": {
|
|
30
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-sizes",
|
|
31
|
+
"condition": {
|
|
32
|
+
"ancestor": "picture"
|
|
33
|
+
}
|
|
14
34
|
},
|
|
15
|
-
{
|
|
16
|
-
"
|
|
17
|
-
"type": "
|
|
35
|
+
"media": {
|
|
36
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-media",
|
|
37
|
+
"type": "<media-query-list>",
|
|
18
38
|
"condition": {
|
|
19
39
|
"ancestor": "picture"
|
|
20
40
|
}
|
|
21
41
|
},
|
|
22
|
-
{
|
|
23
|
-
"
|
|
24
|
-
"type": "SourceSizeList",
|
|
42
|
+
"width": {
|
|
43
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width",
|
|
25
44
|
"condition": {
|
|
26
45
|
"ancestor": "picture"
|
|
27
46
|
}
|
|
28
47
|
},
|
|
29
|
-
{
|
|
30
|
-
"
|
|
31
|
-
"type": "MediaQueryList",
|
|
48
|
+
"height": {
|
|
49
|
+
"ref": "https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height",
|
|
32
50
|
"condition": {
|
|
33
51
|
"ancestor": "picture"
|
|
34
52
|
}
|
|
35
53
|
}
|
|
36
|
-
|
|
54
|
+
}
|
|
37
55
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "span",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-span-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": "strong",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-strong-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "style",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#the-style-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"media": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-style-media",
|
|
13
|
+
"type": "<media-query-list>"
|
|
7
14
|
}
|
|
8
|
-
|
|
15
|
+
}
|
|
9
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "sub",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-sub-and-sup-elements",
|
|
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": "summary",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/interactive-elements.html#the-summary-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": "sup",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-sub-and-sup-elements",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|