@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.
@@ -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();
@@ -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
@@ -196,4 +196,5 @@ interface VisualViewport : EventTarget {
196
196
 
197
197
  attribute EventHandler onresize;
198
198
  attribute EventHandler onscroll;
199
+ attribute EventHandler onscrollend;
199
200
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.22.0",
4
+ "version": "3.22.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -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 Level 2 (https://w3c.github.io/performance-timeline/)
4
+ // Source: Performance Timeline (https://w3c.github.io/performance-timeline/)
5
5
 
6
6
  partial interface Performance {
7
7
  PerformanceEntryList getEntries ();
@@ -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 Level 2 (https://w3c.github.io/resource-timing/)
4
+ // Source: Resource Timing (https://w3c.github.io/resource-timing/)
5
5
 
6
6
  [Exposed=(Window,Worker)]
7
7
  interface PerformanceResourceTiming : PerformanceEntry {
@@ -63,6 +63,7 @@ partial dictionary MediaTrackSettings {
63
63
  boolean logicalSurface;
64
64
  DOMString cursor;
65
65
  boolean restrictOwnAudio;
66
+ boolean suppressLocalAudioPlayback;
66
67
  };
67
68
 
68
69
  partial dictionary MediaTrackCapabilities {
@@ -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: The Screen Orientation API (https://w3c.github.io/screen-orientation/)
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 = []);