html-validate 10.2.1 → 10.3.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.
@@ -73,7 +73,8 @@ var html5 = {
73
73
  enum: ["true", "false"]
74
74
  },
75
75
  hidden: {
76
- boolean: true
76
+ omit: true,
77
+ enum: ["hidden", "until-found"]
77
78
  },
78
79
  id: {
79
80
  enum: [validId]
@@ -1633,7 +1634,7 @@ var html5 = {
1633
1634
  ]
1634
1635
  },
1635
1636
  blocking: {
1636
- allowed: allowedIfAttributeHasValue("rel", ["stylesheet", "preload", "modulepreload"]),
1637
+ allowed: allowedIfAttributeHasValue("rel", ["expect", "stylesheet"]),
1637
1638
  list: true,
1638
1639
  enum: ["render"]
1639
1640
  },
@@ -2012,7 +2013,8 @@ var html5 = {
2012
2013
  aria: {
2013
2014
  implicitRole: "option"
2014
2015
  },
2015
- permittedContent: []
2016
+ permittedContent: ["@phrasing", "div"],
2017
+ permittedDescendants: [{ exclude: ["@interactive", "datalist", "object"] }]
2016
2018
  },
2017
2019
  output: {
2018
2020
  flow: true,
@@ -2282,7 +2284,22 @@ var html5 = {
2282
2284
  return "combobox";
2283
2285
  }
2284
2286
  },
2285
- permittedContent: ["@script", "datasrc", "datafld", "dataformatas", "option", "optgroup"]
2287
+ permittedContent: [
2288
+ "@script",
2289
+ "button?",
2290
+ "datasrc",
2291
+ "datafld",
2292
+ "dataformatas",
2293
+ "option",
2294
+ "optgroup"
2295
+ ],
2296
+ permittedOrder: ["button", "option, optgroup"]
2297
+ },
2298
+ selectedcontent: {
2299
+ phrasing: true,
2300
+ permittedContent: [],
2301
+ textContent: "none",
2302
+ requiredAncestors: ["select > button"]
2286
2303
  },
2287
2304
  slot: {
2288
2305
  flow: true,