@webref/idl 3.42.2 → 3.42.3

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/html.idl CHANGED
@@ -1633,6 +1633,9 @@ interface ElementInternals {
1633
1633
  boolean reportValidity();
1634
1634
 
1635
1635
  readonly attribute NodeList labels;
1636
+
1637
+ // Custom state pseudo-class
1638
+ [SameObject] readonly attribute CustomStateSet states;
1636
1639
  };
1637
1640
 
1638
1641
  // Accessibility semantics
@@ -1651,6 +1654,11 @@ dictionary ValidityStateFlags {
1651
1654
  boolean customError = false;
1652
1655
  };
1653
1656
 
1657
+ [Exposed=Window]
1658
+ interface CustomStateSet {
1659
+ setlike<DOMString>;
1660
+ };
1661
+
1654
1662
  [Exposed=(Window)]
1655
1663
  interface VisibilityStateEntry : PerformanceEntry {
1656
1664
  readonly attribute DOMString name; // shadows inherited name
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.42.2",
4
+ "version": "3.42.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/serial.idl CHANGED
@@ -36,6 +36,7 @@ dictionary SerialPortFilter {
36
36
  interface SerialPort : EventTarget {
37
37
  attribute EventHandler onconnect;
38
38
  attribute EventHandler ondisconnect;
39
+ readonly attribute boolean connected;
39
40
  readonly attribute ReadableStream readable;
40
41
  readonly attribute WritableStream writable;
41
42
 
@@ -1,14 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: Custom State Pseudo Class (https://wicg.github.io/custom-state-pseudo-class/)
5
-
6
- partial interface ElementInternals {
7
- readonly attribute CustomStateSet states;
8
- };
9
-
10
- [Exposed=Window]
11
- interface CustomStateSet {
12
- setlike<DOMString>;
13
- undefined add(DOMString value);
14
- };