@webref/idl 3.47.0 → 3.47.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/DOM-Parsing.idl CHANGED
@@ -8,7 +8,3 @@ interface XMLSerializer {
8
8
  constructor();
9
9
  DOMString serializeToString(Node root);
10
10
  };
11
-
12
- partial interface Range {
13
- [CEReactions, NewObject] DocumentFragment createContextualFragment(HTMLString fragment);
14
- };
@@ -16,8 +16,8 @@ partial namespace CSS {
16
16
 
17
17
  [Exposed=Window]
18
18
  interface CSSPropertyRule : CSSRule {
19
- readonly attribute CSSOMString name;
20
- readonly attribute CSSOMString syntax;
21
- readonly attribute boolean inherits;
22
- readonly attribute CSSOMString? initialValue;
19
+ readonly attribute CSSOMString name;
20
+ readonly attribute CSSOMString syntax;
21
+ readonly attribute boolean inherits;
22
+ readonly attribute CSSOMString? initialValue;
23
23
  };
package/geolocation.idl CHANGED
@@ -42,6 +42,7 @@ dictionary PositionOptions {
42
42
  interface GeolocationPosition {
43
43
  readonly attribute GeolocationCoordinates coords;
44
44
  readonly attribute EpochTimeStamp timestamp;
45
+ [Default] object toJSON();
45
46
  };
46
47
 
47
48
  [Exposed=Window, SecureContext]
@@ -53,6 +54,7 @@ interface GeolocationCoordinates {
53
54
  readonly attribute double? altitudeAccuracy;
54
55
  readonly attribute double? heading;
55
56
  readonly attribute double? speed;
57
+ [Default] object toJSON();
56
58
  };
57
59
 
58
60
  [Exposed=Window]
package/html.idl CHANGED
@@ -2328,6 +2328,10 @@ enum DOMParserSupportedType {
2328
2328
  "image/svg+xml"
2329
2329
  };
2330
2330
 
2331
+ partial interface Range {
2332
+ [CEReactions, NewObject] DocumentFragment createContextualFragment(HTMLString string);
2333
+ };
2334
+
2331
2335
  [Exposed=Window]
2332
2336
  interface Navigator {
2333
2337
  // objects implementing this interface also implement the interfaces given below
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.47.0",
4
+ "version": "3.47.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webcodecs.idl CHANGED
@@ -382,6 +382,8 @@ dictionary VideoFrameMetadata {
382
382
  dictionary VideoFrameCopyToOptions {
383
383
  DOMRectInit rect;
384
384
  sequence<PlaneLayout> layout;
385
+ VideoPixelFormat format;
386
+ PredefinedColorSpace colorSpace;
385
387
  };
386
388
 
387
389
  dictionary PlaneLayout {
package/webgl1.idl CHANGED
@@ -37,6 +37,7 @@ dictionary WebGLContextAttributes {
37
37
 
38
38
  [Exposed=(Window,Worker)]
39
39
  interface WebGLObject {
40
+ attribute USVString label;
40
41
  };
41
42
 
42
43
  [Exposed=(Window,Worker)]
package/webnn.idl CHANGED
@@ -515,17 +515,13 @@ partial interface MLGraphBuilder {
515
515
  };
516
516
 
517
517
  partial interface MLGraphBuilder {
518
- MLOperand softmax(MLOperand input);
519
- MLActivation softmax();
520
- };
521
-
522
- dictionary MLSoftplusOptions {
523
- float steepness = 1;
518
+ MLOperand softmax(MLOperand input, unsigned long axis);
519
+ MLActivation softmax(unsigned long axis);
524
520
  };
525
521
 
526
522
  partial interface MLGraphBuilder {
527
- MLOperand softplus(MLOperand input, optional MLSoftplusOptions options = {});
528
- MLActivation softplus(optional MLSoftplusOptions options = {});
523
+ MLOperand softplus(MLOperand input);
524
+ MLActivation softplus();
529
525
  };
530
526
 
531
527
  partial interface MLGraphBuilder {