@webref/idl 3.3.0 → 3.4.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.
@@ -37,5 +37,5 @@ dictionary ComputePressureRecord {
37
37
  };
38
38
 
39
39
  dictionary ComputePressureObserverOptions {
40
- // For future-proofing - expect things to be added here later.
40
+ double frequency;
41
41
  };
package/css-typed-om.idl CHANGED
@@ -199,6 +199,30 @@ partial namespace CSS {
199
199
  CSSUnitValue vb(double value);
200
200
  CSSUnitValue vmin(double value);
201
201
  CSSUnitValue vmax(double value);
202
+ CSSUnitValue svw(double value);
203
+ CSSUnitValue svh(double value);
204
+ CSSUnitValue svi(double value);
205
+ CSSUnitValue svb(double value);
206
+ CSSUnitValue svmin(double value);
207
+ CSSUnitValue svmax(double value);
208
+ CSSUnitValue lvw(double value);
209
+ CSSUnitValue lvh(double value);
210
+ CSSUnitValue lvi(double value);
211
+ CSSUnitValue lvb(double value);
212
+ CSSUnitValue lvmin(double value);
213
+ CSSUnitValue lvmax(double value);
214
+ CSSUnitValue dvw(double value);
215
+ CSSUnitValue dvh(double value);
216
+ CSSUnitValue dvi(double value);
217
+ CSSUnitValue dvb(double value);
218
+ CSSUnitValue dvmin(double value);
219
+ CSSUnitValue dvmax(double value);
220
+ CSSUnitValue cqw(double value);
221
+ CSSUnitValue cqh(double value);
222
+ CSSUnitValue cqi(double value);
223
+ CSSUnitValue cqb(double value);
224
+ CSSUnitValue cqmin(double value);
225
+ CSSUnitValue cqmax(double value);
202
226
  CSSUnitValue cm(double value);
203
227
  CSSUnitValue mm(double value);
204
228
  CSSUnitValue Q(double value);
@@ -4,7 +4,7 @@
4
4
  // Source: Navigation API (https://wicg.github.io/navigation-api/)
5
5
 
6
6
  partial interface Window {
7
- readonly attribute Navigation navigation;
7
+ [Replaceable] readonly attribute Navigation navigation;
8
8
  };
9
9
 
10
10
  [Exposed=Window]
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.3.0",
4
+ "version": "3.4.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,6 +12,6 @@
12
12
  "license": "MIT",
13
13
  "main": "index.js",
14
14
  "peerDependencies": {
15
- "webidl2": "^24.2.0"
15
+ "webidl2": "^24.2.1"
16
16
  }
17
17
  }
package/webgpu.idl CHANGED
@@ -84,6 +84,7 @@ interface GPUAdapter {
84
84
  dictionary GPUDeviceDescriptor : GPUObjectDescriptorBase {
85
85
  sequence<GPUFeatureName> requiredFeatures = [];
86
86
  record<DOMString, GPUSize64> requiredLimits = {};
87
+ GPUQueueDescriptor defaultQueue = {};
87
88
  };
88
89
 
89
90
  enum GPUFeatureName {
@@ -375,7 +376,7 @@ dictionary GPUSamplerDescriptor : GPUObjectDescriptorBase {
375
376
  GPUAddressMode addressModeW = "clamp-to-edge";
376
377
  GPUFilterMode magFilter = "nearest";
377
378
  GPUFilterMode minFilter = "nearest";
378
- GPUFilterMode mipmapFilter = "nearest";
379
+ GPUMipmapFilterMode mipmapFilter = "nearest";
379
380
  float lodMinClamp = 0;
380
381
  float lodMaxClamp = 32;
381
382
  GPUCompareFunction compare;
@@ -393,6 +394,11 @@ enum GPUFilterMode {
393
394
  "linear",
394
395
  };
395
396
 
397
+ enum GPUMipmapFilterMode {
398
+ "nearest",
399
+ "linear",
400
+ };
401
+
396
402
  enum GPUCompareFunction {
397
403
  "never",
398
404
  "less",
@@ -1034,6 +1040,9 @@ dictionary GPURenderBundleEncoderDescriptor : GPURenderPassLayout {
1034
1040
  boolean stencilReadOnly = false;
1035
1041
  };
1036
1042
 
1043
+ dictionary GPUQueueDescriptor : GPUObjectDescriptorBase {
1044
+ };
1045
+
1037
1046
  [Exposed=(Window, DedicatedWorker), SecureContext]
1038
1047
  interface GPUQueue {
1039
1048
  undefined submit(sequence<GPUCommandBuffer> commandBuffers);
package/floc.idl DELETED
@@ -1,13 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: Federated Learning of Cohorts (https://wicg.github.io/floc/)
5
-
6
- dictionary InterestCohort {
7
- DOMString id;
8
- DOMString version;
9
- };
10
-
11
- partial interface Document {
12
- Promise<InterestCohort> interestCohort();
13
- };