@webref/idl 3.16.0 → 3.17.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.
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations/)
4
+ // Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface AnimationEvent : Event {
package/css-contain-3.idl CHANGED
@@ -5,4 +5,6 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSContainerRule : CSSConditionRule {
8
+ readonly attribute CSSOMString containerName;
9
+ readonly attribute CSSOMString containerQuery;
8
10
  };
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Counter Styles Level 3 (https://drafts.csswg.org/css-counter-styles/)
4
+ // Source: CSS Counter Styles Level 3 (https://drafts.csswg.org/css-counter-styles-3/)
5
5
 
6
6
  partial interface CSSRule {
7
7
  const unsigned short COUNTER_STYLE_RULE = 11;
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Device Adaptation Module Level 1 (https://drafts.csswg.org/css-device-adapt/)
4
+ // Source: CSS Device Adaptation Module Level 1 (https://drafts.csswg.org/css-device-adapt-1/)
5
5
 
6
6
  partial interface CSSRule {
7
7
  const unsigned short VIEWPORT_RULE = 15;
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Font Loading Module Level 3 (https://drafts.csswg.org/css-font-loading/)
4
+ // Source: CSS Font Loading Module Level 3 (https://drafts.csswg.org/css-font-loading-3/)
5
5
 
6
6
  typedef (ArrayBuffer or ArrayBufferView) BinaryData;
7
7
 
package/css-nesting.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting/)
4
+ // Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/)
5
5
 
6
6
  partial interface CSSStyleRule {
7
7
  [SameObject] readonly attribute CSSRuleList cssRules;
package/css-regions.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Regions Module Level 1 (https://drafts.csswg.org/css-regions/)
4
+ // Source: CSS Regions Module Level 1 (https://drafts.csswg.org/css-regions-1/)
5
5
 
6
6
  partial interface Document {
7
7
  readonly attribute NamedFlowMap namedFlows;
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts/)
4
+ // Source: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts-1/)
5
5
 
6
6
  partial interface Element {
7
7
  [SameObject, PutForwards=value] readonly attribute DOMTokenList part;
@@ -0,0 +1,22 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: CSS Shared Element Transitions Module Level 1 (https://drafts.csswg.org/css-shared-element-transitions-1/)
5
+
6
+ partial interface Document {
7
+ DOMTransition createTransition(DOMTransitionInit init);
8
+ };
9
+
10
+ dictionary DOMTransitionInit {
11
+ required UpdateDOMCallback updateDOM;
12
+ };
13
+
14
+ callback UpdateDOMCallback = Promise<any> ();
15
+
16
+ [Exposed=Window]
17
+ interface DOMTransition {
18
+ undefined skipTransition();
19
+ readonly attribute Promise<undefined> finished;
20
+ readonly attribute Promise<undefined> ready;
21
+ readonly attribute Promise<undefined> domUpdated;
22
+ };
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Transitions (https://drafts.csswg.org/css-transitions/)
4
+ // Source: CSS Transitions (https://drafts.csswg.org/css-transitions-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface TransitionEvent : Event {
package/cssom-view.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSSOM View Module (https://drafts.csswg.org/cssom-view/)
4
+ // Source: CSSOM View Module (https://drafts.csswg.org/cssom-view-1/)
5
5
 
6
6
  enum ScrollBehavior { "auto", "smooth" };
7
7
 
package/cssom.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom/)
4
+ // Source: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface MediaList {
package/geometry.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry/)
4
+ // Source: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry-1/)
5
5
 
6
6
  [Exposed=(Window,Worker),
7
7
  Serializable]
package/html.idl CHANGED
@@ -1634,6 +1634,16 @@ dictionary ValidityStateFlags {
1634
1634
  boolean customError = false;
1635
1635
  };
1636
1636
 
1637
+ [Exposed=Window]
1638
+ interface UserActivation {
1639
+ readonly attribute boolean hasBeenActive;
1640
+ readonly attribute boolean isActive;
1641
+ };
1642
+
1643
+ partial interface Navigator {
1644
+ [SameObject] readonly attribute UserActivation userActivation;
1645
+ };
1646
+
1637
1647
  dictionary FocusOptions {
1638
1648
  boolean preventScroll = false;
1639
1649
  boolean focusVisible;
package/mediasession.idl CHANGED
@@ -26,7 +26,9 @@ enum MediaSessionAction {
26
26
  "seekto",
27
27
  "togglemicrophone",
28
28
  "togglecamera",
29
- "hangup"
29
+ "hangup",
30
+ "previousslide",
31
+ "nextslide"
30
32
  };
31
33
 
32
34
  callback MediaSessionActionHandler = undefined(MediaSessionActionDetails details);
@@ -76,7 +78,7 @@ dictionary MediaPositionState {
76
78
 
77
79
  dictionary MediaSessionActionDetails {
78
80
  required MediaSessionAction action;
79
- double? seekOffset;
80
- double? seekTime;
81
- boolean? fastSeek;
81
+ double seekOffset;
82
+ double seekTime;
83
+ boolean fastSeek;
82
84
  };
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.16.0",
4
+ "version": "3.17.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Resize Observer (https://drafts.csswg.org/resize-observer/)
4
+ // Source: Resize Observer (https://drafts.csswg.org/resize-observer-1/)
5
5
 
6
6
  enum ResizeObserverBoxOptions {
7
7
  "border-box", "content-box", "device-pixel-content-box"
@@ -9,7 +9,7 @@ dictionary SecurePaymentConfirmationRequest {
9
9
  required sequence<BufferSource> credentialIds;
10
10
  required PaymentCredentialInstrument instrument;
11
11
  unsigned long timeout;
12
- DOMString payeeName;
12
+ USVString payeeName;
13
13
  USVString payeeOrigin;
14
14
  AuthenticationExtensionsClientInputs extensions;
15
15
  };
@@ -24,7 +24,7 @@ dictionary AuthenticationExtensionsPaymentInputs {
24
24
  // Only used for authentication.
25
25
  USVString rpId;
26
26
  USVString topOrigin;
27
- DOMString payeeName;
27
+ USVString payeeName;
28
28
  USVString payeeOrigin;
29
29
  PaymentCurrencyAmount total;
30
30
  PaymentCredentialInstrument instrument;
@@ -37,14 +37,14 @@ dictionary CollectedClientPaymentData : CollectedClientData {
37
37
  dictionary CollectedClientAdditionalPaymentData {
38
38
  required USVString rpId;
39
39
  required USVString topOrigin;
40
- DOMString payeeName;
40
+ USVString payeeName;
41
41
  USVString payeeOrigin;
42
42
  required PaymentCurrencyAmount total;
43
43
  required PaymentCredentialInstrument instrument;
44
44
  };
45
45
 
46
46
  dictionary PaymentCredentialInstrument {
47
- required DOMString displayName;
47
+ required USVString displayName;
48
48
  required USVString icon;
49
49
  boolean iconMustBeShown = true;
50
50
  };
package/webrtc.idl CHANGED
@@ -12,15 +12,10 @@ dictionary RTCConfiguration {
12
12
  [EnforceRange] octet iceCandidatePoolSize = 0;
13
13
  };
14
14
 
15
- enum RTCIceCredentialType {
16
- "password"
17
- };
18
-
19
15
  dictionary RTCIceServer {
20
16
  required (DOMString or sequence<DOMString>) urls;
21
17
  DOMString username;
22
18
  DOMString credential;
23
- RTCIceCredentialType credentialType = "password";
24
19
  };
25
20
 
26
21
  enum RTCIceTransportPolicy {