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.
@@ -66,6 +66,21 @@ function linkBodyOk(node) {
66
66
  var html5 = {
67
67
  "*": {
68
68
  attributes: {
69
+ accesskey: {
70
+ enum: [/./u],
71
+ list: true
72
+ },
73
+ autocapitalize: {
74
+ enum: ["off", "none", "on", "sentences", "words", "characters"]
75
+ },
76
+ autocorrect: {
77
+ omit: true,
78
+ enum: ["on", "off"]
79
+ },
80
+ autofocus: {
81
+ boolean: true
82
+ },
83
+ class: {},
69
84
  contenteditable: {
70
85
  omit: true,
71
86
  enum: ["true", "false"]
@@ -79,6 +94,17 @@ var html5 = {
79
94
  draggable: {
80
95
  enum: ["true", "false"]
81
96
  },
97
+ enterkeyhint: {
98
+ enum: ["enter", "done", "go", "next", "previous", "search", "send"]
99
+ },
100
+ /* css-shadow */
101
+ exportparts: {},
102
+ headingoffset: {
103
+ enum: ["/^[0-8]$/"]
104
+ },
105
+ headingreset: {
106
+ boolean: true
107
+ },
82
108
  hidden: {
83
109
  omit: true,
84
110
  enum: ["hidden", "until-found"]
@@ -89,12 +115,49 @@ var html5 = {
89
115
  inert: {
90
116
  boolean: true
91
117
  },
118
+ inputmode: {
119
+ enum: ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"]
120
+ },
121
+ is: {},
122
+ /* microdata */
123
+ itemid: {},
124
+ /* microdata */
125
+ itemprop: {},
126
+ /* microdata */
127
+ itemref: {},
128
+ /* microdata */
129
+ itemscope: {
130
+ boolean: true
131
+ },
132
+ /* microdata */
133
+ itemtype: {},
134
+ lang: {},
135
+ nonce: {},
136
+ /* css-shadow */
137
+ part: {},
138
+ popover: {
139
+ omit: true,
140
+ enum: ["auto", "hint", "manual"]
141
+ },
142
+ /* wai-aria */
143
+ role: {},
144
+ slot: {},
92
145
  spellcheck: {
93
146
  omit: true,
94
147
  enum: ["true", "false"]
95
148
  },
149
+ style: {},
96
150
  tabindex: {
97
151
  enum: ["/-?\\d+/"]
152
+ },
153
+ title: {},
154
+ translate: {
155
+ omit: true,
156
+ enum: ["yes", "no"]
157
+ },
158
+ writingsuggestions: {
159
+ omit: true,
160
+ enum: ["true", "false"]
98
161
  }
99
162
  }
100
163
  },
@@ -664,6 +727,8 @@ var html5 = {
664
727
  transparent: true
665
728
  },
666
729
  caption: {
730
+ implicitClosed: ["colgroup", "thead", "tfoot", "tbody", "tr"],
731
+ optionalEnd: true,
667
732
  permittedContent: ["@flow"],
668
733
  permittedDescendants: [{ exclude: ["table"] }],
669
734
  attributes: {
@@ -727,7 +792,7 @@ var html5 = {
727
792
  }
728
793
  },
729
794
  colgroup: {
730
- implicitClosed: ["colgroup"],
795
+ implicitClosed: ["colgroup", "caption", "thead", "tbody", "tfoot", "tr"],
731
796
  attributes: {
732
797
  span: {
733
798
  enum: ["/\\d+/"]
@@ -2591,7 +2656,7 @@ var html5 = {
2591
2656
  },
2592
2657
  td: {
2593
2658
  flow: true,
2594
- implicitClosed: ["td", "th"],
2659
+ implicitClosed: ["td", "th", "tr", "tbody", "tfoot"],
2595
2660
  attributes: {
2596
2661
  align: {
2597
2662
  deprecated: true
@@ -2713,6 +2778,7 @@ var html5 = {
2713
2778
  },
2714
2779
  tfoot: {
2715
2780
  implicitClosed: ["tbody"],
2781
+ optionalEnd: true,
2716
2782
  permittedContent: ["@script", "tr"],
2717
2783
  attributes: {
2718
2784
  align: {
@@ -2737,7 +2803,7 @@ var html5 = {
2737
2803
  },
2738
2804
  th: {
2739
2805
  flow: true,
2740
- implicitClosed: ["td", "th"],
2806
+ implicitClosed: ["td", "th", "tr", "tbody", "tfoot"],
2741
2807
  attributes: {
2742
2808
  align: {
2743
2809
  deprecated: true
@@ -2802,6 +2868,7 @@ var html5 = {
2802
2868
  },
2803
2869
  thead: {
2804
2870
  implicitClosed: ["tbody", "tfoot"],
2871
+ optionalEnd: true,
2805
2872
  permittedContent: ["@script", "tr"],
2806
2873
  attributes: {
2807
2874
  align: {
@@ -2842,7 +2909,7 @@ var html5 = {
2842
2909
  }
2843
2910
  },
2844
2911
  tr: {
2845
- implicitClosed: ["tr"],
2912
+ implicitClosed: ["tr", "tbody", "tfoot"],
2846
2913
  permittedContent: ["@script", "td", "th"],
2847
2914
  attributes: {
2848
2915
  align: {