@webref/idl 3.59.2 → 3.59.4
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/cssom-view.idl +3 -0
- package/html.idl +4 -0
- package/media-capabilities.idl +4 -2
- package/package.json +1 -1
- package/permissions-policy.idl +1 -0
- package/speech-api.idl +0 -21
- package/turtledove.idl +18 -4
- package/web-animations-2.idl +24 -0
package/cssom-view.idl
CHANGED
|
@@ -103,8 +103,11 @@ enum ScrollLogicalPosition { "start", "center", "end", "nearest" };
|
|
|
103
103
|
dictionary ScrollIntoViewOptions : ScrollOptions {
|
|
104
104
|
ScrollLogicalPosition block = "start";
|
|
105
105
|
ScrollLogicalPosition inline = "nearest";
|
|
106
|
+
ScrollIntoViewContainer container = "all";
|
|
106
107
|
};
|
|
107
108
|
|
|
109
|
+
enum ScrollIntoViewContainer { "all", "nearest" };
|
|
110
|
+
|
|
108
111
|
dictionary CheckVisibilityOptions {
|
|
109
112
|
boolean checkOpacity = false;
|
|
110
113
|
boolean checkVisibilityCSS = false;
|
package/html.idl
CHANGED
|
@@ -1305,12 +1305,15 @@ typedef (HTMLOrSVGImageElement or
|
|
|
1305
1305
|
|
|
1306
1306
|
enum PredefinedColorSpace { "srgb", "display-p3" };
|
|
1307
1307
|
|
|
1308
|
+
enum CanvasColorType { "unorm8", "float16" };
|
|
1309
|
+
|
|
1308
1310
|
enum CanvasFillRule { "nonzero", "evenodd" };
|
|
1309
1311
|
|
|
1310
1312
|
dictionary CanvasRenderingContext2DSettings {
|
|
1311
1313
|
boolean alpha = true;
|
|
1312
1314
|
boolean desynchronized = false;
|
|
1313
1315
|
PredefinedColorSpace colorSpace = "srgb";
|
|
1316
|
+
CanvasColorType colorType = "unorm8";
|
|
1314
1317
|
boolean willReadFrequently = false;
|
|
1315
1318
|
};
|
|
1316
1319
|
|
|
@@ -2009,6 +2012,7 @@ dictionary NavigateEventInit : EventInit {
|
|
|
2009
2012
|
DOMString? downloadRequest = null;
|
|
2010
2013
|
any info;
|
|
2011
2014
|
boolean hasUAVisualTransition = false;
|
|
2015
|
+
Element? sourceElement = null;
|
|
2012
2016
|
};
|
|
2013
2017
|
|
|
2014
2018
|
dictionary NavigationInterceptOptions {
|
package/media-capabilities.idl
CHANGED
|
@@ -110,6 +110,8 @@ partial interface WorkerNavigator {
|
|
|
110
110
|
|
|
111
111
|
[Exposed=(Window, Worker)]
|
|
112
112
|
interface MediaCapabilities {
|
|
113
|
-
[NewObject] Promise<MediaCapabilitiesDecodingInfo> decodingInfo(
|
|
114
|
-
|
|
113
|
+
[NewObject] Promise<MediaCapabilitiesDecodingInfo> decodingInfo(
|
|
114
|
+
MediaDecodingConfiguration configuration);
|
|
115
|
+
[NewObject] Promise<MediaCapabilitiesEncodingInfo> encodingInfo(
|
|
116
|
+
MediaEncodingConfiguration configuration);
|
|
115
117
|
};
|
package/package.json
CHANGED
package/permissions-policy.idl
CHANGED
package/speech-api.idl
CHANGED
|
@@ -8,7 +8,6 @@ interface SpeechRecognition : EventTarget {
|
|
|
8
8
|
constructor();
|
|
9
9
|
|
|
10
10
|
// recognition parameters
|
|
11
|
-
attribute SpeechGrammarList grammars;
|
|
12
11
|
attribute DOMString lang;
|
|
13
12
|
attribute boolean continuous;
|
|
14
13
|
attribute boolean interimResults;
|
|
@@ -44,7 +43,6 @@ enum SpeechRecognitionErrorCode {
|
|
|
44
43
|
"network",
|
|
45
44
|
"not-allowed",
|
|
46
45
|
"service-not-allowed",
|
|
47
|
-
"bad-grammar",
|
|
48
46
|
"language-not-supported"
|
|
49
47
|
};
|
|
50
48
|
|
|
@@ -101,25 +99,6 @@ dictionary SpeechRecognitionEventInit : EventInit {
|
|
|
101
99
|
required SpeechRecognitionResultList results;
|
|
102
100
|
};
|
|
103
101
|
|
|
104
|
-
// The object representing a speech grammar
|
|
105
|
-
[Exposed=Window]
|
|
106
|
-
interface SpeechGrammar {
|
|
107
|
-
attribute DOMString src;
|
|
108
|
-
attribute float weight;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
// The object representing a speech grammar collection
|
|
112
|
-
[Exposed=Window]
|
|
113
|
-
interface SpeechGrammarList {
|
|
114
|
-
constructor();
|
|
115
|
-
readonly attribute unsigned long length;
|
|
116
|
-
getter SpeechGrammar item(unsigned long index);
|
|
117
|
-
undefined addFromURI(DOMString src,
|
|
118
|
-
optional float weight = 1.0);
|
|
119
|
-
undefined addFromString(DOMString string,
|
|
120
|
-
optional float weight = 1.0);
|
|
121
|
-
};
|
|
122
|
-
|
|
123
102
|
[Exposed=Window]
|
|
124
103
|
interface SpeechSynthesis : EventTarget {
|
|
125
104
|
readonly attribute boolean pending;
|
package/turtledove.idl
CHANGED
|
@@ -151,17 +151,31 @@ partial interface Navigator {
|
|
|
151
151
|
|
|
152
152
|
[SecureContext]
|
|
153
153
|
partial interface Navigator {
|
|
154
|
-
Promise<AdAuctionData> getInterestGroupAdAuctionData(AdAuctionDataConfig config);
|
|
154
|
+
Promise<AdAuctionData> getInterestGroupAdAuctionData(optional AdAuctionDataConfig config = {});
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
dictionary AdAuctionPerSellerData {
|
|
158
|
+
required USVString seller;
|
|
159
|
+
Uint8Array request;
|
|
160
|
+
DOMString error;
|
|
155
161
|
};
|
|
156
162
|
|
|
157
163
|
dictionary AdAuctionData {
|
|
158
|
-
required Uint8Array request;
|
|
159
164
|
required USVString requestId;
|
|
165
|
+
Uint8Array request;
|
|
166
|
+
sequence<AdAuctionPerSellerData> requests;
|
|
160
167
|
};
|
|
161
168
|
|
|
162
|
-
dictionary
|
|
169
|
+
dictionary AdAuctionOneSeller {
|
|
163
170
|
required USVString seller;
|
|
164
|
-
|
|
171
|
+
USVString coordinatorOrigin;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
dictionary AdAuctionDataConfig {
|
|
175
|
+
USVString seller;
|
|
176
|
+
USVString coordinatorOrigin;
|
|
177
|
+
sequence<AdAuctionOneSeller> sellers;
|
|
178
|
+
|
|
165
179
|
unsigned long requestSize;
|
|
166
180
|
record<USVString, AdAuctionDataBuyerConfig> perBuyerConfig;
|
|
167
181
|
};
|
package/web-animations-2.idl
CHANGED
|
@@ -14,6 +14,7 @@ partial interface AnimationTimeline {
|
|
|
14
14
|
partial interface Animation {
|
|
15
15
|
attribute CSSNumberish? startTime;
|
|
16
16
|
attribute CSSNumberish? currentTime;
|
|
17
|
+
attribute AnimationTrigger? trigger;
|
|
17
18
|
readonly attribute double? overallProgress;
|
|
18
19
|
};
|
|
19
20
|
|
|
@@ -98,6 +99,7 @@ dictionary TimelineRangeOffset {
|
|
|
98
99
|
partial dictionary KeyframeAnimationOptions {
|
|
99
100
|
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
|
|
100
101
|
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
|
|
102
|
+
AnimationTrigger? trigger;
|
|
101
103
|
};
|
|
102
104
|
|
|
103
105
|
[Exposed=Window]
|
|
@@ -111,3 +113,25 @@ dictionary AnimationPlaybackEventInit : EventInit {
|
|
|
111
113
|
CSSNumberish? currentTime = null;
|
|
112
114
|
CSSNumberish? timelineTime = null;
|
|
113
115
|
};
|
|
116
|
+
|
|
117
|
+
[Exposed=Window]
|
|
118
|
+
interface AnimationTrigger {
|
|
119
|
+
constructor(optional AnimationTriggerOptions options = {});
|
|
120
|
+
attribute AnimationTimeline timeline;
|
|
121
|
+
attribute AnimationTriggerType type;
|
|
122
|
+
attribute any rangeStart;
|
|
123
|
+
attribute any rangeEnd;
|
|
124
|
+
attribute any exitRangeStart;
|
|
125
|
+
attribute any exitRangeEnd;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
dictionary AnimationTriggerOptions {
|
|
129
|
+
AnimationTimeline? timeline;
|
|
130
|
+
AnimationTriggerType? type = "once";
|
|
131
|
+
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
|
|
132
|
+
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
|
|
133
|
+
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeStart = "auto";
|
|
134
|
+
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeEnd = "auto";
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
enum AnimationTriggerType { "once", "repeat", "alternate", "state" };
|