@webref/idl 3.11.2 → 3.12.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.
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
interface mixin HTMLAttributionSrcElementUtils {
|
|
7
7
|
[CEReactions] attribute USVString attributionSrc;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
HTMLAnchorElement includes HTMLAttributionSrcElementUtils;
|
|
11
|
+
HTMLImageElement includes HTMLAttributionSrcElementUtils;
|
|
12
|
+
HTMLScriptElement includes HTMLAttributionSrcElementUtils;
|
package/compute-pressure.idl
CHANGED
package/event-timing.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: Event Timing API (https://w3c.github.io/event-timing
|
|
4
|
+
// Source: Event Timing API (https://w3c.github.io/event-timing)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface PerformanceEventTiming : PerformanceEntry {
|
package/html.idl
CHANGED
package/mediacapture-region.idl
CHANGED
|
@@ -5,12 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker), Serializable]
|
|
7
7
|
interface CropTarget {
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
partial interface MediaDevices {
|
|
12
|
-
Promise<CropTarget>
|
|
13
|
-
produceCropTarget(Element element);
|
|
8
|
+
[SecureContext] static Promise<CropTarget> fromElement(Element element);
|
|
14
9
|
};
|
|
15
10
|
|
|
16
11
|
[Exposed = Window]
|
package/package.json
CHANGED
package/web-share.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -34,6 +34,7 @@ interface GPUSupportedLimits {
|
|
|
34
34
|
readonly attribute unsigned long maxVertexBufferArrayStride;
|
|
35
35
|
readonly attribute unsigned long maxInterStageShaderComponents;
|
|
36
36
|
readonly attribute unsigned long maxInterStageShaderVariables;
|
|
37
|
+
readonly attribute unsigned long maxColorAttachments;
|
|
37
38
|
readonly attribute unsigned long maxComputeWorkgroupStorageSize;
|
|
38
39
|
readonly attribute unsigned long maxComputeInvocationsPerWorkgroup;
|
|
39
40
|
readonly attribute unsigned long maxComputeWorkgroupSizeX;
|
|
@@ -55,10 +56,6 @@ interface GPUAdapterInfo {
|
|
|
55
56
|
readonly attribute DOMString description;
|
|
56
57
|
};
|
|
57
58
|
|
|
58
|
-
enum GPUPredefinedColorSpace {
|
|
59
|
-
"srgb"
|
|
60
|
-
};
|
|
61
|
-
|
|
62
59
|
interface mixin NavigatorGPU {
|
|
63
60
|
[SameObject, SecureContext] readonly attribute GPU gpu;
|
|
64
61
|
};
|
|
@@ -99,7 +96,6 @@ dictionary GPUDeviceDescriptor : GPUObjectDescriptorBase {
|
|
|
99
96
|
|
|
100
97
|
enum GPUFeatureName {
|
|
101
98
|
"depth-clip-control",
|
|
102
|
-
"depth24unorm-stencil8",
|
|
103
99
|
"depth32float-stencil8",
|
|
104
100
|
"texture-compression-bc",
|
|
105
101
|
"texture-compression-etc2",
|
|
@@ -148,6 +144,9 @@ interface GPUBuffer {
|
|
|
148
144
|
undefined unmap();
|
|
149
145
|
|
|
150
146
|
undefined destroy();
|
|
147
|
+
|
|
148
|
+
readonly attribute GPUSize64 size;
|
|
149
|
+
readonly attribute GPUBufferUsageFlags usage;
|
|
151
150
|
};
|
|
152
151
|
GPUBuffer includes GPUObjectBase;
|
|
153
152
|
|
|
@@ -184,6 +183,15 @@ interface GPUTexture {
|
|
|
184
183
|
GPUTextureView createView(optional GPUTextureViewDescriptor descriptor = {});
|
|
185
184
|
|
|
186
185
|
undefined destroy();
|
|
186
|
+
|
|
187
|
+
readonly attribute GPUIntegerCoordinate width;
|
|
188
|
+
readonly attribute GPUIntegerCoordinate height;
|
|
189
|
+
readonly attribute GPUIntegerCoordinate depthOrArrayLayers;
|
|
190
|
+
readonly attribute GPUIntegerCoordinate mipLevelCount;
|
|
191
|
+
readonly attribute GPUSize32 sampleCount;
|
|
192
|
+
readonly attribute GPUTextureDimension dimension;
|
|
193
|
+
readonly attribute GPUTextureFormat format;
|
|
194
|
+
readonly attribute GPUTextureUsageFlags usage;
|
|
187
195
|
};
|
|
188
196
|
GPUTexture includes GPUObjectBase;
|
|
189
197
|
|
|
@@ -298,9 +306,6 @@ enum GPUTextureFormat {
|
|
|
298
306
|
"depth24plus-stencil8",
|
|
299
307
|
"depth32float",
|
|
300
308
|
|
|
301
|
-
// "depth24unorm-stencil8" feature
|
|
302
|
-
"depth24unorm-stencil8",
|
|
303
|
-
|
|
304
309
|
// "depth32float-stencil8" feature
|
|
305
310
|
"depth32float-stencil8",
|
|
306
311
|
|
|
@@ -374,7 +379,7 @@ GPUExternalTexture includes GPUObjectBase;
|
|
|
374
379
|
|
|
375
380
|
dictionary GPUExternalTextureDescriptor : GPUObjectDescriptorBase {
|
|
376
381
|
required HTMLVideoElement source;
|
|
377
|
-
|
|
382
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
378
383
|
};
|
|
379
384
|
|
|
380
385
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -877,7 +882,7 @@ dictionary GPUImageCopyTexture {
|
|
|
877
882
|
};
|
|
878
883
|
|
|
879
884
|
dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
|
|
880
|
-
|
|
885
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
881
886
|
boolean premultipliedAlpha = false;
|
|
882
887
|
};
|
|
883
888
|
|
|
@@ -1088,6 +1093,9 @@ GPUQueue includes GPUObjectBase;
|
|
|
1088
1093
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1089
1094
|
interface GPUQuerySet {
|
|
1090
1095
|
undefined destroy();
|
|
1096
|
+
|
|
1097
|
+
readonly attribute GPUQueryType type;
|
|
1098
|
+
readonly attribute GPUSize32 count;
|
|
1091
1099
|
};
|
|
1092
1100
|
GPUQuerySet includes GPUObjectBase;
|
|
1093
1101
|
|
|
@@ -1121,7 +1129,7 @@ dictionary GPUCanvasConfiguration {
|
|
|
1121
1129
|
required GPUTextureFormat format;
|
|
1122
1130
|
GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
|
|
1123
1131
|
sequence<GPUTextureFormat> viewFormats = [];
|
|
1124
|
-
|
|
1132
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
1125
1133
|
GPUCanvasAlphaMode alphaMode = "opaque";
|
|
1126
1134
|
};
|
|
1127
1135
|
|