@webref/idl 3.59.1 → 3.59.3

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.
@@ -25,3 +25,11 @@ partial namespace CSS {
25
25
  interface HighlightRegistry {
26
26
  maplike<DOMString, Highlight>;
27
27
  };
28
+
29
+ partial interface HighlightRegistry {
30
+ sequence<Highlight> highlightsFromPoint(float x, float y, optional HighlightsFromPointOptions options = {});
31
+ };
32
+
33
+ dictionary HighlightsFromPointOptions {
34
+ sequence<ShadowRoot> shadowRoots = [];
35
+ };
package/html.idl CHANGED
@@ -1992,6 +1992,7 @@ interface NavigateEvent : Event {
1992
1992
  readonly attribute DOMString? downloadRequest;
1993
1993
  readonly attribute any info;
1994
1994
  readonly attribute boolean hasUAVisualTransition;
1995
+ readonly attribute Element? sourceElement;
1995
1996
 
1996
1997
  undefined intercept(optional NavigationInterceptOptions options = {});
1997
1998
  undefined scroll();
@@ -2008,6 +2009,7 @@ dictionary NavigateEventInit : EventInit {
2008
2009
  DOMString? downloadRequest = null;
2009
2010
  any info;
2010
2011
  boolean hasUAVisualTransition = false;
2012
+ Element? sourceElement = null;
2011
2013
  };
2012
2014
 
2013
2015
  dictionary NavigationInterceptOptions {
@@ -6,8 +6,10 @@
6
6
  partial interface CaptureController {
7
7
  sequence<long> getSupportedZoomLevels();
8
8
  long getZoomLevel();
9
- Promise<undefined> setZoomLevel(long zoomLevel);
10
- attribute EventHandler oncapturedzoomlevelchange;
9
+ Promise<undefined> increaseZoomLevel();
10
+ Promise<undefined> decreaseZoomLevel();
11
+ Promise<undefined> resetZoomLevel();
12
+ attribute EventHandler onzoomlevelchange;
11
13
  };
12
14
 
13
15
  partial interface CaptureController {
package/observable.idl CHANGED
@@ -74,7 +74,7 @@ interface Observable {
74
74
  //
75
75
  // takeUntil() can consume promises, iterables, async iterables, and other
76
76
  // observables.
77
- Observable takeUntil(any notifier);
77
+ Observable takeUntil(any value);
78
78
  Observable map(Mapper mapper);
79
79
  Observable filter(Predicate predicate);
80
80
  Observable take(unsigned long long amount);
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.59.1",
4
+ "version": "3.59.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -114,6 +114,7 @@ dictionary SharedStoragePrivateAggregationConfig {
114
114
  USVString aggregationCoordinatorOrigin;
115
115
  USVString contextId;
116
116
  [EnforceRange] unsigned long long filteringIdMaxBytes;
117
+ [EnforceRange] unsigned long long maxContributions;
117
118
  };
118
119
 
119
120
  dictionary SharedStorageRunOperationMethodOptions {
package/turtledove.idl CHANGED
@@ -151,17 +151,31 @@ partial interface Navigator {
151
151
 
152
152
  [SecureContext]
153
153
  partial interface Navigator {
154
- Promise<AdAuctionData> getInterestGroupAdAuctionData(AdAuctionDataConfig config);
154
+ Promise<AdAuctionData> getInterestGroupAdAuctionData(optional AdAuctionDataConfig config = {});
155
+ };
156
+
157
+ dictionary AdAuctionPerSellerData {
158
+ required USVString seller;
159
+ Uint8Array request;
160
+ DOMString error;
155
161
  };
156
162
 
157
163
  dictionary AdAuctionData {
158
- required Uint8Array request;
159
164
  required USVString requestId;
165
+ Uint8Array request;
166
+ sequence<AdAuctionPerSellerData> requests;
160
167
  };
161
168
 
162
- dictionary AdAuctionDataConfig {
169
+ dictionary AdAuctionOneSeller {
163
170
  required USVString seller;
164
- required USVString coordinatorOrigin;
171
+ USVString coordinatorOrigin;
172
+ };
173
+
174
+ dictionary AdAuctionDataConfig {
175
+ USVString seller;
176
+ USVString coordinatorOrigin;
177
+ sequence<AdAuctionOneSeller> sellers;
178
+
165
179
  unsigned long requestSize;
166
180
  record<USVString, AdAuctionDataBuyerConfig> perBuyerConfig;
167
181
  };
@@ -14,6 +14,7 @@ partial interface AnimationTimeline {
14
14
  partial interface Animation {
15
15
  attribute CSSNumberish? startTime;
16
16
  attribute CSSNumberish? currentTime;
17
+ attribute AnimationTrigger? trigger;
17
18
  readonly attribute double? overallProgress;
18
19
  };
19
20
 
@@ -98,6 +99,7 @@ dictionary TimelineRangeOffset {
98
99
  partial dictionary KeyframeAnimationOptions {
99
100
  (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
100
101
  (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
102
+ AnimationTrigger? trigger;
101
103
  };
102
104
 
103
105
  [Exposed=Window]
@@ -111,3 +113,17 @@ dictionary AnimationPlaybackEventInit : EventInit {
111
113
  CSSNumberish? currentTime = null;
112
114
  CSSNumberish? timelineTime = null;
113
115
  };
116
+
117
+ [Exposed=Window]
118
+ interface AnimationTrigger {
119
+ constructor(optional AnimationTriggerOptions options = {});
120
+ attribute AnimationTimeline timeline;
121
+ attribute AnimationTriggerType type;
122
+ };
123
+
124
+ dictionary AnimationTriggerOptions {
125
+ AnimationTimeline? timeline;
126
+ AnimationTriggerType? type = "once";
127
+ };
128
+
129
+ enum AnimationTriggerType { "once", "repeat", "alternate", "state" };
package/webcodecs.idl CHANGED
@@ -154,6 +154,8 @@ dictionary VideoDecoderConfig {
154
154
  VideoColorSpaceInit colorSpace;
155
155
  HardwareAcceleration hardwareAcceleration = "no-preference";
156
156
  boolean optimizeForLatency;
157
+ double rotation = 0;
158
+ boolean flip = false;
157
159
  };
158
160
 
159
161
  dictionary AudioEncoderConfig {