@webref/idl 3.11.1 → 3.11.2

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.
@@ -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: Attribution Reporting (https://wicg.github.io/conversion-measurement-api/)
4
+ // Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
5
5
 
6
6
  partial interface HTMLAnchorElement {
7
7
  [CEReactions] attribute USVString attributionSrc;
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.11.1",
4
+ "version": "3.11.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -4,7 +4,7 @@
4
4
  // Source: Visual Viewport API (https://wicg.github.io/visual-viewport/)
5
5
 
6
6
  partial interface Window {
7
- [SameObject, Replaceable] readonly attribute VisualViewport visualViewport;
7
+ [SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
8
8
  };
9
9
 
10
10
  [Exposed=Window]
package/webgpu.idl CHANGED
@@ -33,6 +33,7 @@ interface GPUSupportedLimits {
33
33
  readonly attribute unsigned long maxVertexAttributes;
34
34
  readonly attribute unsigned long maxVertexBufferArrayStride;
35
35
  readonly attribute unsigned long maxInterStageShaderComponents;
36
+ readonly attribute unsigned long maxInterStageShaderVariables;
36
37
  readonly attribute unsigned long maxComputeWorkgroupStorageSize;
37
38
  readonly attribute unsigned long maxComputeInvocationsPerWorkgroup;
38
39
  readonly attribute unsigned long maxComputeWorkgroupSizeX;
@@ -55,7 +56,7 @@ interface GPUAdapterInfo {
55
56
  };
56
57
 
57
58
  enum GPUPredefinedColorSpace {
58
- "srgb",
59
+ "srgb"
59
60
  };
60
61
 
61
62
  interface mixin NavigatorGPU {
@@ -77,7 +78,7 @@ dictionary GPURequestAdapterOptions {
77
78
 
78
79
  enum GPUPowerPreference {
79
80
  "low-power",
80
- "high-performance",
81
+ "high-performance"
81
82
  };
82
83
 
83
84
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -106,7 +107,7 @@ enum GPUFeatureName {
106
107
  "timestamp-query",
107
108
  "indirect-first-instance",
108
109
  "shader-f16",
109
- "bgra8unorm-storage",
110
+ "bgra8unorm-storage"
110
111
  };
111
112
 
112
113
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -199,7 +200,7 @@ dictionary GPUTextureDescriptor : GPUObjectDescriptorBase {
199
200
  enum GPUTextureDimension {
200
201
  "1d",
201
202
  "2d",
202
- "3d",
203
+ "3d"
203
204
  };
204
205
 
205
206
  typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
@@ -233,13 +234,13 @@ enum GPUTextureViewDimension {
233
234
  "2d-array",
234
235
  "cube",
235
236
  "cube-array",
236
- "3d",
237
+ "3d"
237
238
  };
238
239
 
239
240
  enum GPUTextureAspect {
240
241
  "all",
241
242
  "stencil-only",
242
- "depth-only",
243
+ "depth-only"
243
244
  };
244
245
 
245
246
  enum GPUTextureFormat {
@@ -362,7 +363,7 @@ enum GPUTextureFormat {
362
363
  "astc-12x10-unorm",
363
364
  "astc-12x10-unorm-srgb",
364
365
  "astc-12x12-unorm",
365
- "astc-12x12-unorm-srgb",
366
+ "astc-12x12-unorm-srgb"
366
367
  };
367
368
 
368
369
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -397,17 +398,17 @@ dictionary GPUSamplerDescriptor : GPUObjectDescriptorBase {
397
398
  enum GPUAddressMode {
398
399
  "clamp-to-edge",
399
400
  "repeat",
400
- "mirror-repeat",
401
+ "mirror-repeat"
401
402
  };
402
403
 
403
404
  enum GPUFilterMode {
404
405
  "nearest",
405
- "linear",
406
+ "linear"
406
407
  };
407
408
 
408
409
  enum GPUMipmapFilterMode {
409
410
  "nearest",
410
- "linear",
411
+ "linear"
411
412
  };
412
413
 
413
414
  enum GPUCompareFunction {
@@ -418,7 +419,7 @@ enum GPUCompareFunction {
418
419
  "greater",
419
420
  "not-equal",
420
421
  "greater-equal",
421
- "always",
422
+ "always"
422
423
  };
423
424
 
424
425
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -452,7 +453,7 @@ namespace GPUShaderStage {
452
453
  enum GPUBufferBindingType {
453
454
  "uniform",
454
455
  "storage",
455
- "read-only-storage",
456
+ "read-only-storage"
456
457
  };
457
458
 
458
459
  dictionary GPUBufferBindingLayout {
@@ -464,7 +465,7 @@ dictionary GPUBufferBindingLayout {
464
465
  enum GPUSamplerBindingType {
465
466
  "filtering",
466
467
  "non-filtering",
467
- "comparison",
468
+ "comparison"
468
469
  };
469
470
 
470
471
  dictionary GPUSamplerBindingLayout {
@@ -476,7 +477,7 @@ enum GPUTextureSampleType {
476
477
  "unfilterable-float",
477
478
  "depth",
478
479
  "sint",
479
- "uint",
480
+ "uint"
480
481
  };
481
482
 
482
483
  dictionary GPUTextureBindingLayout {
@@ -486,7 +487,7 @@ dictionary GPUTextureBindingLayout {
486
487
  };
487
488
 
488
489
  enum GPUStorageTextureAccess {
489
- "write-only",
490
+ "write-only"
490
491
  };
491
492
 
492
493
  dictionary GPUStorageTextureBindingLayout {
@@ -549,7 +550,7 @@ dictionary GPUShaderModuleCompilationHint {
549
550
  enum GPUCompilationMessageType {
550
551
  "error",
551
552
  "warning",
552
- "info",
553
+ "info"
553
554
  };
554
555
 
555
556
  [Exposed=(Window, DedicatedWorker), Serializable, SecureContext]
@@ -568,7 +569,7 @@ interface GPUCompilationInfo {
568
569
  };
569
570
 
570
571
  enum GPUAutoLayoutMode {
571
- "auto",
572
+ "auto"
572
573
  };
573
574
 
574
575
  dictionary GPUPipelineDescriptorBase : GPUObjectDescriptorBase {
@@ -626,18 +627,18 @@ enum GPUPrimitiveTopology {
626
627
  "line-list",
627
628
  "line-strip",
628
629
  "triangle-list",
629
- "triangle-strip",
630
+ "triangle-strip"
630
631
  };
631
632
 
632
633
  enum GPUFrontFace {
633
634
  "ccw",
634
- "cw",
635
+ "cw"
635
636
  };
636
637
 
637
638
  enum GPUCullMode {
638
639
  "none",
639
640
  "front",
640
- "back",
641
+ "back"
641
642
  };
642
643
 
643
644
  dictionary GPUMultisampleState {
@@ -691,7 +692,7 @@ enum GPUBlendFactor {
691
692
  "one-minus-dst-alpha",
692
693
  "src-alpha-saturated",
693
694
  "constant",
694
- "one-minus-constant",
695
+ "one-minus-constant"
695
696
  };
696
697
 
697
698
  enum GPUBlendOperation {
@@ -699,7 +700,7 @@ enum GPUBlendOperation {
699
700
  "subtract",
700
701
  "reverse-subtract",
701
702
  "min",
702
- "max",
703
+ "max"
703
704
  };
704
705
 
705
706
  dictionary GPUDepthStencilState {
@@ -734,12 +735,12 @@ enum GPUStencilOperation {
734
735
  "increment-clamp",
735
736
  "decrement-clamp",
736
737
  "increment-wrap",
737
- "decrement-wrap",
738
+ "decrement-wrap"
738
739
  };
739
740
 
740
741
  enum GPUIndexFormat {
741
742
  "uint16",
742
- "uint32",
743
+ "uint32"
743
744
  };
744
745
 
745
746
  enum GPUVertexFormat {
@@ -772,12 +773,12 @@ enum GPUVertexFormat {
772
773
  "sint32",
773
774
  "sint32x2",
774
775
  "sint32x3",
775
- "sint32x4",
776
+ "sint32x4"
776
777
  };
777
778
 
778
779
  enum GPUVertexStepMode {
779
780
  "vertex",
780
- "instance",
781
+ "instance"
781
782
  };
782
783
 
783
784
  dictionary GPUVertexState : GPUProgrammableStage {
@@ -917,7 +918,7 @@ GPUComputePassEncoder includes GPUBindingCommandsMixin;
917
918
 
918
919
  enum GPUComputePassTimestampLocation {
919
920
  "beginning",
920
- "end",
921
+ "end"
921
922
  };
922
923
 
923
924
  dictionary GPUComputePassTimestampWrite {
@@ -958,7 +959,7 @@ GPURenderPassEncoder includes GPURenderCommandsMixin;
958
959
 
959
960
  enum GPURenderPassTimestampLocation {
960
961
  "beginning",
961
- "end",
962
+ "end"
962
963
  };
963
964
 
964
965
  dictionary GPURenderPassTimestampWrite {
@@ -1001,12 +1002,12 @@ dictionary GPURenderPassDepthStencilAttachment {
1001
1002
 
1002
1003
  enum GPULoadOp {
1003
1004
  "load",
1004
- "clear",
1005
+ "clear"
1005
1006
  };
1006
1007
 
1007
1008
  enum GPUStoreOp {
1008
1009
  "store",
1009
- "discard",
1010
+ "discard"
1010
1011
  };
1011
1012
 
1012
1013
  dictionary GPURenderPassLayout: GPUObjectDescriptorBase {
@@ -1097,7 +1098,7 @@ dictionary GPUQuerySetDescriptor : GPUObjectDescriptorBase {
1097
1098
 
1098
1099
  enum GPUQueryType {
1099
1100
  "occlusion",
1100
- "timestamp",
1101
+ "timestamp"
1101
1102
  };
1102
1103
 
1103
1104
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -1110,9 +1111,9 @@ interface GPUCanvasContext {
1110
1111
  GPUTexture getCurrentTexture();
1111
1112
  };
1112
1113
 
1113
- enum GPUCanvasCompositingAlphaMode {
1114
+ enum GPUCanvasAlphaMode {
1114
1115
  "opaque",
1115
- "premultiplied",
1116
+ "premultiplied"
1116
1117
  };
1117
1118
 
1118
1119
  dictionary GPUCanvasConfiguration {
@@ -1121,11 +1122,11 @@ dictionary GPUCanvasConfiguration {
1121
1122
  GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
1122
1123
  sequence<GPUTextureFormat> viewFormats = [];
1123
1124
  GPUPredefinedColorSpace colorSpace = "srgb";
1124
- GPUCanvasCompositingAlphaMode compositingAlphaMode = "opaque";
1125
+ GPUCanvasAlphaMode alphaMode = "opaque";
1125
1126
  };
1126
1127
 
1127
1128
  enum GPUDeviceLostReason {
1128
- "destroyed",
1129
+ "destroyed"
1129
1130
  };
1130
1131
 
1131
1132
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -1140,7 +1141,7 @@ partial interface GPUDevice {
1140
1141
 
1141
1142
  enum GPUErrorFilter {
1142
1143
  "out-of-memory",
1143
- "validation",
1144
+ "validation"
1144
1145
  };
1145
1146
 
1146
1147
  [Exposed=(Window, DedicatedWorker), SecureContext]