@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 +1 -1
- package/package.json +1 -1
- package/scroll-animations.idl +11 -21
- package/webauthn.idl +1 -0
- package/webcodecs.idl +4 -0
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
|
|
4
|
+
// Source: Device Memory (https://www.w3.org/TR/device-memory/)
|
|
5
5
|
|
|
6
6
|
[
|
|
7
7
|
SecureContext,
|
package/package.json
CHANGED
package/scroll-animations.idl
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
|
29
|
-
readonly attribute FrozenArray<ScrollTimelineOffset> scrollOffsets;
|
|
22
|
+
readonly attribute ScrollAxis axis;
|
|
30
23
|
};
|
|
31
24
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
|
42
|
-
|
|
43
|
-
readonly attribute
|
|
44
|
-
readonly attribute
|
|
45
|
-
readonly attribute
|
|
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
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 = {});
|