@webref/idl 2.11.0 → 2.11.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/css-pseudo.idl CHANGED
@@ -7,6 +7,8 @@
7
7
  interface CSSPseudoElement : EventTarget {
8
8
  readonly attribute CSSOMString type;
9
9
  readonly attribute Element element;
10
+ readonly attribute (Element or CSSPseudoElement) parent;
11
+ CSSPseudoElement? pseudo(CSSOMString type);
10
12
  };
11
13
 
12
14
  partial interface Element {
@@ -8,20 +8,18 @@ interface mixin NavigatorFonts {
8
8
  [SameObject] readonly attribute FontManager fonts;
9
9
  };
10
10
  Navigator includes NavigatorFonts;
11
- WorkerNavigator includes NavigatorFonts;
12
11
 
13
12
  [SecureContext,
14
- Exposed=(Window,Worker)]
13
+ Exposed=Window]
15
14
  interface FontManager {
16
15
  Promise<sequence<FontMetadata>> query(optional QueryOptions options = {});
17
16
  };
18
17
 
19
18
  dictionary QueryOptions {
20
- boolean persistentAccess = false;
21
19
  sequence<DOMString> select = [];
22
20
  };
23
21
 
24
- [Exposed=(Window,Worker)]
22
+ [Exposed=Window]
25
23
  interface FontMetadata {
26
24
  Promise<Blob> blob();
27
25
 
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": "2.11.0",
4
+ "version": "2.11.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webgpu.idl CHANGED
@@ -782,6 +782,9 @@ GPUCommandBuffer includes GPUObjectBase;
782
782
  dictionary GPUCommandBufferDescriptor : GPUObjectDescriptorBase {
783
783
  };
784
784
 
785
+ interface mixin GPUCommandsMixin {
786
+ };
787
+
785
788
  [Exposed=(Window, DedicatedWorker), SecureContext]
786
789
  interface GPUCommandEncoder {
787
790
  GPURenderPassEncoder beginRenderPass(GPURenderPassDescriptor descriptor);
@@ -814,10 +817,6 @@ interface GPUCommandEncoder {
814
817
  optional GPUSize64 offset = 0,
815
818
  optional GPUSize64 size);
816
819
 
817
- undefined pushDebugGroup(USVString groupLabel);
818
- undefined popDebugGroup();
819
- undefined insertDebugMarker(USVString markerLabel);
820
-
821
820
  undefined writeTimestamp(GPUQuerySet querySet, GPUSize32 queryIndex);
822
821
 
823
822
  undefined resolveQuerySet(
@@ -830,6 +829,8 @@ interface GPUCommandEncoder {
830
829
  GPUCommandBuffer finish(optional GPUCommandBufferDescriptor descriptor = {});
831
830
  };
832
831
  GPUCommandEncoder includes GPUObjectBase;
832
+ GPUCommandEncoder includes GPUCommandsMixin;
833
+ GPUCommandEncoder includes GPUDebugCommandsMixin;
833
834
 
834
835
  dictionary GPUCommandEncoderDescriptor : GPUObjectDescriptorBase {
835
836
  };
@@ -859,6 +860,7 @@ dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
859
860
  dictionary GPUImageCopyExternalImage {
860
861
  required (ImageBitmap or HTMLCanvasElement or OffscreenCanvas) source;
861
862
  GPUOrigin2D origin = {};
863
+ boolean flipY = false;
862
864
  };
863
865
 
864
866
  interface mixin GPUProgrammablePassEncoder {
@@ -869,7 +871,9 @@ interface mixin GPUProgrammablePassEncoder {
869
871
  Uint32Array dynamicOffsetsData,
870
872
  GPUSize64 dynamicOffsetsDataStart,
871
873
  GPUSize32 dynamicOffsetsDataLength);
874
+ };
872
875
 
876
+ interface mixin GPUDebugCommandsMixin {
873
877
  undefined pushDebugGroup(USVString groupLabel);
874
878
  undefined popDebugGroup();
875
879
  undefined insertDebugMarker(USVString markerLabel);
@@ -884,6 +888,8 @@ interface GPUComputePassEncoder {
884
888
  undefined endPass();
885
889
  };
886
890
  GPUComputePassEncoder includes GPUObjectBase;
891
+ GPUComputePassEncoder includes GPUCommandsMixin;
892
+ GPUComputePassEncoder includes GPUDebugCommandsMixin;
887
893
  GPUComputePassEncoder includes GPUProgrammablePassEncoder;
888
894
 
889
895
  enum GPUComputePassTimestampLocation {
@@ -939,6 +945,8 @@ interface GPURenderPassEncoder {
939
945
  undefined endPass();
940
946
  };
941
947
  GPURenderPassEncoder includes GPUObjectBase;
948
+ GPURenderPassEncoder includes GPUCommandsMixin;
949
+ GPURenderPassEncoder includes GPUDebugCommandsMixin;
942
950
  GPURenderPassEncoder includes GPUProgrammablePassEncoder;
943
951
  GPURenderPassEncoder includes GPURenderEncoderBase;
944
952
 
@@ -1010,6 +1018,8 @@ interface GPURenderBundleEncoder {
1010
1018
  GPURenderBundle finish(optional GPURenderBundleDescriptor descriptor = {});
1011
1019
  };
1012
1020
  GPURenderBundleEncoder includes GPUObjectBase;
1021
+ GPURenderBundleEncoder includes GPUCommandsMixin;
1022
+ GPURenderBundleEncoder includes GPUDebugCommandsMixin;
1013
1023
  GPURenderBundleEncoder includes GPUProgrammablePassEncoder;
1014
1024
  GPURenderBundleEncoder includes GPURenderEncoderBase;
1015
1025
 
@@ -1128,7 +1138,7 @@ interface GPUUncapturedErrorEvent : Event {
1128
1138
  DOMString type,
1129
1139
  GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict
1130
1140
  );
1131
- [SameObject] readonly attribute GPUError error;
1141
+ readonly attribute GPUError error;
1132
1142
  };
1133
1143
 
1134
1144
  dictionary GPUUncapturedErrorEventInit : EventInit {