html-validate 10.13.1 → 10.14.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/dist/cjs/core.js +130 -38
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/elements.js +71 -4
- package/dist/cjs/elements.js.map +1 -1
- package/dist/cjs/tsdoc-metadata.json +1 -1
- package/dist/esm/core.js +130 -38
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/elements.js +71 -4
- package/dist/esm/elements.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types/browser.d.ts +27 -0
- package/dist/types/index.d.ts +27 -0
- package/package.json +1 -1
package/dist/esm/elements.js
CHANGED
|
@@ -64,6 +64,21 @@ function linkBodyOk(node) {
|
|
|
64
64
|
var html5 = {
|
|
65
65
|
"*": {
|
|
66
66
|
attributes: {
|
|
67
|
+
accesskey: {
|
|
68
|
+
enum: [/./u],
|
|
69
|
+
list: true
|
|
70
|
+
},
|
|
71
|
+
autocapitalize: {
|
|
72
|
+
enum: ["off", "none", "on", "sentences", "words", "characters"]
|
|
73
|
+
},
|
|
74
|
+
autocorrect: {
|
|
75
|
+
omit: true,
|
|
76
|
+
enum: ["on", "off"]
|
|
77
|
+
},
|
|
78
|
+
autofocus: {
|
|
79
|
+
boolean: true
|
|
80
|
+
},
|
|
81
|
+
class: {},
|
|
67
82
|
contenteditable: {
|
|
68
83
|
omit: true,
|
|
69
84
|
enum: ["true", "false"]
|
|
@@ -77,6 +92,17 @@ var html5 = {
|
|
|
77
92
|
draggable: {
|
|
78
93
|
enum: ["true", "false"]
|
|
79
94
|
},
|
|
95
|
+
enterkeyhint: {
|
|
96
|
+
enum: ["enter", "done", "go", "next", "previous", "search", "send"]
|
|
97
|
+
},
|
|
98
|
+
/* css-shadow */
|
|
99
|
+
exportparts: {},
|
|
100
|
+
headingoffset: {
|
|
101
|
+
enum: ["/^[0-8]$/"]
|
|
102
|
+
},
|
|
103
|
+
headingreset: {
|
|
104
|
+
boolean: true
|
|
105
|
+
},
|
|
80
106
|
hidden: {
|
|
81
107
|
omit: true,
|
|
82
108
|
enum: ["hidden", "until-found"]
|
|
@@ -87,12 +113,49 @@ var html5 = {
|
|
|
87
113
|
inert: {
|
|
88
114
|
boolean: true
|
|
89
115
|
},
|
|
116
|
+
inputmode: {
|
|
117
|
+
enum: ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"]
|
|
118
|
+
},
|
|
119
|
+
is: {},
|
|
120
|
+
/* microdata */
|
|
121
|
+
itemid: {},
|
|
122
|
+
/* microdata */
|
|
123
|
+
itemprop: {},
|
|
124
|
+
/* microdata */
|
|
125
|
+
itemref: {},
|
|
126
|
+
/* microdata */
|
|
127
|
+
itemscope: {
|
|
128
|
+
boolean: true
|
|
129
|
+
},
|
|
130
|
+
/* microdata */
|
|
131
|
+
itemtype: {},
|
|
132
|
+
lang: {},
|
|
133
|
+
nonce: {},
|
|
134
|
+
/* css-shadow */
|
|
135
|
+
part: {},
|
|
136
|
+
popover: {
|
|
137
|
+
omit: true,
|
|
138
|
+
enum: ["auto", "hint", "manual"]
|
|
139
|
+
},
|
|
140
|
+
/* wai-aria */
|
|
141
|
+
role: {},
|
|
142
|
+
slot: {},
|
|
90
143
|
spellcheck: {
|
|
91
144
|
omit: true,
|
|
92
145
|
enum: ["true", "false"]
|
|
93
146
|
},
|
|
147
|
+
style: {},
|
|
94
148
|
tabindex: {
|
|
95
149
|
enum: ["/-?\\d+/"]
|
|
150
|
+
},
|
|
151
|
+
title: {},
|
|
152
|
+
translate: {
|
|
153
|
+
omit: true,
|
|
154
|
+
enum: ["yes", "no"]
|
|
155
|
+
},
|
|
156
|
+
writingsuggestions: {
|
|
157
|
+
omit: true,
|
|
158
|
+
enum: ["true", "false"]
|
|
96
159
|
}
|
|
97
160
|
}
|
|
98
161
|
},
|
|
@@ -662,6 +725,8 @@ var html5 = {
|
|
|
662
725
|
transparent: true
|
|
663
726
|
},
|
|
664
727
|
caption: {
|
|
728
|
+
implicitClosed: ["colgroup", "thead", "tfoot", "tbody", "tr"],
|
|
729
|
+
optionalEnd: true,
|
|
665
730
|
permittedContent: ["@flow"],
|
|
666
731
|
permittedDescendants: [{ exclude: ["table"] }],
|
|
667
732
|
attributes: {
|
|
@@ -725,7 +790,7 @@ var html5 = {
|
|
|
725
790
|
}
|
|
726
791
|
},
|
|
727
792
|
colgroup: {
|
|
728
|
-
implicitClosed: ["colgroup"],
|
|
793
|
+
implicitClosed: ["colgroup", "caption", "thead", "tbody", "tfoot", "tr"],
|
|
729
794
|
attributes: {
|
|
730
795
|
span: {
|
|
731
796
|
enum: ["/\\d+/"]
|
|
@@ -2589,7 +2654,7 @@ var html5 = {
|
|
|
2589
2654
|
},
|
|
2590
2655
|
td: {
|
|
2591
2656
|
flow: true,
|
|
2592
|
-
implicitClosed: ["td", "th"],
|
|
2657
|
+
implicitClosed: ["td", "th", "tr", "tbody", "tfoot"],
|
|
2593
2658
|
attributes: {
|
|
2594
2659
|
align: {
|
|
2595
2660
|
deprecated: true
|
|
@@ -2711,6 +2776,7 @@ var html5 = {
|
|
|
2711
2776
|
},
|
|
2712
2777
|
tfoot: {
|
|
2713
2778
|
implicitClosed: ["tbody"],
|
|
2779
|
+
optionalEnd: true,
|
|
2714
2780
|
permittedContent: ["@script", "tr"],
|
|
2715
2781
|
attributes: {
|
|
2716
2782
|
align: {
|
|
@@ -2735,7 +2801,7 @@ var html5 = {
|
|
|
2735
2801
|
},
|
|
2736
2802
|
th: {
|
|
2737
2803
|
flow: true,
|
|
2738
|
-
implicitClosed: ["td", "th"],
|
|
2804
|
+
implicitClosed: ["td", "th", "tr", "tbody", "tfoot"],
|
|
2739
2805
|
attributes: {
|
|
2740
2806
|
align: {
|
|
2741
2807
|
deprecated: true
|
|
@@ -2800,6 +2866,7 @@ var html5 = {
|
|
|
2800
2866
|
},
|
|
2801
2867
|
thead: {
|
|
2802
2868
|
implicitClosed: ["tbody", "tfoot"],
|
|
2869
|
+
optionalEnd: true,
|
|
2803
2870
|
permittedContent: ["@script", "tr"],
|
|
2804
2871
|
attributes: {
|
|
2805
2872
|
align: {
|
|
@@ -2840,7 +2907,7 @@ var html5 = {
|
|
|
2840
2907
|
}
|
|
2841
2908
|
},
|
|
2842
2909
|
tr: {
|
|
2843
|
-
implicitClosed: ["tr"],
|
|
2910
|
+
implicitClosed: ["tr", "tbody", "tfoot"],
|
|
2844
2911
|
permittedContent: ["@script", "td", "th"],
|
|
2845
2912
|
attributes: {
|
|
2846
2913
|
align: {
|