@webref/idl 3.51.0 → 3.52.1
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/EXT_disjoint_timer_query.idl +1 -1
- package/OES_vertex_array_object.idl +1 -1
- package/css-anchor-position.idl +2 -2
- package/css-conditional.idl +2 -0
- package/css-font-loading.idl +0 -2
- package/css-mixins.idl +7 -0
- package/css-view-transitions-2.idl +0 -4
- package/html.idl +0 -2
- package/mediasession.idl +2 -1
- package/package.json +1 -1
- package/shared-storage.idl +7 -1
- package/turtledove.idl +20 -1
- package/webaudio.idl +1 -0
- package/webauthn.idl +2 -1
- package/webcodecs.idl +1 -1
- package/webgl1.idl +5 -5
- package/webgl2.idl +4 -4
- package/webgpu.idl +1 -0
- package/webnn.idl +119 -96
- package/webtransport.idl +20 -20
- package/css-viewport.idl +0 -13
|
@@ -19,7 +19,7 @@ interface EXT_disjoint_timer_query {
|
|
|
19
19
|
const GLenum TIMESTAMP_EXT = 0x8E28;
|
|
20
20
|
const GLenum GPU_DISJOINT_EXT = 0x8FBB;
|
|
21
21
|
|
|
22
|
-
WebGLTimerQueryEXT
|
|
22
|
+
WebGLTimerQueryEXT createQueryEXT();
|
|
23
23
|
undefined deleteQueryEXT(WebGLTimerQueryEXT? query);
|
|
24
24
|
[WebGLHandlesContextLoss] boolean isQueryEXT(WebGLTimerQueryEXT? query);
|
|
25
25
|
undefined beginQueryEXT(GLenum target, WebGLTimerQueryEXT query);
|
|
@@ -11,7 +11,7 @@ interface WebGLVertexArrayObjectOES : WebGLObject {
|
|
|
11
11
|
interface OES_vertex_array_object {
|
|
12
12
|
const GLenum VERTEX_ARRAY_BINDING_OES = 0x85B5;
|
|
13
13
|
|
|
14
|
-
WebGLVertexArrayObjectOES
|
|
14
|
+
WebGLVertexArrayObjectOES createVertexArrayOES();
|
|
15
15
|
undefined deleteVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject);
|
|
16
16
|
[WebGLHandlesContextLoss] GLboolean isVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject);
|
|
17
17
|
undefined bindVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject);
|
package/css-anchor-position.idl
CHANGED
|
@@ -79,6 +79,6 @@ interface CSSPositionTryDescriptors : CSSStyleDeclaration {
|
|
|
79
79
|
attribute CSSOMString justify-self;
|
|
80
80
|
attribute CSSOMString positionAnchor;
|
|
81
81
|
attribute CSSOMString position-anchor;
|
|
82
|
-
attribute CSSOMString
|
|
83
|
-
attribute CSSOMString
|
|
82
|
+
attribute CSSOMString positionArea;
|
|
83
|
+
attribute CSSOMString position-area;
|
|
84
84
|
};
|
package/css-conditional.idl
CHANGED
|
@@ -15,10 +15,12 @@ interface CSSConditionRule : CSSGroupingRule {
|
|
|
15
15
|
[Exposed=Window]
|
|
16
16
|
interface CSSMediaRule : CSSConditionRule {
|
|
17
17
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
18
|
+
readonly attribute boolean matches;
|
|
18
19
|
};
|
|
19
20
|
|
|
20
21
|
[Exposed=Window]
|
|
21
22
|
interface CSSSupportsRule : CSSConditionRule {
|
|
23
|
+
readonly attribute boolean matches;
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
partial namespace CSS {
|
package/css-font-loading.idl
CHANGED
|
@@ -97,8 +97,6 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
|
|
|
97
97
|
|
|
98
98
|
[Exposed=(Window,Worker)]
|
|
99
99
|
interface FontFaceSet : EventTarget {
|
|
100
|
-
constructor(sequence<FontFace> initialFaces);
|
|
101
|
-
|
|
102
100
|
setlike<FontFace>;
|
|
103
101
|
FontFaceSet add(FontFace font);
|
|
104
102
|
boolean delete(FontFace font);
|
package/css-mixins.idl
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Functions and Mixins Module (https://drafts.csswg.org/css-mixins-1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSFunctionRule : CSSGroupingRule { };
|
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
5
|
|
|
6
|
-
partial interface CSSRule {
|
|
7
|
-
const unsigned short VIEW_TRANSITION_RULE = 15;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
6
|
enum ViewTransitionNavigation { "auto", "none" };
|
|
11
7
|
|
|
12
8
|
[Exposed=Window]
|
package/html.idl
CHANGED
|
@@ -1411,8 +1411,6 @@ interface mixin CanvasDrawPath {
|
|
|
1411
1411
|
interface mixin CanvasUserInterface {
|
|
1412
1412
|
undefined drawFocusIfNeeded(Element element);
|
|
1413
1413
|
undefined drawFocusIfNeeded(Path2D path, Element element);
|
|
1414
|
-
undefined scrollPathIntoView();
|
|
1415
|
-
undefined scrollPathIntoView(Path2D path);
|
|
1416
1414
|
};
|
|
1417
1415
|
|
|
1418
1416
|
interface mixin CanvasText {
|
package/mediasession.idl
CHANGED
package/package.json
CHANGED
package/shared-storage.idl
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
typedef (USVString or FencedFrameConfig) SharedStorageResponse;
|
|
7
7
|
|
|
8
|
+
enum SharedStorageDataOrigin { "context-origin", "script-origin" };
|
|
9
|
+
|
|
8
10
|
[Exposed=(Window)]
|
|
9
11
|
interface SharedStorageWorklet : Worklet {
|
|
10
12
|
Promise<SharedStorageResponse> selectURL(DOMString name,
|
|
@@ -52,7 +54,7 @@ interface WindowSharedStorage : SharedStorage {
|
|
|
52
54
|
Promise<any> run(DOMString name,
|
|
53
55
|
optional SharedStorageRunOperationMethodOptions options = {});
|
|
54
56
|
|
|
55
|
-
Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional
|
|
57
|
+
Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional SharedStorageWorkletOptions options = {});
|
|
56
58
|
|
|
57
59
|
readonly attribute SharedStorageWorklet worklet;
|
|
58
60
|
};
|
|
@@ -63,6 +65,10 @@ dictionary SharedStorageRunOperationMethodOptions {
|
|
|
63
65
|
boolean keepAlive = false;
|
|
64
66
|
};
|
|
65
67
|
|
|
68
|
+
dictionary SharedStorageWorkletOptions : WorkletOptions {
|
|
69
|
+
SharedStorageDataOrigin dataOrigin = "context-origin";
|
|
70
|
+
};
|
|
71
|
+
|
|
66
72
|
partial interface Window {
|
|
67
73
|
[SecureContext] readonly attribute WindowSharedStorage? sharedStorage;
|
|
68
74
|
};
|
package/turtledove.idl
CHANGED
|
@@ -67,6 +67,10 @@ partial interface Navigator {
|
|
|
67
67
|
readonly attribute boolean deprecatedRunAdAuctionEnforcesKAnonymity;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
dictionary AuctionRealTimeReportingConfig {
|
|
71
|
+
required DOMString type;
|
|
72
|
+
};
|
|
73
|
+
|
|
70
74
|
dictionary AuctionAdConfig {
|
|
71
75
|
required USVString seller;
|
|
72
76
|
required USVString decisionLogicURL;
|
|
@@ -95,6 +99,8 @@ dictionary AuctionAdConfig {
|
|
|
95
99
|
sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
|
|
96
100
|
Promise<undefined> additionalBids;
|
|
97
101
|
DOMString auctionNonce;
|
|
102
|
+
AuctionRealTimeReportingConfig sellerRealTimeReportingConfig;
|
|
103
|
+
record<USVString, AuctionRealTimeReportingConfig> perBuyerRealTimeReportingConfig;
|
|
98
104
|
sequence<AuctionAdConfig> componentAuctions = [];
|
|
99
105
|
AbortSignal? signal;
|
|
100
106
|
Promise<boolean> resolveToConfig;
|
|
@@ -120,11 +126,22 @@ interface ForDebuggingOnly {
|
|
|
120
126
|
undefined reportAdAuctionLoss(USVString url);
|
|
121
127
|
};
|
|
122
128
|
|
|
129
|
+
[Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope]
|
|
130
|
+
interface RealTimeReporting {
|
|
131
|
+
undefined contributeToHistogram(RealTimeContribution contribution);
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
dictionary RealTimeContribution {
|
|
135
|
+
required long bucket;
|
|
136
|
+
required double priorityWeight;
|
|
137
|
+
long latencyThreshold;
|
|
138
|
+
};
|
|
139
|
+
|
|
123
140
|
[Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope,
|
|
124
141
|
Global=InterestGroupBiddingAndScoringScriptRunnerGlobalScope]
|
|
125
142
|
interface InterestGroupBiddingAndScoringScriptRunnerGlobalScope : InterestGroupScriptRunnerGlobalScope {
|
|
126
|
-
|
|
127
143
|
readonly attribute ForDebuggingOnly forDebuggingOnly;
|
|
144
|
+
readonly attribute RealTimeReporting realTimeReporting;
|
|
128
145
|
};
|
|
129
146
|
|
|
130
147
|
[Exposed=InterestGroupBiddingScriptRunnerGlobalScope,
|
|
@@ -215,6 +232,7 @@ dictionary BiddingBrowserSignals {
|
|
|
215
232
|
sequence<PreviousWin> prevWinsMs;
|
|
216
233
|
object wasmHelper;
|
|
217
234
|
unsigned long dataVersion;
|
|
235
|
+
unsigned long crossOriginDataVersion;
|
|
218
236
|
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
|
219
237
|
};
|
|
220
238
|
|
|
@@ -227,6 +245,7 @@ dictionary ScoringBrowserSignals {
|
|
|
227
245
|
|
|
228
246
|
record<DOMString, DOMString> renderSize;
|
|
229
247
|
unsigned long dataVersion;
|
|
248
|
+
unsigned long crossOriginDataVersion;
|
|
230
249
|
sequence<USVString> adComponents;
|
|
231
250
|
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
|
232
251
|
};
|
package/webaudio.idl
CHANGED
|
@@ -82,6 +82,7 @@ interface AudioContext : BaseAudioContext {
|
|
|
82
82
|
[SecureContext] readonly attribute (DOMString or AudioSinkInfo) sinkId;
|
|
83
83
|
[SecureContext] readonly attribute AudioRenderCapacity renderCapacity;
|
|
84
84
|
attribute EventHandler onsinkchange;
|
|
85
|
+
attribute EventHandler onerror;
|
|
85
86
|
AudioTimestamp getOutputTimestamp ();
|
|
86
87
|
Promise<undefined> resume ();
|
|
87
88
|
Promise<undefined> suspend ();
|
package/webauthn.idl
CHANGED
|
@@ -38,7 +38,7 @@ dictionary AuthenticatorAttestationResponseJSON {
|
|
|
38
38
|
// algorithm then the public key must be parsed directly from
|
|
39
39
|
// attestationObject or authenticatorData.
|
|
40
40
|
Base64URLString publicKey;
|
|
41
|
-
required
|
|
41
|
+
required COSEAlgorithmIdentifier publicKeyAlgorithm;
|
|
42
42
|
// This value contains copies of some of the fields above. See
|
|
43
43
|
// section “Easily accessing credential data”.
|
|
44
44
|
required Base64URLString attestationObject;
|
|
@@ -272,6 +272,7 @@ enum ClientCapability {
|
|
|
272
272
|
"hybridTransport",
|
|
273
273
|
"passkeyPlatformAuthenticator",
|
|
274
274
|
"userVerifyingPlatformAuthenticator",
|
|
275
|
+
"relatedOrigins"
|
|
275
276
|
};
|
|
276
277
|
|
|
277
278
|
enum PublicKeyCredentialHints {
|
package/webcodecs.idl
CHANGED
|
@@ -488,7 +488,7 @@ interface ImageDecoder {
|
|
|
488
488
|
static Promise<boolean> isTypeSupported(DOMString type);
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
-
typedef (
|
|
491
|
+
typedef (AllowSharedBufferSource or ReadableStream) ImageBufferSource;
|
|
492
492
|
dictionary ImageDecoderInit {
|
|
493
493
|
required DOMString type;
|
|
494
494
|
required ImageBufferSource data;
|
package/webgl1.idl
CHANGED
|
@@ -561,12 +561,12 @@ interface mixin WebGLRenderingContextBase
|
|
|
561
561
|
undefined copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
|
562
562
|
GLint x, GLint y, GLsizei width, GLsizei height);
|
|
563
563
|
|
|
564
|
-
WebGLBuffer
|
|
565
|
-
WebGLFramebuffer
|
|
566
|
-
WebGLProgram
|
|
567
|
-
WebGLRenderbuffer
|
|
564
|
+
WebGLBuffer createBuffer();
|
|
565
|
+
WebGLFramebuffer createFramebuffer();
|
|
566
|
+
WebGLProgram createProgram();
|
|
567
|
+
WebGLRenderbuffer createRenderbuffer();
|
|
568
568
|
WebGLShader? createShader(GLenum type);
|
|
569
|
-
WebGLTexture
|
|
569
|
+
WebGLTexture createTexture();
|
|
570
570
|
|
|
571
571
|
undefined cullFace(GLenum mode);
|
|
572
572
|
|
package/webgl2.idl
CHANGED
|
@@ -423,7 +423,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
423
423
|
undefined clearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
|
424
424
|
|
|
425
425
|
/* Query Objects */
|
|
426
|
-
WebGLQuery
|
|
426
|
+
WebGLQuery createQuery();
|
|
427
427
|
undefined deleteQuery(WebGLQuery? query);
|
|
428
428
|
[WebGLHandlesContextLoss] GLboolean isQuery(WebGLQuery? query);
|
|
429
429
|
undefined beginQuery(GLenum target, WebGLQuery query);
|
|
@@ -432,7 +432,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
432
432
|
any getQueryParameter(WebGLQuery query, GLenum pname);
|
|
433
433
|
|
|
434
434
|
/* Sampler Objects */
|
|
435
|
-
WebGLSampler
|
|
435
|
+
WebGLSampler createSampler();
|
|
436
436
|
undefined deleteSampler(WebGLSampler? sampler);
|
|
437
437
|
[WebGLHandlesContextLoss] GLboolean isSampler(WebGLSampler? sampler);
|
|
438
438
|
undefined bindSampler(GLuint unit, WebGLSampler? sampler);
|
|
@@ -449,7 +449,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
449
449
|
any getSyncParameter(WebGLSync sync, GLenum pname);
|
|
450
450
|
|
|
451
451
|
/* Transform Feedback */
|
|
452
|
-
WebGLTransformFeedback
|
|
452
|
+
WebGLTransformFeedback createTransformFeedback();
|
|
453
453
|
undefined deleteTransformFeedback(WebGLTransformFeedback? tf);
|
|
454
454
|
[WebGLHandlesContextLoss] GLboolean isTransformFeedback(WebGLTransformFeedback? tf);
|
|
455
455
|
undefined bindTransformFeedback (GLenum target, WebGLTransformFeedback? tf);
|
|
@@ -472,7 +472,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
472
472
|
undefined uniformBlockBinding(WebGLProgram program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
|
|
473
473
|
|
|
474
474
|
/* Vertex Array Objects */
|
|
475
|
-
WebGLVertexArrayObject
|
|
475
|
+
WebGLVertexArrayObject createVertexArray();
|
|
476
476
|
undefined deleteVertexArray(WebGLVertexArrayObject? vertexArray);
|
|
477
477
|
[WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
|
|
478
478
|
undefined bindVertexArray(WebGLVertexArrayObject? array);
|
package/webgpu.idl
CHANGED
package/webnn.idl
CHANGED
|
@@ -75,10 +75,11 @@ interface MLOperand {
|
|
|
75
75
|
sequence<unsigned long> shape();
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
dictionary MLOperatorOptions {
|
|
79
|
+
USVString label = "";
|
|
80
|
+
};
|
|
79
81
|
|
|
80
|
-
|
|
81
|
-
interface MLActivation {};
|
|
82
|
+
typedef (bigint or unrestricted double) MLNumber;
|
|
82
83
|
|
|
83
84
|
typedef record<USVString, MLOperand> MLNamedOperands;
|
|
84
85
|
|
|
@@ -100,18 +101,19 @@ interface MLGraphBuilder {
|
|
|
100
101
|
Promise<MLGraph> build(MLNamedOperands outputs);
|
|
101
102
|
};
|
|
102
103
|
|
|
103
|
-
dictionary MLArgMinMaxOptions {
|
|
104
|
-
sequence<[EnforceRange] unsigned long> axes;
|
|
104
|
+
dictionary MLArgMinMaxOptions : MLOperatorOptions {
|
|
105
105
|
boolean keepDimensions = false;
|
|
106
|
-
|
|
106
|
+
MLOperandDataType outputDataType = "int32";
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
partial interface MLGraphBuilder {
|
|
110
|
-
MLOperand argMin(MLOperand input,
|
|
111
|
-
|
|
110
|
+
MLOperand argMin(MLOperand input, [EnforceRange] unsigned long axis,
|
|
111
|
+
optional MLArgMinMaxOptions options = {});
|
|
112
|
+
MLOperand argMax(MLOperand input, [EnforceRange] unsigned long axis,
|
|
113
|
+
optional MLArgMinMaxOptions options = {});
|
|
112
114
|
};
|
|
113
115
|
|
|
114
|
-
dictionary MLBatchNormalizationOptions {
|
|
116
|
+
dictionary MLBatchNormalizationOptions : MLOperatorOptions {
|
|
115
117
|
MLOperand scale;
|
|
116
118
|
MLOperand bias;
|
|
117
119
|
[EnforceRange] unsigned long axis = 1;
|
|
@@ -124,10 +126,12 @@ partial interface MLGraphBuilder {
|
|
|
124
126
|
};
|
|
125
127
|
|
|
126
128
|
partial interface MLGraphBuilder {
|
|
127
|
-
MLOperand cast(MLOperand input,
|
|
129
|
+
MLOperand cast(MLOperand input,
|
|
130
|
+
MLOperandDataType type,
|
|
131
|
+
optional MLOperatorOptions options = {});
|
|
128
132
|
};
|
|
129
133
|
|
|
130
|
-
dictionary MLClampOptions {
|
|
134
|
+
dictionary MLClampOptions : MLOperatorOptions {
|
|
131
135
|
MLNumber minValue;
|
|
132
136
|
MLNumber maxValue;
|
|
133
137
|
};
|
|
@@ -137,7 +141,9 @@ partial interface MLGraphBuilder {
|
|
|
137
141
|
};
|
|
138
142
|
|
|
139
143
|
partial interface MLGraphBuilder {
|
|
140
|
-
MLOperand concat(sequence<MLOperand> inputs,
|
|
144
|
+
MLOperand concat(sequence<MLOperand> inputs,
|
|
145
|
+
[EnforceRange] unsigned long axis,
|
|
146
|
+
optional MLOperatorOptions options = {});
|
|
141
147
|
};
|
|
142
148
|
|
|
143
149
|
enum MLConv2dFilterOperandLayout {
|
|
@@ -147,7 +153,7 @@ enum MLConv2dFilterOperandLayout {
|
|
|
147
153
|
"ihwo"
|
|
148
154
|
};
|
|
149
155
|
|
|
150
|
-
dictionary MLConv2dOptions {
|
|
156
|
+
dictionary MLConv2dOptions : MLOperatorOptions {
|
|
151
157
|
sequence<[EnforceRange] unsigned long> padding;
|
|
152
158
|
sequence<[EnforceRange] unsigned long> strides;
|
|
153
159
|
sequence<[EnforceRange] unsigned long> dilations;
|
|
@@ -169,7 +175,7 @@ enum MLConvTranspose2dFilterOperandLayout {
|
|
|
169
175
|
"ohwi"
|
|
170
176
|
};
|
|
171
177
|
|
|
172
|
-
dictionary MLConvTranspose2dOptions {
|
|
178
|
+
dictionary MLConvTranspose2dOptions : MLOperatorOptions {
|
|
173
179
|
sequence<[EnforceRange] unsigned long> padding;
|
|
174
180
|
sequence<[EnforceRange] unsigned long> strides;
|
|
175
181
|
sequence<[EnforceRange] unsigned long> dilations;
|
|
@@ -187,54 +193,65 @@ partial interface MLGraphBuilder {
|
|
|
187
193
|
};
|
|
188
194
|
|
|
189
195
|
partial interface MLGraphBuilder {
|
|
190
|
-
MLOperand add(MLOperand a, MLOperand b);
|
|
191
|
-
MLOperand sub(MLOperand a, MLOperand b);
|
|
192
|
-
MLOperand mul(MLOperand a, MLOperand b);
|
|
193
|
-
MLOperand div(MLOperand a, MLOperand b);
|
|
194
|
-
MLOperand max(MLOperand a, MLOperand b);
|
|
195
|
-
MLOperand min(MLOperand a, MLOperand b);
|
|
196
|
-
MLOperand pow(MLOperand a, MLOperand b);
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
partial interface MLGraphBuilder {
|
|
200
|
-
MLOperand equal(MLOperand a,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
MLOperand
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
MLOperand
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
MLOperand
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
MLOperand
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
MLOperand
|
|
220
|
-
MLOperand
|
|
221
|
-
MLOperand
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
|
|
196
|
+
MLOperand add(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
197
|
+
MLOperand sub(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
198
|
+
MLOperand mul(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
199
|
+
MLOperand div(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
200
|
+
MLOperand max(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
201
|
+
MLOperand min(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
202
|
+
MLOperand pow(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
partial interface MLGraphBuilder {
|
|
206
|
+
MLOperand equal(MLOperand a,
|
|
207
|
+
MLOperand b,
|
|
208
|
+
optional MLOperatorOptions options = {});
|
|
209
|
+
MLOperand greater(MLOperand a,
|
|
210
|
+
MLOperand b,
|
|
211
|
+
optional MLOperatorOptions options = {});
|
|
212
|
+
MLOperand greaterOrEqual(MLOperand a,
|
|
213
|
+
MLOperand b,
|
|
214
|
+
optional MLOperatorOptions options = {});
|
|
215
|
+
MLOperand lesser(MLOperand a,
|
|
216
|
+
MLOperand b,
|
|
217
|
+
optional MLOperatorOptions options = {});
|
|
218
|
+
MLOperand lesserOrEqual(MLOperand a,
|
|
219
|
+
MLOperand b,
|
|
220
|
+
optional MLOperatorOptions options = {});
|
|
221
|
+
MLOperand logicalNot(MLOperand a, optional MLOperatorOptions options = {});
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
partial interface MLGraphBuilder {
|
|
225
|
+
MLOperand abs(MLOperand input, optional MLOperatorOptions options = {});
|
|
226
|
+
MLOperand ceil(MLOperand input, optional MLOperatorOptions options = {});
|
|
227
|
+
MLOperand cos(MLOperand input, optional MLOperatorOptions options = {});
|
|
228
|
+
MLOperand erf(MLOperand input, optional MLOperatorOptions options = {});
|
|
229
|
+
MLOperand exp(MLOperand input, optional MLOperatorOptions options = {});
|
|
230
|
+
MLOperand floor(MLOperand input, optional MLOperatorOptions options = {});
|
|
231
|
+
MLOperand identity(MLOperand input, optional MLOperatorOptions options = {});
|
|
232
|
+
MLOperand log(MLOperand input, optional MLOperatorOptions options = {});
|
|
233
|
+
MLOperand neg(MLOperand input, optional MLOperatorOptions options = {});
|
|
234
|
+
MLOperand reciprocal(MLOperand input, optional MLOperatorOptions options = {});
|
|
235
|
+
MLOperand sin(MLOperand input, optional MLOperatorOptions options = {});
|
|
236
|
+
MLOperand sqrt(MLOperand input, optional MLOperatorOptions options = {});
|
|
237
|
+
MLOperand tan(MLOperand input, optional MLOperatorOptions options = {});
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
dictionary MLEluOptions : MLOperatorOptions {
|
|
225
241
|
double alpha = 1;
|
|
226
242
|
};
|
|
227
243
|
|
|
228
244
|
partial interface MLGraphBuilder {
|
|
229
245
|
MLOperand elu(MLOperand input, optional MLEluOptions options = {});
|
|
230
|
-
MLActivation elu(optional MLEluOptions options = {});
|
|
231
246
|
};
|
|
232
247
|
|
|
233
248
|
partial interface MLGraphBuilder {
|
|
234
|
-
MLOperand expand(MLOperand input,
|
|
249
|
+
MLOperand expand(MLOperand input,
|
|
250
|
+
sequence<[EnforceRange] unsigned long> newShape,
|
|
251
|
+
optional MLOperatorOptions options = {});
|
|
235
252
|
};
|
|
236
253
|
|
|
237
|
-
dictionary MLGatherOptions {
|
|
254
|
+
dictionary MLGatherOptions : MLOperatorOptions {
|
|
238
255
|
[EnforceRange] unsigned long axis = 0;
|
|
239
256
|
};
|
|
240
257
|
|
|
@@ -245,11 +262,10 @@ partial interface MLGraphBuilder {
|
|
|
245
262
|
};
|
|
246
263
|
|
|
247
264
|
partial interface MLGraphBuilder {
|
|
248
|
-
MLOperand gelu(MLOperand input);
|
|
249
|
-
MLActivation gelu();
|
|
265
|
+
MLOperand gelu(MLOperand input, optional MLOperatorOptions options = {});
|
|
250
266
|
};
|
|
251
267
|
|
|
252
|
-
dictionary MLGemmOptions {
|
|
268
|
+
dictionary MLGemmOptions : MLOperatorOptions {
|
|
253
269
|
MLOperand c;
|
|
254
270
|
double alpha = 1.0;
|
|
255
271
|
double beta = 1.0;
|
|
@@ -266,13 +282,19 @@ enum MLGruWeightLayout {
|
|
|
266
282
|
"rzn" // reset-update-new gate ordering
|
|
267
283
|
};
|
|
268
284
|
|
|
285
|
+
enum MLRecurrentNetworkActivation {
|
|
286
|
+
"relu",
|
|
287
|
+
"sigmoid",
|
|
288
|
+
"tanh"
|
|
289
|
+
};
|
|
290
|
+
|
|
269
291
|
enum MLRecurrentNetworkDirection {
|
|
270
292
|
"forward",
|
|
271
293
|
"backward",
|
|
272
294
|
"both"
|
|
273
295
|
};
|
|
274
296
|
|
|
275
|
-
dictionary MLGruOptions {
|
|
297
|
+
dictionary MLGruOptions : MLOperatorOptions {
|
|
276
298
|
MLOperand bias;
|
|
277
299
|
MLOperand recurrentBias;
|
|
278
300
|
MLOperand initialHiddenState;
|
|
@@ -280,7 +302,7 @@ dictionary MLGruOptions {
|
|
|
280
302
|
boolean returnSequence = false;
|
|
281
303
|
MLRecurrentNetworkDirection direction = "forward";
|
|
282
304
|
MLGruWeightLayout layout = "zrn";
|
|
283
|
-
sequence<
|
|
305
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
284
306
|
};
|
|
285
307
|
|
|
286
308
|
partial interface MLGraphBuilder {
|
|
@@ -292,12 +314,12 @@ partial interface MLGraphBuilder {
|
|
|
292
314
|
optional MLGruOptions options = {});
|
|
293
315
|
};
|
|
294
316
|
|
|
295
|
-
dictionary MLGruCellOptions {
|
|
317
|
+
dictionary MLGruCellOptions : MLOperatorOptions {
|
|
296
318
|
MLOperand bias;
|
|
297
319
|
MLOperand recurrentBias;
|
|
298
320
|
boolean resetAfter = true;
|
|
299
321
|
MLGruWeightLayout layout = "zrn";
|
|
300
|
-
sequence<
|
|
322
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
301
323
|
};
|
|
302
324
|
|
|
303
325
|
partial interface MLGraphBuilder {
|
|
@@ -309,22 +331,20 @@ partial interface MLGraphBuilder {
|
|
|
309
331
|
optional MLGruCellOptions options = {});
|
|
310
332
|
};
|
|
311
333
|
|
|
312
|
-
dictionary MLHardSigmoidOptions {
|
|
334
|
+
dictionary MLHardSigmoidOptions : MLOperatorOptions {
|
|
313
335
|
double alpha = 0.2;
|
|
314
336
|
double beta = 0.5;
|
|
315
337
|
};
|
|
316
338
|
|
|
317
339
|
partial interface MLGraphBuilder {
|
|
318
340
|
MLOperand hardSigmoid(MLOperand input, optional MLHardSigmoidOptions options = {});
|
|
319
|
-
MLActivation hardSigmoid(optional MLHardSigmoidOptions options = {});
|
|
320
341
|
};
|
|
321
342
|
|
|
322
343
|
partial interface MLGraphBuilder {
|
|
323
|
-
MLOperand hardSwish(MLOperand input);
|
|
324
|
-
MLActivation hardSwish();
|
|
344
|
+
MLOperand hardSwish(MLOperand input, optional MLOperatorOptions options = {});
|
|
325
345
|
};
|
|
326
346
|
|
|
327
|
-
dictionary MLInstanceNormalizationOptions {
|
|
347
|
+
dictionary MLInstanceNormalizationOptions : MLOperatorOptions {
|
|
328
348
|
MLOperand scale;
|
|
329
349
|
MLOperand bias;
|
|
330
350
|
double epsilon = 1e-5;
|
|
@@ -336,7 +356,7 @@ partial interface MLGraphBuilder {
|
|
|
336
356
|
optional MLInstanceNormalizationOptions options = {});
|
|
337
357
|
};
|
|
338
358
|
|
|
339
|
-
dictionary MLLayerNormalizationOptions {
|
|
359
|
+
dictionary MLLayerNormalizationOptions : MLOperatorOptions {
|
|
340
360
|
MLOperand scale;
|
|
341
361
|
MLOperand bias;
|
|
342
362
|
sequence<[EnforceRange] unsigned long> axes;
|
|
@@ -348,23 +368,21 @@ partial interface MLGraphBuilder {
|
|
|
348
368
|
optional MLLayerNormalizationOptions options = {});
|
|
349
369
|
};
|
|
350
370
|
|
|
351
|
-
dictionary MLLeakyReluOptions {
|
|
371
|
+
dictionary MLLeakyReluOptions : MLOperatorOptions {
|
|
352
372
|
double alpha = 0.01;
|
|
353
373
|
};
|
|
354
374
|
|
|
355
375
|
partial interface MLGraphBuilder {
|
|
356
376
|
MLOperand leakyRelu(MLOperand input, optional MLLeakyReluOptions options = {});
|
|
357
|
-
MLActivation leakyRelu(optional MLLeakyReluOptions options = {});
|
|
358
377
|
};
|
|
359
378
|
|
|
360
|
-
dictionary MLLinearOptions {
|
|
379
|
+
dictionary MLLinearOptions : MLOperatorOptions {
|
|
361
380
|
double alpha = 1;
|
|
362
381
|
double beta = 0;
|
|
363
382
|
};
|
|
364
383
|
|
|
365
384
|
partial interface MLGraphBuilder {
|
|
366
385
|
MLOperand linear(MLOperand input, optional MLLinearOptions options = {});
|
|
367
|
-
MLActivation linear(optional MLLinearOptions options = {});
|
|
368
386
|
};
|
|
369
387
|
|
|
370
388
|
enum MLLstmWeightLayout {
|
|
@@ -372,7 +390,7 @@ enum MLLstmWeightLayout {
|
|
|
372
390
|
"ifgo" // input-forget-cell-output gate ordering
|
|
373
391
|
};
|
|
374
392
|
|
|
375
|
-
dictionary MLLstmOptions {
|
|
393
|
+
dictionary MLLstmOptions : MLOperatorOptions {
|
|
376
394
|
MLOperand bias;
|
|
377
395
|
MLOperand recurrentBias;
|
|
378
396
|
MLOperand peepholeWeight;
|
|
@@ -381,7 +399,7 @@ dictionary MLLstmOptions {
|
|
|
381
399
|
boolean returnSequence = false;
|
|
382
400
|
MLRecurrentNetworkDirection direction = "forward";
|
|
383
401
|
MLLstmWeightLayout layout = "iofg";
|
|
384
|
-
sequence<
|
|
402
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
385
403
|
};
|
|
386
404
|
|
|
387
405
|
partial interface MLGraphBuilder {
|
|
@@ -393,12 +411,12 @@ partial interface MLGraphBuilder {
|
|
|
393
411
|
optional MLLstmOptions options = {});
|
|
394
412
|
};
|
|
395
413
|
|
|
396
|
-
dictionary MLLstmCellOptions {
|
|
414
|
+
dictionary MLLstmCellOptions : MLOperatorOptions {
|
|
397
415
|
MLOperand bias;
|
|
398
416
|
MLOperand recurrentBias;
|
|
399
417
|
MLOperand peepholeWeight;
|
|
400
418
|
MLLstmWeightLayout layout = "iofg";
|
|
401
|
-
sequence<
|
|
419
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
402
420
|
};
|
|
403
421
|
|
|
404
422
|
partial interface MLGraphBuilder {
|
|
@@ -412,7 +430,7 @@ partial interface MLGraphBuilder {
|
|
|
412
430
|
};
|
|
413
431
|
|
|
414
432
|
partial interface MLGraphBuilder {
|
|
415
|
-
MLOperand matmul(MLOperand a, MLOperand b);
|
|
433
|
+
MLOperand matmul(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
416
434
|
};
|
|
417
435
|
|
|
418
436
|
enum MLPaddingMode {
|
|
@@ -422,7 +440,7 @@ enum MLPaddingMode {
|
|
|
422
440
|
"symmetric"
|
|
423
441
|
};
|
|
424
442
|
|
|
425
|
-
dictionary MLPadOptions {
|
|
443
|
+
dictionary MLPadOptions : MLOperatorOptions {
|
|
426
444
|
MLPaddingMode mode = "constant";
|
|
427
445
|
MLNumber value = 0;
|
|
428
446
|
};
|
|
@@ -439,7 +457,7 @@ enum MLRoundingType {
|
|
|
439
457
|
"ceil"
|
|
440
458
|
};
|
|
441
459
|
|
|
442
|
-
dictionary MLPool2dOptions {
|
|
460
|
+
dictionary MLPool2dOptions : MLOperatorOptions {
|
|
443
461
|
sequence<[EnforceRange] unsigned long> windowDimensions;
|
|
444
462
|
sequence<[EnforceRange] unsigned long> padding;
|
|
445
463
|
sequence<[EnforceRange] unsigned long> strides;
|
|
@@ -456,10 +474,12 @@ partial interface MLGraphBuilder {
|
|
|
456
474
|
};
|
|
457
475
|
|
|
458
476
|
partial interface MLGraphBuilder {
|
|
459
|
-
MLOperand prelu(MLOperand input,
|
|
477
|
+
MLOperand prelu(MLOperand input,
|
|
478
|
+
MLOperand slope,
|
|
479
|
+
optional MLOperatorOptions options = {});
|
|
460
480
|
};
|
|
461
481
|
|
|
462
|
-
dictionary MLReduceOptions {
|
|
482
|
+
dictionary MLReduceOptions : MLOperatorOptions {
|
|
463
483
|
sequence<[EnforceRange] unsigned long> axes;
|
|
464
484
|
boolean keepDimensions = false;
|
|
465
485
|
};
|
|
@@ -478,8 +498,7 @@ partial interface MLGraphBuilder {
|
|
|
478
498
|
};
|
|
479
499
|
|
|
480
500
|
partial interface MLGraphBuilder {
|
|
481
|
-
MLOperand relu(MLOperand input);
|
|
482
|
-
MLActivation relu();
|
|
501
|
+
MLOperand relu(MLOperand input, optional MLOperatorOptions options = {});
|
|
483
502
|
};
|
|
484
503
|
|
|
485
504
|
enum MLInterpolationMode {
|
|
@@ -487,7 +506,7 @@ enum MLInterpolationMode {
|
|
|
487
506
|
"linear"
|
|
488
507
|
};
|
|
489
508
|
|
|
490
|
-
dictionary MLResample2dOptions {
|
|
509
|
+
dictionary MLResample2dOptions : MLOperatorOptions {
|
|
491
510
|
MLInterpolationMode mode = "nearest-neighbor";
|
|
492
511
|
sequence<float> scales;
|
|
493
512
|
sequence<[EnforceRange] unsigned long> sizes;
|
|
@@ -499,35 +518,37 @@ partial interface MLGraphBuilder {
|
|
|
499
518
|
};
|
|
500
519
|
|
|
501
520
|
partial interface MLGraphBuilder {
|
|
502
|
-
MLOperand reshape(MLOperand input,
|
|
521
|
+
MLOperand reshape(MLOperand input,
|
|
522
|
+
sequence<[EnforceRange] unsigned long> newShape,
|
|
523
|
+
optional MLOperatorOptions options = {});
|
|
503
524
|
};
|
|
504
525
|
|
|
505
526
|
partial interface MLGraphBuilder {
|
|
506
|
-
MLOperand sigmoid(MLOperand input);
|
|
507
|
-
MLActivation sigmoid();
|
|
527
|
+
MLOperand sigmoid(MLOperand input, optional MLOperatorOptions options = {});
|
|
508
528
|
};
|
|
509
529
|
|
|
510
530
|
partial interface MLGraphBuilder {
|
|
511
531
|
MLOperand slice(MLOperand input,
|
|
512
532
|
sequence<[EnforceRange] unsigned long> starts,
|
|
513
|
-
sequence<[EnforceRange] unsigned long> sizes
|
|
533
|
+
sequence<[EnforceRange] unsigned long> sizes,
|
|
534
|
+
optional MLOperatorOptions options = {});
|
|
514
535
|
};
|
|
515
536
|
|
|
516
537
|
partial interface MLGraphBuilder {
|
|
517
|
-
MLOperand softmax(MLOperand input,
|
|
538
|
+
MLOperand softmax(MLOperand input,
|
|
539
|
+
[EnforceRange] unsigned long axis,
|
|
540
|
+
optional MLOperatorOptions options = {});
|
|
518
541
|
};
|
|
519
542
|
|
|
520
543
|
partial interface MLGraphBuilder {
|
|
521
|
-
MLOperand softplus(MLOperand input);
|
|
522
|
-
MLActivation softplus();
|
|
544
|
+
MLOperand softplus(MLOperand input, optional MLOperatorOptions options = {});
|
|
523
545
|
};
|
|
524
546
|
|
|
525
547
|
partial interface MLGraphBuilder {
|
|
526
|
-
MLOperand softsign(MLOperand input);
|
|
527
|
-
MLActivation softsign();
|
|
548
|
+
MLOperand softsign(MLOperand input, optional MLOperatorOptions options = {});
|
|
528
549
|
};
|
|
529
550
|
|
|
530
|
-
dictionary MLSplitOptions {
|
|
551
|
+
dictionary MLSplitOptions : MLOperatorOptions {
|
|
531
552
|
[EnforceRange] unsigned long axis = 0;
|
|
532
553
|
};
|
|
533
554
|
|
|
@@ -539,11 +560,10 @@ partial interface MLGraphBuilder {
|
|
|
539
560
|
};
|
|
540
561
|
|
|
541
562
|
partial interface MLGraphBuilder {
|
|
542
|
-
MLOperand tanh(MLOperand input);
|
|
543
|
-
MLActivation tanh();
|
|
563
|
+
MLOperand tanh(MLOperand input, optional MLOperatorOptions options = {});
|
|
544
564
|
};
|
|
545
565
|
|
|
546
|
-
dictionary MLTransposeOptions {
|
|
566
|
+
dictionary MLTransposeOptions : MLOperatorOptions {
|
|
547
567
|
sequence<[EnforceRange] unsigned long> permutation;
|
|
548
568
|
};
|
|
549
569
|
|
|
@@ -551,7 +571,7 @@ partial interface MLGraphBuilder {
|
|
|
551
571
|
MLOperand transpose(MLOperand input, optional MLTransposeOptions options = {});
|
|
552
572
|
};
|
|
553
573
|
|
|
554
|
-
dictionary MLTriangularOptions {
|
|
574
|
+
dictionary MLTriangularOptions : MLOperatorOptions {
|
|
555
575
|
boolean upper = true;
|
|
556
576
|
[EnforceRange] long diagonal = 0;
|
|
557
577
|
};
|
|
@@ -561,5 +581,8 @@ partial interface MLGraphBuilder {
|
|
|
561
581
|
};
|
|
562
582
|
|
|
563
583
|
partial interface MLGraphBuilder {
|
|
564
|
-
MLOperand where(MLOperand condition,
|
|
584
|
+
MLOperand where(MLOperand condition,
|
|
585
|
+
MLOperand trueValue,
|
|
586
|
+
MLOperand falseValue,
|
|
587
|
+
optional MLOperatorOptions options = {});
|
|
565
588
|
};
|
package/webtransport.idl
CHANGED
|
@@ -84,24 +84,24 @@ dictionary WebTransportSendStreamOptions {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
dictionary WebTransportConnectionStats {
|
|
87
|
-
unsigned long long bytesSent;
|
|
88
|
-
unsigned long long packetsSent;
|
|
89
|
-
unsigned long long bytesLost;
|
|
90
|
-
unsigned long long packetsLost;
|
|
91
|
-
unsigned long long bytesReceived;
|
|
92
|
-
unsigned long long packetsReceived;
|
|
93
|
-
DOMHighResTimeStamp smoothedRtt;
|
|
94
|
-
DOMHighResTimeStamp rttVariation;
|
|
95
|
-
DOMHighResTimeStamp minRtt;
|
|
96
|
-
WebTransportDatagramStats datagrams;
|
|
97
|
-
unsigned long long? estimatedSendRate;
|
|
87
|
+
unsigned long long bytesSent = 0;
|
|
88
|
+
unsigned long long packetsSent = 0;
|
|
89
|
+
unsigned long long bytesLost = 0;
|
|
90
|
+
unsigned long long packetsLost = 0;
|
|
91
|
+
unsigned long long bytesReceived = 0;
|
|
92
|
+
unsigned long long packetsReceived = 0;
|
|
93
|
+
required DOMHighResTimeStamp smoothedRtt;
|
|
94
|
+
required DOMHighResTimeStamp rttVariation;
|
|
95
|
+
required DOMHighResTimeStamp minRtt;
|
|
96
|
+
required WebTransportDatagramStats datagrams;
|
|
97
|
+
required unsigned long long? estimatedSendRate;
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
dictionary WebTransportDatagramStats {
|
|
101
|
-
unsigned long long droppedIncoming;
|
|
102
|
-
unsigned long long expiredIncoming;
|
|
103
|
-
unsigned long long expiredOutgoing;
|
|
104
|
-
unsigned long long lostOutgoing;
|
|
101
|
+
unsigned long long droppedIncoming = 0;
|
|
102
|
+
unsigned long long expiredIncoming = 0;
|
|
103
|
+
unsigned long long expiredOutgoing = 0;
|
|
104
|
+
unsigned long long lostOutgoing = 0;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
[Exposed=(Window,Worker), SecureContext, Transferable]
|
|
@@ -113,9 +113,9 @@ interface WebTransportSendStream : WritableStream {
|
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
dictionary WebTransportSendStreamStats {
|
|
116
|
-
unsigned long long bytesWritten;
|
|
117
|
-
unsigned long long bytesSent;
|
|
118
|
-
unsigned long long bytesAcknowledged;
|
|
116
|
+
unsigned long long bytesWritten = 0;
|
|
117
|
+
unsigned long long bytesSent = 0;
|
|
118
|
+
unsigned long long bytesAcknowledged = 0;
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
[Exposed=(Window,Worker), SecureContext]
|
|
@@ -129,8 +129,8 @@ interface WebTransportReceiveStream : ReadableStream {
|
|
|
129
129
|
};
|
|
130
130
|
|
|
131
131
|
dictionary WebTransportReceiveStreamStats {
|
|
132
|
-
unsigned long long bytesReceived;
|
|
133
|
-
unsigned long long bytesRead;
|
|
132
|
+
unsigned long long bytesReceived = 0;
|
|
133
|
+
unsigned long long bytesRead = 0;
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
[Exposed=(Window,Worker), SecureContext]
|
package/css-viewport.idl
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: CSS Viewport Module Level 1 (https://drafts.csswg.org/css-viewport/)
|
|
5
|
-
|
|
6
|
-
partial interface Window {
|
|
7
|
-
[SameObject, Replaceable] readonly attribute Viewport? viewport;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
[Exposed=Window]
|
|
11
|
-
interface Viewport : EventTarget {
|
|
12
|
-
readonly attribute double zoom;
|
|
13
|
-
};
|