Skip to content

Commit a2c6c8e

Browse files
ortagithub-actions[bot]
authored andcommitted
🤖 Update core dependencies
1 parent c51c5e2 commit a2c6c8e

File tree

6 files changed

+169
-113
lines changed

6 files changed

+169
-113
lines changed

baselines/dom.generated.d.ts

Lines changed: 39 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5996,7 +5996,7 @@ declare var CSSStartingStyleRule: {
59965996
};
59975997

59985998
/**
5999-
* The **`CSSStyleDeclaration`** interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
5999+
* The **`CSSStyleDeclaration`** interface is the base class for objects that represent CSS declaration blocks with different supported sets of CSS style information:
60006000
*
60016001
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
60026002
*/
@@ -6060,6 +6060,11 @@ declare var CSSStyleDeclaration: {
60606060
new(): CSSStyleDeclaration;
60616061
};
60626062

6063+
/**
6064+
* The **`CSSStyleProperties`** interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.
6065+
*
6066+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties)
6067+
*/
60636068
interface CSSStyleProperties extends CSSStyleDeclarationBase {
60646069
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
60656070
accentColor: string;
@@ -6348,7 +6353,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
63486353
counterReset: string;
63496354
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
63506355
counterSet: string;
6351-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
6356+
/**
6357+
* The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
6358+
*
6359+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
6360+
*/
63526361
cssFloat: string;
63536362
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
63546363
cursor: string;
@@ -7422,7 +7431,7 @@ interface CSSStyleRule extends CSSGroupingRule {
74227431
*/
74237432
selectorText: string;
74247433
/**
7425-
* The read-only **`style`** property is the CSSStyleDeclaration interface for the declaration block of the CSSStyleRule.
7434+
* The read-only **`style`** property is a CSSStyleProperties object that represents the inline styles of a style rule (CSSStyleRule).
74267435
*
74277436
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
74287437
*/
@@ -9344,7 +9353,7 @@ declare var DOMMatrixReadOnly: {
93449353
*/
93459354
interface DOMParser {
93469355
/**
9347-
* The **`parseFromString()`** method of the DOMParser interface parses a string containing either HTML or XML, returning an HTMLDocument or an XMLDocument.
9356+
* The **`parseFromString()`** method of the DOMParser interface parses an input containing either HTML or XML, returning a Document with the type given in the Document/contentType property.
93489357
*
93499358
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser/parseFromString)
93509359
*/
@@ -11382,28 +11391,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1138211391
*
1138311392
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
1138411393
*/
11385-
scroll(options?: ScrollToOptions): void;
11386-
scroll(x: number, y: number): void;
11394+
scroll(options?: ScrollToOptions): Promise<void>;
11395+
scroll(x: number, y: number): Promise<void>;
1138711396
/**
1138811397
* The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
1138911398
*
1139011399
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
1139111400
*/
11392-
scrollBy(options?: ScrollToOptions): void;
11393-
scrollBy(x: number, y: number): void;
11401+
scrollBy(options?: ScrollToOptions): Promise<void>;
11402+
scrollBy(x: number, y: number): Promise<void>;
1139411403
/**
1139511404
* The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which `scrollIntoView()` is called is visible to the user.
1139611405
*
1139711406
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
1139811407
*/
11399-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
11408+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
1140011409
/**
1140111410
* The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
1140211411
*
1140311412
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
1140411413
*/
11405-
scrollTo(options?: ScrollToOptions): void;
11406-
scrollTo(x: number, y: number): void;
11414+
scrollTo(options?: ScrollToOptions): Promise<void>;
11415+
scrollTo(x: number, y: number): Promise<void>;
1140711416
/**
1140811417
* The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element.
1140911418
*
@@ -13032,6 +13041,7 @@ interface GlobalEventHandlersEventMap {
1303213041
"change": Event;
1303313042
"click": PointerEvent;
1303413043
"close": Event;
13044+
"command": Event;
1303513045
"compositionend": CompositionEvent;
1303613046
"compositionstart": CompositionEvent;
1303713047
"compositionupdate": CompositionEvent;
@@ -13156,6 +13166,8 @@ interface GlobalEventHandlers {
1315613166
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1315713167
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
1315813168
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
13169+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
13170+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1315913171
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
1316013172
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1316113173
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
@@ -37370,7 +37382,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
3737037382
*/
3737137383
focus(): void;
3737237384
/**
37373-
* The **`Window.getComputedStyle()`** method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.
37385+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
3737437386
*
3737537387
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3737637388
*/
@@ -37454,22 +37466,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
3745437466
*
3745537467
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
3745637468
*/
37457-
scroll(options?: ScrollToOptions): void;
37458-
scroll(x: number, y: number): void;
37469+
scroll(options?: ScrollToOptions): Promise<void>;
37470+
scroll(x: number, y: number): Promise<void>;
3745937471
/**
3746037472
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
3746137473
*
3746237474
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
3746337475
*/
37464-
scrollBy(options?: ScrollToOptions): void;
37465-
scrollBy(x: number, y: number): void;
37476+
scrollBy(options?: ScrollToOptions): Promise<void>;
37477+
scrollBy(x: number, y: number): Promise<void>;
3746637478
/**
3746737479
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
3746837480
*
3746937481
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
3747037482
*/
37471-
scrollTo(options?: ScrollToOptions): void;
37472-
scrollTo(x: number, y: number): void;
37483+
scrollTo(options?: ScrollToOptions): Promise<void>;
37484+
scrollTo(x: number, y: number): Promise<void>;
3747337485
/**
3747437486
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
3747537487
*
@@ -39534,7 +39546,7 @@ declare function confirm(message?: string): boolean;
3953439546
*/
3953539547
declare function focus(): void;
3953639548
/**
39537-
* The **`Window.getComputedStyle()`** method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.
39549+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
3953839550
*
3953939551
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3954039552
*/
@@ -39618,22 +39630,22 @@ declare function resizeTo(width: number, height: number): void;
3961839630
*
3961939631
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
3962039632
*/
39621-
declare function scroll(options?: ScrollToOptions): void;
39622-
declare function scroll(x: number, y: number): void;
39633+
declare function scroll(options?: ScrollToOptions): Promise<void>;
39634+
declare function scroll(x: number, y: number): Promise<void>;
3962339635
/**
3962439636
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
3962539637
*
3962639638
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
3962739639
*/
39628-
declare function scrollBy(options?: ScrollToOptions): void;
39629-
declare function scrollBy(x: number, y: number): void;
39640+
declare function scrollBy(options?: ScrollToOptions): Promise<void>;
39641+
declare function scrollBy(x: number, y: number): Promise<void>;
3963039642
/**
3963139643
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
3963239644
*
3963339645
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
3963439646
*/
39635-
declare function scrollTo(options?: ScrollToOptions): void;
39636-
declare function scrollTo(x: number, y: number): void;
39647+
declare function scrollTo(options?: ScrollToOptions): Promise<void>;
39648+
declare function scrollTo(x: number, y: number): Promise<void>;
3963739649
/**
3963839650
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
3963939651
*
@@ -39683,6 +39695,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
3968339695
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
3968439696
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
3968539697
declare var onclose: ((this: Window, ev: Event) => any) | null;
39698+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
39699+
declare var oncommand: ((this: Window, ev: Event) => any) | null;
3968639700
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
3968739701
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
3968839702
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */

0 commit comments

Comments
 (0)