@webref/idl 3.22.0 → 3.22.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/compute-pressure.idl +1 -1
- package/css-animations.idl +2 -0
- package/cssom-view.idl +1 -0
- package/package.json +1 -1
- package/performance-timeline.idl +1 -1
- package/resource-timing.idl +1 -1
- package/screen-capture.idl +1 -0
- package/screen-orientation.idl +1 -1
- package/webgpu.idl +28 -28
package/compute-pressure.idl
CHANGED
|
@@ -18,7 +18,7 @@ enum PressureSource { "cpu" };
|
|
|
18
18
|
interface PressureObserver {
|
|
19
19
|
constructor(PressureUpdateCallback callback, optional PressureObserverOptions options = {});
|
|
20
20
|
|
|
21
|
-
undefined observe(PressureSource source);
|
|
21
|
+
Promise<undefined> observe(PressureSource source);
|
|
22
22
|
undefined unobserve(PressureSource source);
|
|
23
23
|
undefined disconnect();
|
|
24
24
|
sequence<PressureRecord> takeRecords();
|
package/css-animations.idl
CHANGED
|
@@ -31,7 +31,9 @@ interface CSSKeyframeRule : CSSRule {
|
|
|
31
31
|
interface CSSKeyframesRule : CSSRule {
|
|
32
32
|
attribute CSSOMString name;
|
|
33
33
|
readonly attribute CSSRuleList cssRules;
|
|
34
|
+
readonly attribute unsigned long length;
|
|
34
35
|
|
|
36
|
+
getter CSSKeyframeRule (unsigned long index);
|
|
35
37
|
undefined appendRule(CSSOMString rule);
|
|
36
38
|
undefined deleteRule(CSSOMString select);
|
|
37
39
|
CSSKeyframeRule? findRule(CSSOMString select);
|
package/cssom-view.idl
CHANGED
package/package.json
CHANGED
package/performance-timeline.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: Performance Timeline
|
|
4
|
+
// Source: Performance Timeline (https://w3c.github.io/performance-timeline/)
|
|
5
5
|
|
|
6
6
|
partial interface Performance {
|
|
7
7
|
PerformanceEntryList getEntries ();
|
package/resource-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: Resource Timing
|
|
4
|
+
// Source: Resource Timing (https://w3c.github.io/resource-timing/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker)]
|
|
7
7
|
interface PerformanceResourceTiming : PerformanceEntry {
|
package/screen-capture.idl
CHANGED
package/screen-orientation.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:
|
|
4
|
+
// Source: Screen Orientation (https://w3c.github.io/screen-orientation/)
|
|
5
5
|
|
|
6
6
|
partial interface Screen {
|
|
7
7
|
[SameObject] readonly attribute ScreenOrientation orientation;
|
package/webgpu.idl
CHANGED
|
@@ -815,6 +815,34 @@ dictionary GPUVertexAttribute {
|
|
|
815
815
|
required GPUIndex32 shaderLocation;
|
|
816
816
|
};
|
|
817
817
|
|
|
818
|
+
dictionary GPUImageDataLayout {
|
|
819
|
+
GPUSize64 offset = 0;
|
|
820
|
+
GPUSize32 bytesPerRow;
|
|
821
|
+
GPUSize32 rowsPerImage;
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
dictionary GPUImageCopyBuffer : GPUImageDataLayout {
|
|
825
|
+
required GPUBuffer buffer;
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
dictionary GPUImageCopyTexture {
|
|
829
|
+
required GPUTexture texture;
|
|
830
|
+
GPUIntegerCoordinate mipLevel = 0;
|
|
831
|
+
GPUOrigin3D origin = {};
|
|
832
|
+
GPUTextureAspect aspect = "all";
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
|
|
836
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
837
|
+
boolean premultipliedAlpha = false;
|
|
838
|
+
};
|
|
839
|
+
|
|
840
|
+
dictionary GPUImageCopyExternalImage {
|
|
841
|
+
required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source;
|
|
842
|
+
GPUOrigin2D origin = {};
|
|
843
|
+
boolean flipY = false;
|
|
844
|
+
};
|
|
845
|
+
|
|
818
846
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
819
847
|
interface GPUCommandBuffer {
|
|
820
848
|
};
|
|
@@ -876,34 +904,6 @@ GPUCommandEncoder includes GPUDebugCommandsMixin;
|
|
|
876
904
|
dictionary GPUCommandEncoderDescriptor : GPUObjectDescriptorBase {
|
|
877
905
|
};
|
|
878
906
|
|
|
879
|
-
dictionary GPUImageDataLayout {
|
|
880
|
-
GPUSize64 offset = 0;
|
|
881
|
-
GPUSize32 bytesPerRow;
|
|
882
|
-
GPUSize32 rowsPerImage;
|
|
883
|
-
};
|
|
884
|
-
|
|
885
|
-
dictionary GPUImageCopyBuffer : GPUImageDataLayout {
|
|
886
|
-
required GPUBuffer buffer;
|
|
887
|
-
};
|
|
888
|
-
|
|
889
|
-
dictionary GPUImageCopyTexture {
|
|
890
|
-
required GPUTexture texture;
|
|
891
|
-
GPUIntegerCoordinate mipLevel = 0;
|
|
892
|
-
GPUOrigin3D origin = {};
|
|
893
|
-
GPUTextureAspect aspect = "all";
|
|
894
|
-
};
|
|
895
|
-
|
|
896
|
-
dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
|
|
897
|
-
PredefinedColorSpace colorSpace = "srgb";
|
|
898
|
-
boolean premultipliedAlpha = false;
|
|
899
|
-
};
|
|
900
|
-
|
|
901
|
-
dictionary GPUImageCopyExternalImage {
|
|
902
|
-
required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source;
|
|
903
|
-
GPUOrigin2D origin = {};
|
|
904
|
-
boolean flipY = false;
|
|
905
|
-
};
|
|
906
|
-
|
|
907
907
|
interface mixin GPUBindingCommandsMixin {
|
|
908
908
|
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
909
909
|
optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
|