@webref/idl 2.5.0 → 2.6.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.
- package/compute-pressure.idl +30 -0
- package/css-fonts.idl +5 -8
- package/eyedropper-api.idl +1 -1
- package/package.json +1 -1
- package/web-animations-2.idl +13 -0
- package/web-animations.idl +0 -12
- package/webnn.idl +10 -2
- package/webtransport.idl +7 -2
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Compute Pressure API (https://wicg.github.io/compute-pressure/)
|
|
5
|
+
|
|
6
|
+
callback ComputePressureUpdateCallback = undefined (
|
|
7
|
+
ComputePressureObserverUpdate update,
|
|
8
|
+
ComputePressureObserver observer
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
[Exposed=Window]
|
|
12
|
+
interface ComputePressureObserver {
|
|
13
|
+
constructor(
|
|
14
|
+
ComputePressureUpdateCallback callback,
|
|
15
|
+
optional ComputePressureObserverOptions options = {}
|
|
16
|
+
);
|
|
17
|
+
undefined observe();
|
|
18
|
+
undefined unobserve();
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
dictionary ComputePressureObserverUpdate {
|
|
22
|
+
double cpuSpeed;
|
|
23
|
+
double cpuUtilization;
|
|
24
|
+
ComputePressureObserverOptions options;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
dictionary ComputePressureObserverOptions {
|
|
28
|
+
sequence<double> cpuUtilizationThresholds = [];
|
|
29
|
+
sequence<double> cpuSpeedThresholds = [];
|
|
30
|
+
};
|
package/css-fonts.idl
CHANGED
|
@@ -28,12 +28,9 @@ interface CSSFontFeatureValuesMap {
|
|
|
28
28
|
(unsigned long or sequence<unsigned long>) values);
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
maplike<unsigned long, CSSOMString>;
|
|
37
|
-
attribute CSSOMString fontFamily;
|
|
38
|
-
attribute CSSOMString basePalette;
|
|
31
|
+
[Exposed=Window]interface CSSFontPaletteValuesRule : CSSRule {
|
|
32
|
+
readonly attribute CSSOMString name;
|
|
33
|
+
readonly attribute CSSOMString fontFamily;
|
|
34
|
+
readonly attribute CSSOMString basePalette;
|
|
35
|
+
readonly attribute CSSOMString overrideColors;
|
|
39
36
|
};
|
package/eyedropper-api.idl
CHANGED
package/package.json
CHANGED
package/web-animations-2.idl
CHANGED
|
@@ -30,6 +30,7 @@ partial interface AnimationEffect {
|
|
|
30
30
|
|
|
31
31
|
partial dictionary EffectTiming {
|
|
32
32
|
double playbackRate = 1.0;
|
|
33
|
+
(unrestricted double or CSSNumericValue or DOMString) duration = "auto";
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
partial dictionary OptionalEffectTiming {
|
|
@@ -85,3 +86,15 @@ enum IterationCompositeOperation { "replace", "accumulate" };
|
|
|
85
86
|
callback EffectCallback = undefined (double? progress,
|
|
86
87
|
(Element or CSSPseudoElement) currentTarget,
|
|
87
88
|
Animation animation);
|
|
89
|
+
|
|
90
|
+
[Exposed=Window]
|
|
91
|
+
interface AnimationPlaybackEvent : Event {
|
|
92
|
+
constructor(DOMString type, optional AnimationPlaybackEventInit
|
|
93
|
+
eventInitDict = {});
|
|
94
|
+
readonly attribute CSSNumberish? currentTime;
|
|
95
|
+
readonly attribute CSSNumberish? timelineTime;
|
|
96
|
+
};
|
|
97
|
+
dictionary AnimationPlaybackEventInit : EventInit {
|
|
98
|
+
CSSNumberish? currentTime = null;
|
|
99
|
+
CSSNumberish? timelineTime = null;
|
|
100
|
+
};
|
package/web-animations.idl
CHANGED
|
@@ -63,7 +63,6 @@ dictionary EffectTiming {
|
|
|
63
63
|
FillMode fill = "auto";
|
|
64
64
|
double iterationStart = 0.0;
|
|
65
65
|
unrestricted double iterations = 1.0;
|
|
66
|
-
(unrestricted double or DOMString) duration = "auto";
|
|
67
66
|
PlaybackDirection direction = "normal";
|
|
68
67
|
DOMString easing = "linear";
|
|
69
68
|
};
|
|
@@ -152,14 +151,3 @@ partial interface mixin DocumentOrShadowRoot {
|
|
|
152
151
|
};
|
|
153
152
|
|
|
154
153
|
Element includes Animatable;
|
|
155
|
-
|
|
156
|
-
[Exposed=Window]
|
|
157
|
-
interface AnimationPlaybackEvent : Event {
|
|
158
|
-
constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
|
|
159
|
-
readonly attribute double? currentTime;
|
|
160
|
-
readonly attribute double? timelineTime;
|
|
161
|
-
};
|
|
162
|
-
dictionary AnimationPlaybackEventInit : EventInit {
|
|
163
|
-
double? currentTime = null;
|
|
164
|
-
double? timelineTime = null;
|
|
165
|
-
};
|
package/webnn.idl
CHANGED
|
@@ -317,6 +317,11 @@ partial interface MLGraphBuilder {
|
|
|
317
317
|
MLOperand pad(MLOperand input, MLOperand padding, optional MLPadOptions options = {});
|
|
318
318
|
};
|
|
319
319
|
|
|
320
|
+
enum MLRoundingType {
|
|
321
|
+
"floor",
|
|
322
|
+
"ceil"
|
|
323
|
+
};
|
|
324
|
+
|
|
320
325
|
dictionary MLPool2dOptions {
|
|
321
326
|
sequence<long> windowDimensions;
|
|
322
327
|
sequence<long> padding;
|
|
@@ -324,6 +329,8 @@ dictionary MLPool2dOptions {
|
|
|
324
329
|
sequence<long> dilations;
|
|
325
330
|
MLAutoPad autoPad = "explicit";
|
|
326
331
|
MLInputOperandLayout layout = "nchw";
|
|
332
|
+
MLRoundingType roundingType = "floor";
|
|
333
|
+
sequence<long> outputSizes;
|
|
327
334
|
};
|
|
328
335
|
|
|
329
336
|
partial interface MLGraphBuilder {
|
|
@@ -360,14 +367,15 @@ enum MLInterpolationMode {
|
|
|
360
367
|
"linear"
|
|
361
368
|
};
|
|
362
369
|
|
|
363
|
-
dictionary
|
|
370
|
+
dictionary MLResample2dOptions {
|
|
364
371
|
MLInterpolationMode mode = "nearest-neighbor";
|
|
365
372
|
sequence<float> scales;
|
|
366
373
|
sequence<long> sizes;
|
|
374
|
+
sequence<long> axes;
|
|
367
375
|
};
|
|
368
376
|
|
|
369
377
|
partial interface MLGraphBuilder {
|
|
370
|
-
MLOperand
|
|
378
|
+
MLOperand resample2d(MLOperand input, optional MLResample2dOptions options = {});
|
|
371
379
|
};
|
|
372
380
|
|
|
373
381
|
partial interface MLGraphBuilder {
|
package/webtransport.idl
CHANGED
|
@@ -35,13 +35,18 @@ interface WebTransport {
|
|
|
35
35
|
readonly attribute ReadableStream incomingUnidirectionalStreams;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
dictionary WebTransportHash {
|
|
39
|
+
DOMString algorithm;
|
|
40
|
+
BufferSource value;
|
|
41
|
+
};
|
|
42
|
+
|
|
38
43
|
dictionary WebTransportOptions {
|
|
39
44
|
boolean allowPooling;
|
|
40
|
-
sequence<
|
|
45
|
+
sequence<WebTransportHash> serverCertificateHashes;
|
|
41
46
|
};
|
|
42
47
|
|
|
43
48
|
dictionary WebTransportCloseInfo {
|
|
44
|
-
unsigned long
|
|
49
|
+
unsigned long closeCode;
|
|
45
50
|
DOMString reason;
|
|
46
51
|
};
|
|
47
52
|
|