@webref/idl 3.13.1 → 3.13.2

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/device-memory.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: Device Memory 1 (https://w3c.github.io/device-memory/)
4
+ // Source: Device Memory (https://www.w3.org/TR/device-memory/)
5
5
 
6
6
  [
7
7
  SecureContext,
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.13.1",
4
+ "version": "3.13.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -3,44 +3,34 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Scroll-linked Animations (https://drafts.csswg.org/scroll-animations-1/)
5
5
 
6
- enum ScrollDirection {
6
+ enum ScrollAxis {
7
7
  "block",
8
8
  "inline",
9
9
  "horizontal",
10
10
  "vertical"
11
11
  };
12
12
 
13
- enum ScrollTimelineAutoKeyword { "auto" };
14
-
15
- typedef (CSSNumericValue or CSSKeywordish) ContainerBasedOffset;
16
- typedef (ContainerBasedOffset or ElementBasedOffset) ScrollTimelineOffset;
17
-
18
13
  dictionary ScrollTimelineOptions {
19
14
  Element? source;
20
- ScrollDirection orientation = "block";
21
- sequence<ScrollTimelineOffset> scrollOffsets = [];
15
+ ScrollAxis axis = "block";
22
16
  };
23
17
 
24
18
  [Exposed=Window]
25
19
  interface ScrollTimeline : AnimationTimeline {
26
20
  constructor(optional ScrollTimelineOptions options = {});
27
21
  readonly attribute Element? source;
28
- readonly attribute ScrollDirection orientation;
29
- readonly attribute FrozenArray<ScrollTimelineOffset> scrollOffsets;
22
+ readonly attribute ScrollAxis axis;
30
23
  };
31
24
 
32
- enum Edge { "start", "end" };
33
-
34
- dictionary ElementBasedOffset {
35
- Element target;
36
- Edge edge = "start";
37
- double threshold = 0.0;
25
+ dictionary ViewTimelineOptions {
26
+ Element subject;
27
+ ScrollAxis axis = "block";
38
28
  };
39
29
 
40
30
  [Exposed=Window]
41
- interface CSSScrollTimelineRule : CSSRule {
42
- readonly attribute CSSOMString name;
43
- readonly attribute CSSOMString source;
44
- readonly attribute CSSOMString orientation;
45
- readonly attribute CSSOMString scrollOffsets;
31
+ interface ViewTimeline : ScrollTimeline {
32
+ constructor(optional ViewTimelineOptions options = {});
33
+ readonly attribute Element subject;
34
+ readonly attribute CSSNumericValue startOffset;
35
+ readonly attribute CSSNumericValue endOffset;
46
36
  };
package/webauthn.idl CHANGED
@@ -227,6 +227,7 @@ enum AuthenticatorTransport {
227
227
  "usb",
228
228
  "nfc",
229
229
  "ble",
230
+ "hybrid",
230
231
  "internal"
231
232
  };
232
233
 
package/webcodecs.idl CHANGED
@@ -9,6 +9,7 @@ interface AudioDecoder {
9
9
 
10
10
  readonly attribute CodecState state;
11
11
  readonly attribute unsigned long decodeQueueSize;
12
+ attribute EventHandler ondequeue;
12
13
 
13
14
  undefined configure(AudioDecoderConfig config);
14
15
  undefined decode(EncodedAudioChunk chunk);
@@ -32,6 +33,7 @@ interface VideoDecoder {
32
33
 
33
34
  readonly attribute CodecState state;
34
35
  readonly attribute unsigned long decodeQueueSize;
36
+ attribute EventHandler ondequeue;
35
37
 
36
38
  undefined configure(VideoDecoderConfig config);
37
39
  undefined decode(EncodedVideoChunk chunk);
@@ -55,6 +57,7 @@ interface AudioEncoder {
55
57
 
56
58
  readonly attribute CodecState state;
57
59
  readonly attribute unsigned long encodeQueueSize;
60
+ attribute EventHandler ondequeue;
58
61
 
59
62
  undefined configure(AudioEncoderConfig config);
60
63
  undefined encode(AudioData data);
@@ -84,6 +87,7 @@ interface VideoEncoder {
84
87
 
85
88
  readonly attribute CodecState state;
86
89
  readonly attribute unsigned long encodeQueueSize;
90
+ attribute EventHandler ondequeue;
87
91
 
88
92
  undefined configure(VideoEncoderConfig config);
89
93
  undefined encode(VideoFrame frame, optional VideoEncoderEncodeOptions options = {});