@markuplint/html-spec 2.0.0-dev.2021117.0 → 2.0.0-dev.20211227.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 +8506 -5706
- package/package.json +5 -3
- 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 +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/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,44 +1,122 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "tspan",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
"#
|
|
6
|
-
"#
|
|
7
|
-
"#
|
|
8
|
-
"#
|
|
9
|
-
"#
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
3
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#elementdef-tspan",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
|
|
10
|
+
"#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
|
|
11
|
+
"#SVGPresentationAttrs": [
|
|
12
|
+
"alignment-baseline",
|
|
13
|
+
"baseline-shift",
|
|
14
|
+
"clip",
|
|
15
|
+
"clip-path",
|
|
16
|
+
"clip-rule",
|
|
17
|
+
"color",
|
|
18
|
+
"color-interpolation",
|
|
19
|
+
"color-interpolation-filters",
|
|
20
|
+
"color-rendering",
|
|
21
|
+
"cursor",
|
|
22
|
+
"direction",
|
|
23
|
+
"display",
|
|
24
|
+
"dominant-baseline",
|
|
25
|
+
"enable-background",
|
|
26
|
+
"fill",
|
|
27
|
+
"fill-opacity",
|
|
28
|
+
"fill-rule",
|
|
29
|
+
"filter",
|
|
30
|
+
"flood-color",
|
|
31
|
+
"flood-opacity",
|
|
32
|
+
"font",
|
|
33
|
+
"font-family",
|
|
34
|
+
"font-size",
|
|
35
|
+
"font-size-adjust",
|
|
36
|
+
"font-stretch",
|
|
37
|
+
"font-style",
|
|
38
|
+
"font-variant",
|
|
39
|
+
"font-weight",
|
|
40
|
+
"glyph-orientation-horizontal",
|
|
41
|
+
"glyph-orientation-vertical",
|
|
42
|
+
"image-rendering",
|
|
43
|
+
"isolation",
|
|
44
|
+
"kerning",
|
|
45
|
+
"letter-spacing",
|
|
46
|
+
"lighting-color",
|
|
47
|
+
"marker",
|
|
48
|
+
"marker-end",
|
|
49
|
+
"marker-mid",
|
|
50
|
+
"marker-start",
|
|
51
|
+
"mask",
|
|
52
|
+
"mask-type",
|
|
53
|
+
"opacity",
|
|
54
|
+
"overflow",
|
|
55
|
+
"paint-order",
|
|
56
|
+
"pointer-events",
|
|
57
|
+
"shape-rendering",
|
|
58
|
+
"stop-color",
|
|
59
|
+
"stop-opacity",
|
|
60
|
+
"stroke",
|
|
61
|
+
"stroke-dasharray",
|
|
62
|
+
"stroke-dashoffset",
|
|
63
|
+
"stroke-linecap",
|
|
64
|
+
"stroke-linejoin",
|
|
65
|
+
"stroke-miterlimit",
|
|
66
|
+
"stroke-opacity",
|
|
67
|
+
"stroke-width",
|
|
68
|
+
"text-anchor",
|
|
69
|
+
"text-decoration",
|
|
70
|
+
"text-overflow",
|
|
71
|
+
"text-rendering",
|
|
72
|
+
"transform-origin",
|
|
73
|
+
"unicode-bidi",
|
|
74
|
+
"vector-effect",
|
|
75
|
+
"visibility",
|
|
76
|
+
"white-space",
|
|
77
|
+
"word-spacing",
|
|
78
|
+
"writing-mode"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"attributes": {
|
|
82
|
+
"x": {
|
|
83
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#TextElementXAttribute",
|
|
84
|
+
"type": "<text-coordinate>",
|
|
85
|
+
"animatable": true
|
|
14
86
|
},
|
|
15
|
-
{
|
|
16
|
-
"
|
|
17
|
-
"type":
|
|
18
|
-
"
|
|
87
|
+
"y": {
|
|
88
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#TextElementYAttribute",
|
|
89
|
+
"type": "<text-coordinate>",
|
|
90
|
+
"animatable": true
|
|
19
91
|
},
|
|
20
|
-
{
|
|
21
|
-
"
|
|
22
|
-
"type":
|
|
92
|
+
"dx": {
|
|
93
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#TextElementDXAttribute",
|
|
94
|
+
"type": "<text-coordinate>",
|
|
95
|
+
"animatable": true
|
|
23
96
|
},
|
|
24
|
-
{
|
|
25
|
-
"
|
|
26
|
-
"type":
|
|
97
|
+
"dy": {
|
|
98
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#TextElementDYAttribute",
|
|
99
|
+
"type": "<text-coordinate>",
|
|
100
|
+
"animatable": true
|
|
27
101
|
},
|
|
28
|
-
{
|
|
29
|
-
"
|
|
30
|
-
"type": "
|
|
102
|
+
"rotate": {
|
|
103
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#TextElementRotateAttribute",
|
|
104
|
+
"type": "<list-of-numbers>",
|
|
105
|
+
"animatable": true
|
|
31
106
|
},
|
|
32
|
-
{
|
|
33
|
-
"
|
|
34
|
-
"type": ["
|
|
107
|
+
"textLength": {
|
|
108
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#TextElementTextLengthAttribute",
|
|
109
|
+
"type": ["<svg-length>", "<percentage>"],
|
|
110
|
+
"animatable": true
|
|
35
111
|
},
|
|
36
|
-
{
|
|
37
|
-
"
|
|
112
|
+
"lengthAdjust": {
|
|
113
|
+
"ref": "https://svgwg.org/svg2-draft/text.html#TextElementLengthAdjustAttribute",
|
|
38
114
|
"type": {
|
|
39
|
-
"enum": ["spacing", "spacingAndGlyphs"]
|
|
115
|
+
"enum": ["spacing", "spacingAndGlyphs"],
|
|
116
|
+
"disallowToSurroundBySpaces": false
|
|
40
117
|
},
|
|
41
|
-
"defaultValue": "spacing"
|
|
118
|
+
"defaultValue": "spacing",
|
|
119
|
+
"animatable": true
|
|
42
120
|
}
|
|
43
|
-
|
|
121
|
+
}
|
|
44
122
|
}
|
|
@@ -1,51 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "use",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
"#
|
|
6
|
-
"#
|
|
7
|
-
"#
|
|
8
|
-
"#
|
|
9
|
-
"#
|
|
10
|
-
"#
|
|
11
|
-
|
|
12
|
-
"
|
|
3
|
+
"ref": "https://svgwg.org/svg2-draft/struct.html#UseElement",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
|
|
10
|
+
"#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
|
|
11
|
+
"#SVGPresentationAttrs": [
|
|
12
|
+
"x",
|
|
13
|
+
"y",
|
|
14
|
+
"width",
|
|
15
|
+
"height",
|
|
16
|
+
"alignment-baseline",
|
|
17
|
+
"baseline-shift",
|
|
18
|
+
"clip",
|
|
19
|
+
"clip-path",
|
|
20
|
+
"clip-rule",
|
|
21
|
+
"color",
|
|
22
|
+
"color-interpolation",
|
|
23
|
+
"color-interpolation-filters",
|
|
24
|
+
"color-rendering",
|
|
25
|
+
"cursor",
|
|
26
|
+
"direction",
|
|
27
|
+
"display",
|
|
28
|
+
"dominant-baseline",
|
|
29
|
+
"enable-background",
|
|
30
|
+
"fill",
|
|
31
|
+
"fill-opacity",
|
|
32
|
+
"fill-rule",
|
|
33
|
+
"filter",
|
|
34
|
+
"flood-color",
|
|
35
|
+
"flood-opacity",
|
|
36
|
+
"font",
|
|
37
|
+
"font-family",
|
|
38
|
+
"font-size",
|
|
39
|
+
"font-size-adjust",
|
|
40
|
+
"font-stretch",
|
|
41
|
+
"font-style",
|
|
42
|
+
"font-variant",
|
|
43
|
+
"font-weight",
|
|
44
|
+
"glyph-orientation-horizontal",
|
|
45
|
+
"glyph-orientation-vertical",
|
|
46
|
+
"image-rendering",
|
|
47
|
+
"isolation",
|
|
48
|
+
"kerning",
|
|
49
|
+
"letter-spacing",
|
|
50
|
+
"lighting-color",
|
|
51
|
+
"marker",
|
|
52
|
+
"marker-end",
|
|
53
|
+
"marker-mid",
|
|
54
|
+
"marker-start",
|
|
55
|
+
"mask",
|
|
56
|
+
"mask-type",
|
|
57
|
+
"opacity",
|
|
58
|
+
"overflow",
|
|
59
|
+
"paint-order",
|
|
60
|
+
"pointer-events",
|
|
61
|
+
"shape-rendering",
|
|
62
|
+
"stop-color",
|
|
63
|
+
"stop-opacity",
|
|
64
|
+
"stroke",
|
|
65
|
+
"stroke-dasharray",
|
|
66
|
+
"stroke-dashoffset",
|
|
67
|
+
"stroke-linecap",
|
|
68
|
+
"stroke-linejoin",
|
|
69
|
+
"stroke-miterlimit",
|
|
70
|
+
"stroke-opacity",
|
|
71
|
+
"stroke-width",
|
|
72
|
+
"text-anchor",
|
|
73
|
+
"text-decoration",
|
|
74
|
+
"text-overflow",
|
|
75
|
+
"text-rendering",
|
|
76
|
+
"transform-origin",
|
|
77
|
+
"unicode-bidi",
|
|
78
|
+
"vector-effect",
|
|
79
|
+
"visibility",
|
|
80
|
+
"white-space",
|
|
81
|
+
"word-spacing",
|
|
82
|
+
"writing-mode"
|
|
83
|
+
],
|
|
84
|
+
"#XLinkAttrs": ["xlink:href", "xlink:title"]
|
|
85
|
+
},
|
|
86
|
+
"attributes": {
|
|
87
|
+
"href": {
|
|
88
|
+
"ref": "https://svgwg.org/svg2-draft/struct.html#UseElementHrefAttribute",
|
|
13
89
|
"type": "URL"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "xlink:href",
|
|
17
|
-
"type": "IRI",
|
|
18
|
-
"deprecated": true
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "x",
|
|
22
|
-
"defaultValue": "0"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "y",
|
|
26
|
-
"defaultValue": "0"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "width",
|
|
30
|
-
"type": [
|
|
31
|
-
"SVGLength",
|
|
32
|
-
"SVGPercentage",
|
|
33
|
-
{
|
|
34
|
-
"enum": ["auto"]
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"defaultValue": "auto"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "height",
|
|
41
|
-
"type": [
|
|
42
|
-
"SVGLength",
|
|
43
|
-
"SVGPercentage",
|
|
44
|
-
{
|
|
45
|
-
"enum": ["auto"]
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"defaultValue": "auto"
|
|
49
90
|
}
|
|
50
|
-
|
|
91
|
+
}
|
|
51
92
|
}
|
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "view",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
"#
|
|
6
|
-
"#
|
|
7
|
-
"#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
"ref": "https://svgwg.org/svg2-draft/linking.html#ViewElement",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"viewBox": {
|
|
13
|
+
"ref": "https://svgwg.org/svg2-draft/coords.html#ViewBoxAttribute",
|
|
14
|
+
"type": "<view-box>"
|
|
11
15
|
},
|
|
12
|
-
{
|
|
13
|
-
"
|
|
14
|
-
"type": "
|
|
16
|
+
"preserveAspectRatio": {
|
|
17
|
+
"ref": "https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute",
|
|
18
|
+
"type": "<preserve-aspect-ratio>"
|
|
15
19
|
},
|
|
16
|
-
{
|
|
17
|
-
"
|
|
20
|
+
"zoomAndPan": {
|
|
21
|
+
"ref": "https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/zoomAndPan",
|
|
18
22
|
"type": {
|
|
19
23
|
"enum": ["disable", "magnify"]
|
|
20
24
|
},
|
|
21
25
|
"defaultValue": "magnify",
|
|
22
26
|
"deprecated": true
|
|
23
27
|
},
|
|
24
|
-
{
|
|
25
|
-
"
|
|
26
|
-
"type": "
|
|
28
|
+
"viewTarget": {
|
|
29
|
+
"ref": "https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewTarget",
|
|
30
|
+
"type": "Any",
|
|
27
31
|
"deprecated": true
|
|
28
32
|
}
|
|
29
|
-
|
|
33
|
+
}
|
|
30
34
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "table",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-table-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": "tbody",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-tbody-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/td.json
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "td",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
"name": "headers",
|
|
14
|
-
"type": "DOMIDList"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-td-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLTableCellElementAttrs": ["colspan", "rowspan", "headers"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {}
|
|
17
12
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "template",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/scripting.html#the-template-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
|
@@ -1,59 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "textarea",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"name": "minlength",
|
|
30
|
-
"type": "Uint"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "name",
|
|
34
|
-
"type": "String"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "placeholder",
|
|
38
|
-
"type": "String"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "readonly",
|
|
42
|
-
"type": "Boolean"
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLFormControlElementAttrs": [
|
|
10
|
+
"autocomplete",
|
|
11
|
+
"dirname",
|
|
12
|
+
"disabled",
|
|
13
|
+
"form",
|
|
14
|
+
"maxlength",
|
|
15
|
+
"minlength",
|
|
16
|
+
"name",
|
|
17
|
+
"readonly",
|
|
18
|
+
"required"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"attributes": {
|
|
22
|
+
"cols": {
|
|
23
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-cols",
|
|
24
|
+
"type": {
|
|
25
|
+
"type": "integer",
|
|
26
|
+
"gt": 0
|
|
27
|
+
},
|
|
28
|
+
"defaultValue": "20"
|
|
43
29
|
},
|
|
44
|
-
{
|
|
45
|
-
"
|
|
46
|
-
"type": "
|
|
30
|
+
"placeholder": {
|
|
31
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-placeholder",
|
|
32
|
+
"type": "Any"
|
|
47
33
|
},
|
|
48
|
-
{
|
|
49
|
-
"
|
|
50
|
-
"type":
|
|
34
|
+
"rows": {
|
|
35
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-rows",
|
|
36
|
+
"type": {
|
|
37
|
+
"type": "integer",
|
|
38
|
+
"gt": 0
|
|
39
|
+
},
|
|
40
|
+
"defaultValue": "2"
|
|
51
41
|
},
|
|
52
|
-
{
|
|
53
|
-
"
|
|
42
|
+
"wrap": {
|
|
43
|
+
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-wrap",
|
|
54
44
|
"type": {
|
|
55
|
-
"enum": ["soft", "hard"]
|
|
45
|
+
"enum": ["soft", "hard"],
|
|
46
|
+
"missingValueDefault": "soft",
|
|
47
|
+
"invalidValueDefault": "soft"
|
|
56
48
|
}
|
|
57
49
|
}
|
|
58
|
-
|
|
50
|
+
}
|
|
59
51
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "tfoot",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-tfoot-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/th.json
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "th",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
"
|
|
14
|
-
"type": "DOMIDList"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "scope",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-th-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true,
|
|
9
|
+
"#HTMLTableCellElementAttrs": ["colspan", "rowspan", "headers"]
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"scope": {
|
|
13
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope",
|
|
18
14
|
"type": {
|
|
19
|
-
"enum": ["row", "col", "rowgroup", "colgroup",
|
|
15
|
+
"enum": ["row", "col", "rowgroup", "colgroup"],
|
|
16
|
+
"missingValueDefault": "auto",
|
|
17
|
+
"invalidValueDefault": "auto"
|
|
20
18
|
}
|
|
21
19
|
},
|
|
22
|
-
{
|
|
23
|
-
"
|
|
24
|
-
"type": "
|
|
20
|
+
"abbr": {
|
|
21
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#attr-th-abbr",
|
|
22
|
+
"type": "Any"
|
|
25
23
|
}
|
|
26
|
-
|
|
24
|
+
}
|
|
27
25
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "thead",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/tables.html#the-thead-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|
package/src/attributes/time.json
CHANGED
|
@@ -1,27 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tag": "time",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
{
|
|
15
|
-
"name": "srclang",
|
|
16
|
-
"type": "BCP47"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "label",
|
|
20
|
-
"type": "String"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "default",
|
|
24
|
-
"type": "Boolean"
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-time-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {
|
|
11
|
+
"datetime": {
|
|
12
|
+
"ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#attr-time-datetime",
|
|
13
|
+
"type": "DateTime"
|
|
25
14
|
}
|
|
26
|
-
|
|
15
|
+
}
|
|
27
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "title",
|
|
3
|
+
"ref": "https://html.spec.whatwg.org/multipage/semantics.html#the-title-element",
|
|
4
|
+
"global": {
|
|
5
|
+
"#HTMLGlobalAttrs": true,
|
|
6
|
+
"#GlobalEventAttrs": true,
|
|
7
|
+
"#DocumentElementEventAttrs": true,
|
|
8
|
+
"#ARIAAttrs": true
|
|
9
|
+
},
|
|
10
|
+
"attributes": {}
|
|
11
|
+
}
|