@webref/idl 3.7.0 → 3.8.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/css-typed-om.idl +0 -2
- package/html.idl +6 -11
- package/manifest-incubations.idl +15 -0
- package/package.json +1 -1
- package/priority-hints.idl +4 -4
- package/requestidlecallback.idl +1 -1
- package/serial.idl +1 -0
- package/streams.idl +3 -8
- package/window-placement.idl +42 -0
package/css-typed-om.idl
CHANGED
|
@@ -345,8 +345,6 @@ interface CSSImageValue : CSSStyleValue {
|
|
|
345
345
|
|
|
346
346
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
347
347
|
interface CSSColorValue : CSSStyleValue {
|
|
348
|
-
readonly attribute CSSKeywordValue colorSpace;
|
|
349
|
-
CSSColorValue to(CSSKeywordish colorSpace);
|
|
350
348
|
[Exposed=Window] static (CSSColorValue or CSSStyleValue) parse(USVString cssText);
|
|
351
349
|
};
|
|
352
350
|
|
package/html.idl
CHANGED
|
@@ -496,16 +496,6 @@ interface HTMLObjectElement : HTMLElement {
|
|
|
496
496
|
// also has obsolete members
|
|
497
497
|
};
|
|
498
498
|
|
|
499
|
-
[Exposed=Window]
|
|
500
|
-
interface HTMLParamElement : HTMLElement {
|
|
501
|
-
[HTMLConstructor] constructor();
|
|
502
|
-
|
|
503
|
-
[CEReactions] attribute DOMString name;
|
|
504
|
-
[CEReactions] attribute DOMString value;
|
|
505
|
-
|
|
506
|
-
// also has obsolete members
|
|
507
|
-
};
|
|
508
|
-
|
|
509
499
|
[Exposed=Window]
|
|
510
500
|
interface HTMLVideoElement : HTMLMediaElement {
|
|
511
501
|
[HTMLConstructor] constructor();
|
|
@@ -2593,7 +2583,12 @@ partial interface HTMLParagraphElement {
|
|
|
2593
2583
|
[CEReactions] attribute DOMString align;
|
|
2594
2584
|
};
|
|
2595
2585
|
|
|
2596
|
-
|
|
2586
|
+
[Exposed=Window]
|
|
2587
|
+
interface HTMLParamElement : HTMLElement {
|
|
2588
|
+
[HTMLConstructor] constructor();
|
|
2589
|
+
|
|
2590
|
+
[CEReactions] attribute DOMString name;
|
|
2591
|
+
[CEReactions] attribute DOMString value;
|
|
2597
2592
|
[CEReactions] attribute DOMString type;
|
|
2598
2593
|
[CEReactions] attribute DOMString valueType;
|
|
2599
2594
|
};
|
package/manifest-incubations.idl
CHANGED
|
@@ -22,3 +22,18 @@ partial interface Window {
|
|
|
22
22
|
attribute EventHandler onappinstalled;
|
|
23
23
|
attribute EventHandler onbeforeinstallprompt;
|
|
24
24
|
};
|
|
25
|
+
|
|
26
|
+
[Exposed=Window] interface LaunchParams {
|
|
27
|
+
readonly attribute DOMString? targetURL;
|
|
28
|
+
readonly attribute FrozenArray<FileSystemHandle> files;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
callback LaunchConsumer = any (LaunchParams params);
|
|
32
|
+
|
|
33
|
+
partial interface Window {
|
|
34
|
+
readonly attribute LaunchQueue launchQueue;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
[Exposed=Window] interface LaunchQueue {
|
|
38
|
+
undefined setConsumer(LaunchConsumer consumer);
|
|
39
|
+
};
|
package/package.json
CHANGED
package/priority-hints.idl
CHANGED
|
@@ -14,17 +14,17 @@ partial dictionary RequestInit {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
partial interface HTMLImageElement {
|
|
17
|
-
[CEReactions] attribute DOMString
|
|
17
|
+
[CEReactions] attribute DOMString fetchPriority;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
partial interface HTMLLinkElement {
|
|
21
|
-
[CEReactions] attribute DOMString
|
|
21
|
+
[CEReactions] attribute DOMString fetchPriority;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
partial interface HTMLScriptElement {
|
|
25
|
-
[CEReactions] attribute DOMString
|
|
25
|
+
[CEReactions] attribute DOMString fetchPriority;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
partial interface HTMLIFrameElement {
|
|
29
|
-
[CEReactions] attribute DOMString
|
|
29
|
+
[CEReactions] attribute DOMString fetchPriority;
|
|
30
30
|
};
|
package/requestidlecallback.idl
CHANGED
|
@@ -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:
|
|
4
|
+
// Source: requestIdleCallback() (https://w3c.github.io/requestidlecallback/)
|
|
5
5
|
|
|
6
6
|
partial interface Window {
|
|
7
7
|
unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options = {});
|
package/serial.idl
CHANGED
package/streams.idl
CHANGED
|
@@ -68,12 +68,12 @@ interface mixin ReadableStreamGenericReader {
|
|
|
68
68
|
interface ReadableStreamDefaultReader {
|
|
69
69
|
constructor(ReadableStream stream);
|
|
70
70
|
|
|
71
|
-
Promise<
|
|
71
|
+
Promise<ReadableStreamReadResult> read();
|
|
72
72
|
undefined releaseLock();
|
|
73
73
|
};
|
|
74
74
|
ReadableStreamDefaultReader includes ReadableStreamGenericReader;
|
|
75
75
|
|
|
76
|
-
dictionary
|
|
76
|
+
dictionary ReadableStreamReadResult {
|
|
77
77
|
any value;
|
|
78
78
|
boolean done;
|
|
79
79
|
};
|
|
@@ -82,16 +82,11 @@ dictionary ReadableStreamDefaultReadResult {
|
|
|
82
82
|
interface ReadableStreamBYOBReader {
|
|
83
83
|
constructor(ReadableStream stream);
|
|
84
84
|
|
|
85
|
-
Promise<
|
|
85
|
+
Promise<ReadableStreamReadResult> read(ArrayBufferView view);
|
|
86
86
|
undefined releaseLock();
|
|
87
87
|
};
|
|
88
88
|
ReadableStreamBYOBReader includes ReadableStreamGenericReader;
|
|
89
89
|
|
|
90
|
-
dictionary ReadableStreamBYOBReadResult {
|
|
91
|
-
(ArrayBufferView or undefined) value;
|
|
92
|
-
boolean done;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
90
|
[Exposed=*]
|
|
96
91
|
interface ReadableStreamDefaultController {
|
|
97
92
|
readonly attribute unrestricted double? desiredSize;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Multi-Screen Window Placement (https://w3c.github.io/window-placement/)
|
|
5
|
+
|
|
6
|
+
partial interface Screen /* : EventTarget */ {
|
|
7
|
+
[SecureContext]
|
|
8
|
+
readonly attribute boolean isExtended;
|
|
9
|
+
|
|
10
|
+
[SecureContext]
|
|
11
|
+
attribute EventHandler onchange;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
partial interface Window {
|
|
15
|
+
[SecureContext]
|
|
16
|
+
Promise<ScreenDetails> getScreenDetails();
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
[Exposed=Window, SecureContext]
|
|
20
|
+
interface ScreenDetails : EventTarget {
|
|
21
|
+
readonly attribute FrozenArray<ScreenDetailed> screens;
|
|
22
|
+
readonly attribute ScreenDetailed currentScreen;
|
|
23
|
+
|
|
24
|
+
attribute EventHandler onscreenschange;
|
|
25
|
+
attribute EventHandler oncurrentscreenchange;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
[Exposed=Window, SecureContext]
|
|
29
|
+
interface ScreenDetailed : Screen {
|
|
30
|
+
readonly attribute long availLeft;
|
|
31
|
+
readonly attribute long availTop;
|
|
32
|
+
readonly attribute long left;
|
|
33
|
+
readonly attribute long top;
|
|
34
|
+
readonly attribute boolean isPrimary;
|
|
35
|
+
readonly attribute boolean isInternal;
|
|
36
|
+
readonly attribute float devicePixelRatio;
|
|
37
|
+
readonly attribute DOMString label;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
partial dictionary FullscreenOptions {
|
|
41
|
+
ScreenDetailed screen;
|
|
42
|
+
};
|