@webref/idl 3.12.4 → 3.13.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.
- package/cssom-view.idl +18 -0
- package/html.idl +1 -0
- package/navigation-api.idl +3 -3
- package/package.json +1 -1
- package/payment-request.idl +8 -1
- package/prerendering-revamped.idl +15 -0
- package/sanitizer-api.idl +2 -0
- package/selection-api.idl +2 -2
- package/wai-aria.idl +8 -8
- package/web-animations-2.idl +2 -0
- package/web-animations.idl +0 -2
- package/webauthn.idl +31 -8
- package/webgpu.idl +2 -1
- package/webxrlayers.idl +1 -0
- package/visual-viewport.idl +0 -27
package/cssom-view.idl
CHANGED
|
@@ -16,6 +16,7 @@ dictionary ScrollToOptions : ScrollOptions {
|
|
|
16
16
|
partial interface Window {
|
|
17
17
|
[NewObject] MediaQueryList matchMedia(CSSOMString query);
|
|
18
18
|
[SameObject, Replaceable] readonly attribute Screen screen;
|
|
19
|
+
[SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
|
|
19
20
|
|
|
20
21
|
// browsing context
|
|
21
22
|
undefined moveTo(long x, long y);
|
|
@@ -179,3 +180,20 @@ CSSPseudoElement includes GeometryUtils;
|
|
|
179
180
|
Document includes GeometryUtils;
|
|
180
181
|
|
|
181
182
|
typedef (Text or Element or CSSPseudoElement or Document) GeometryNode;
|
|
183
|
+
|
|
184
|
+
[Exposed=Window]
|
|
185
|
+
interface VisualViewport : EventTarget {
|
|
186
|
+
readonly attribute double offsetLeft;
|
|
187
|
+
readonly attribute double offsetTop;
|
|
188
|
+
|
|
189
|
+
readonly attribute double pageLeft;
|
|
190
|
+
readonly attribute double pageTop;
|
|
191
|
+
|
|
192
|
+
readonly attribute double width;
|
|
193
|
+
readonly attribute double height;
|
|
194
|
+
|
|
195
|
+
readonly attribute double scale;
|
|
196
|
+
|
|
197
|
+
attribute EventHandler onresize;
|
|
198
|
+
attribute EventHandler onscroll;
|
|
199
|
+
};
|
package/html.idl
CHANGED
package/navigation-api.idl
CHANGED
|
@@ -93,7 +93,7 @@ interface NavigateEvent : Event {
|
|
|
93
93
|
readonly attribute any info;
|
|
94
94
|
|
|
95
95
|
undefined intercept(optional NavigationInterceptOptions options = {});
|
|
96
|
-
undefined
|
|
96
|
+
undefined scroll();
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
dictionary NavigateEventInit : EventInit {
|
|
@@ -111,7 +111,7 @@ dictionary NavigateEventInit : EventInit {
|
|
|
111
111
|
dictionary NavigationInterceptOptions {
|
|
112
112
|
NavigationInterceptHandler handler;
|
|
113
113
|
NavigationFocusReset focusReset;
|
|
114
|
-
|
|
114
|
+
NavigationScrollBehavior scroll;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
enum NavigationFocusReset {
|
|
@@ -119,7 +119,7 @@ enum NavigationFocusReset {
|
|
|
119
119
|
"manual"
|
|
120
120
|
};
|
|
121
121
|
|
|
122
|
-
enum
|
|
122
|
+
enum NavigationScrollBehavior {
|
|
123
123
|
"after-transition",
|
|
124
124
|
"manual"
|
|
125
125
|
};
|
package/package.json
CHANGED
package/payment-request.idl
CHANGED
|
@@ -59,6 +59,10 @@ dictionary PaymentItem {
|
|
|
59
59
|
boolean pending = false;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
+
dictionary PaymentCompleteDetails {
|
|
63
|
+
object? data = null;
|
|
64
|
+
};
|
|
65
|
+
|
|
62
66
|
enum PaymentComplete {
|
|
63
67
|
"fail",
|
|
64
68
|
"success",
|
|
@@ -74,7 +78,10 @@ interface PaymentResponse : EventTarget {
|
|
|
74
78
|
readonly attribute object details;
|
|
75
79
|
|
|
76
80
|
[NewObject]
|
|
77
|
-
Promise<undefined> complete(
|
|
81
|
+
Promise<undefined> complete(
|
|
82
|
+
optional PaymentComplete result = "unknown",
|
|
83
|
+
optional PaymentCompleteDetails details = {}
|
|
84
|
+
);
|
|
78
85
|
[NewObject]
|
|
79
86
|
Promise<undefined> retry(optional PaymentValidationErrors errorFields = {});
|
|
80
87
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Prerendering Revamped (https://wicg.github.io/nav-speculation/prerendering.html)
|
|
5
|
+
|
|
6
|
+
partial interface Document {
|
|
7
|
+
readonly attribute boolean prerendering;
|
|
8
|
+
|
|
9
|
+
// Under "special event handler IDL attributes that only apply to Document objects"
|
|
10
|
+
attribute EventHandler onprerenderingchange;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
partial interface PerformanceNavigationTiming {
|
|
14
|
+
readonly attribute DOMHighResTimeStamp activationStart;
|
|
15
|
+
};
|
package/sanitizer-api.idl
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
dictionary SetHTMLOptions {
|
|
20
20
|
Sanitizer sanitizer;
|
|
21
21
|
};
|
|
22
|
+
[SecureContext]
|
|
22
23
|
partial interface Element {
|
|
23
24
|
undefined setHTML(DOMString input, optional SetHTMLOptions options = {});
|
|
24
25
|
};
|
|
@@ -30,6 +31,7 @@ dictionary SanitizerConfig {
|
|
|
30
31
|
AttributeMatchList allowAttributes;
|
|
31
32
|
AttributeMatchList dropAttributes;
|
|
32
33
|
boolean allowCustomElements;
|
|
34
|
+
boolean allowUnknownMarkup;
|
|
33
35
|
boolean allowComments;
|
|
34
36
|
};
|
|
35
37
|
|
package/selection-api.idl
CHANGED
|
@@ -24,8 +24,8 @@ interface Selection {
|
|
|
24
24
|
undefined extend(Node node, optional unsigned long offset = 0);
|
|
25
25
|
undefined setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
|
|
26
26
|
undefined selectAllChildren(Node node);
|
|
27
|
-
|
|
28
|
-
undefined deleteFromDocument();
|
|
27
|
+
undefined modify(optional DOMString alter, optional DOMString direction, optional DOMString granularity);
|
|
28
|
+
[CEReactions] undefined deleteFromDocument();
|
|
29
29
|
boolean containsNode(Node node, optional boolean allowPartialContainment = false);
|
|
30
30
|
stringifier;
|
|
31
31
|
};
|
package/wai-aria.idl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
interface mixin ARIAMixin {
|
|
7
7
|
attribute DOMString? role;
|
|
8
|
-
|
|
8
|
+
attribute Element? ariaActiveDescendantElement;
|
|
9
9
|
attribute DOMString? ariaAtomic;
|
|
10
10
|
attribute DOMString? ariaAutoComplete;
|
|
11
11
|
attribute DOMString? ariaBusy;
|
|
@@ -14,28 +14,28 @@ interface mixin ARIAMixin {
|
|
|
14
14
|
attribute DOMString? ariaColIndex;
|
|
15
15
|
attribute DOMString? ariaColIndexText;
|
|
16
16
|
attribute DOMString? ariaColSpan;
|
|
17
|
-
|
|
17
|
+
attribute FrozenArray<Element>? ariaControlsElements;
|
|
18
18
|
attribute DOMString? ariaCurrent;
|
|
19
|
-
|
|
19
|
+
attribute FrozenArray<Element>? ariaDescribedByElements;
|
|
20
20
|
attribute DOMString? ariaDescription;
|
|
21
|
-
|
|
21
|
+
attribute FrozenArray<Element>? ariaDetailsElements;
|
|
22
22
|
attribute DOMString? ariaDisabled;
|
|
23
|
-
|
|
23
|
+
attribute Element? ariaErrorMessageElement;
|
|
24
24
|
attribute DOMString? ariaExpanded;
|
|
25
|
-
|
|
25
|
+
attribute FrozenArray<Element>? ariaFlowToElements;
|
|
26
26
|
attribute DOMString? ariaHasPopup;
|
|
27
27
|
attribute DOMString? ariaHidden;
|
|
28
28
|
attribute DOMString? ariaInvalid;
|
|
29
29
|
attribute DOMString? ariaKeyShortcuts;
|
|
30
30
|
attribute DOMString? ariaLabel;
|
|
31
|
-
|
|
31
|
+
attribute FrozenArray<Element>? ariaLabelledByElements;
|
|
32
32
|
attribute DOMString? ariaLevel;
|
|
33
33
|
attribute DOMString? ariaLive;
|
|
34
34
|
attribute DOMString? ariaModal;
|
|
35
35
|
attribute DOMString? ariaMultiLine;
|
|
36
36
|
attribute DOMString? ariaMultiSelectable;
|
|
37
37
|
attribute DOMString? ariaOrientation;
|
|
38
|
-
|
|
38
|
+
attribute FrozenArray<Element>? ariaOwnsElements;
|
|
39
39
|
attribute DOMString? ariaPlaceholder;
|
|
40
40
|
attribute DOMString? ariaPosInSet;
|
|
41
41
|
attribute DOMString? ariaPressed;
|
package/web-animations-2.idl
CHANGED
package/web-animations.idl
CHANGED
package/webauthn.idl
CHANGED
|
@@ -255,26 +255,38 @@ partial dictionary AuthenticationExtensionsClientOutputs {
|
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
258
|
-
|
|
258
|
+
boolean credProps;
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
dictionary CredentialPropertiesOutput {
|
|
262
|
+
boolean rk;
|
|
263
|
+
};
|
|
263
264
|
|
|
264
265
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
265
|
-
|
|
266
|
+
CredentialPropertiesOutput credProps;
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
dictionary AuthenticationExtensionsPRFValues {
|
|
270
|
+
required ArrayBuffer first;
|
|
271
|
+
ArrayBuffer second;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
dictionary AuthenticationExtensionsPRFInputs {
|
|
275
|
+
AuthenticationExtensionsPRFValues eval;
|
|
276
|
+
record<USVString, AuthenticationExtensionsPRFValues> evalByCredential;
|
|
266
277
|
};
|
|
267
278
|
|
|
268
279
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
269
|
-
|
|
280
|
+
AuthenticationExtensionsPRFInputs prf;
|
|
270
281
|
};
|
|
271
282
|
|
|
272
|
-
dictionary
|
|
273
|
-
boolean
|
|
283
|
+
dictionary AuthenticationExtensionsPRFOutputs {
|
|
284
|
+
boolean enabled;
|
|
285
|
+
AuthenticationExtensionsPRFValues results;
|
|
274
286
|
};
|
|
275
287
|
|
|
276
288
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
277
|
-
|
|
289
|
+
AuthenticationExtensionsPRFOutputs prf;
|
|
278
290
|
};
|
|
279
291
|
|
|
280
292
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
@@ -301,3 +313,14 @@ dictionary AuthenticationExtensionsLargeBlobOutputs {
|
|
|
301
313
|
ArrayBuffer blob;
|
|
302
314
|
boolean written;
|
|
303
315
|
};
|
|
316
|
+
|
|
317
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
318
|
+
boolean uvm;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
typedef sequence<unsigned long> UvmEntry;
|
|
322
|
+
typedef sequence<UvmEntry> UvmEntries;
|
|
323
|
+
|
|
324
|
+
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
325
|
+
UvmEntries uvm;
|
|
326
|
+
};
|
package/webgpu.idl
CHANGED
package/webxrlayers.idl
CHANGED
package/visual-viewport.idl
DELETED
|
@@ -1,27 +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: Visual Viewport API (https://wicg.github.io/visual-viewport/)
|
|
5
|
-
|
|
6
|
-
partial interface Window {
|
|
7
|
-
[SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
[Exposed=Window]
|
|
11
|
-
interface VisualViewport : EventTarget {
|
|
12
|
-
readonly attribute double offsetLeft;
|
|
13
|
-
readonly attribute double offsetTop;
|
|
14
|
-
|
|
15
|
-
readonly attribute double pageLeft;
|
|
16
|
-
readonly attribute double pageTop;
|
|
17
|
-
|
|
18
|
-
readonly attribute double width;
|
|
19
|
-
readonly attribute double height;
|
|
20
|
-
|
|
21
|
-
readonly attribute double scale;
|
|
22
|
-
|
|
23
|
-
readonly attribute FrozenArray<DOMRect>? segments;
|
|
24
|
-
|
|
25
|
-
attribute EventHandler onresize;
|
|
26
|
-
attribute EventHandler onscroll;
|
|
27
|
-
};
|