@webref/idl 3.71.0 → 3.72.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.
@@ -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: Autofill Event (https://wicg.github.io/autofill-event/)
5
+
6
+ [Exposed=Window]
7
+ interface AutofillEvent : Event {
8
+ constructor(DOMString type, optional AutofillEventInit eventInitDict = {});
9
+ readonly attribute FrozenArray<AutofillValueEntry> autofillValues;
10
+ readonly attribute RefillCallback? refill;
11
+ };
12
+
13
+ callback RefillCallback = Promise<undefined> ();
14
+
15
+ dictionary AutofillEventInit : EventInit {
16
+ sequence<AutofillValueEntry> autofillValues = [];
17
+ boolean allowRefill = true;
18
+ };
19
+
20
+ typedef sequence<any> AutofillValueEntry;
21
+ // AutofillValueEntry is a tuple of [HTMLElement, DOMString]
22
+ // where the first element is the form control and the second is the value to fill
package/css-mixins.idl CHANGED
@@ -25,3 +25,29 @@ interface CSSFunctionDescriptors : CSSStyleDeclaration {
25
25
  interface CSSFunctionDeclarations : CSSRule {
26
26
  [SameObject, PutForwards=cssText] readonly attribute CSSFunctionDescriptors style;
27
27
  };
28
+
29
+ [Exposed=Window]
30
+ interface CSSMixinRule : CSSGroupingRule {
31
+ readonly attribute CSSOMString name;
32
+ sequence<FunctionParameter> getParameters();
33
+ readonly attribute boolean contents;
34
+ };
35
+
36
+ [Exposed=Window]
37
+ interface CSSApplyBlockRule : CSSGroupingRule {
38
+ readonly attribute CSSOMString name;
39
+ sequence<CSSOMString> getArguments();
40
+ };
41
+
42
+ [Exposed=Window]
43
+ interface CSSApplyStatementRule : CSSRule {
44
+
45
+ readonly attribute CSSOMString name;
46
+ sequence<CSSOMString> getArguments();
47
+ };
48
+
49
+ [Exposed=Window]
50
+ interface CSSContentsBlockRule : CSSGroupingRule { };
51
+
52
+ [Exposed=Window]
53
+ interface CSSContentsStatementRule : CSSRule { };
@@ -3,12 +3,6 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
5
5
 
6
- [Exposed=Window]
7
- interface CSSViewTransitionRule : CSSRule {
8
- readonly attribute CSSOMString navigation;
9
- [SameObject] readonly attribute FrozenArray<CSSOMString> types;
10
- };
11
-
12
6
  partial interface Document {
13
7
  ViewTransition startViewTransition(
14
8
  optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {}
@@ -45,3 +39,9 @@ interface ViewTransition {
45
39
  interface ViewTransitionTypeSet {
46
40
  setlike<DOMString>;
47
41
  };
42
+
43
+ [Exposed=Window]
44
+ interface CSSViewTransitionRule : CSSRule {
45
+ readonly attribute CSSOMString navigation;
46
+ [SameObject] readonly attribute FrozenArray<CSSOMString> types;
47
+ };
@@ -3,14 +3,20 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: MediaStreamTrack Insertable Media Processing using Streams (https://w3c.github.io/mediacapture-transform/)
5
5
 
6
+ [Exposed=(Window,DedicatedWorker), Transferable]
7
+ interface MediaStreamTrackHandle {
8
+ constructor(MediaStreamTrack track);
9
+ };
10
+
6
11
  [Exposed=DedicatedWorker]
7
12
  interface MediaStreamTrackProcessor {
8
13
  constructor(MediaStreamTrackProcessorInit init);
9
14
  readonly attribute ReadableStream readable;
10
15
  };
11
16
 
17
+ typedef (MediaStreamTrack or MediaStreamTrackHandle) MediaStreamTrackOrHandle;
12
18
  dictionary MediaStreamTrackProcessorInit {
13
- required MediaStreamTrack track;
19
+ required MediaStreamTrackOrHandle track;
14
20
  [EnforceRange] unsigned short maxBufferSize;
15
21
  };
16
22
 
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.71.0",
4
+ "version": "3.72.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webxrlayers.idl CHANGED
@@ -219,3 +219,7 @@ dictionary XRLayerEventInit : EventInit {
219
219
  [SecureContext, Exposed=Window] partial interface XRRenderState {
220
220
  readonly attribute FrozenArray<XRLayer> layers;
221
221
  };
222
+
223
+ [SecureContext, Exposed=Window] partial interface XRSession {
224
+ readonly attribute unsigned long maxRenderLayers;
225
+ };