@webref/idl 3.59.3 → 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 +3 -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/web-animations-2.idl +8 -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
|
|
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/web-animations-2.idl
CHANGED
|
@@ -119,11 +119,19 @@ interface AnimationTrigger {
|
|
|
119
119
|
constructor(optional AnimationTriggerOptions options = {});
|
|
120
120
|
attribute AnimationTimeline timeline;
|
|
121
121
|
attribute AnimationTriggerType type;
|
|
122
|
+
attribute any rangeStart;
|
|
123
|
+
attribute any rangeEnd;
|
|
124
|
+
attribute any exitRangeStart;
|
|
125
|
+
attribute any exitRangeEnd;
|
|
122
126
|
};
|
|
123
127
|
|
|
124
128
|
dictionary AnimationTriggerOptions {
|
|
125
129
|
AnimationTimeline? timeline;
|
|
126
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";
|
|
127
135
|
};
|
|
128
136
|
|
|
129
137
|
enum AnimationTriggerType { "once", "repeat", "alternate", "state" };
|