Skip to content

Commit d6385ab

Browse files
committed
-
1 parent a6a9114 commit d6385ab

12 files changed

+231
-3
lines changed

baselines/dom.generated.d.ts

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ interface CloseEventInit extends EventInit {
357357
wasClean?: boolean;
358358
}
359359

360+
interface CommandEventInit extends EventInit {
361+
command?: string;
362+
source?: Element | null;
363+
}
364+
360365
interface CompositionEventInit extends UIEventInit {
361366
data?: string;
362367
}
@@ -3270,7 +3275,11 @@ interface AnimationTimeline {
32703275
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
32713276
*/
32723277
readonly currentTime: CSSNumberish | null;
3273-
/** The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null. */
3278+
/**
3279+
* The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.
3280+
*
3281+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration)
3282+
*/
32743283
readonly duration: CSSNumberish | null;
32753284
}
32763285

@@ -6595,6 +6604,8 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
65956604
counterReset: string;
65966605
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
65976606
counterSet: string;
6607+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
6608+
cssFloat: string;
65986609
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
65996610
cursor: string;
66006611
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
@@ -8723,6 +8734,31 @@ declare var CloseEvent: {
87238734
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
87248735
};
87258736

8737+
/**
8738+
* The CommandEvent interface represents an event notifying the user when a button element with valid commandForElement and command attributes is about to invoke an interactive element.
8739+
*
8740+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
8741+
*/
8742+
interface CommandEvent extends Event {
8743+
/**
8744+
* The command read-only property of the CommandEvent interface returns a string containing the value of the command property at the time the event was dispatched.
8745+
*
8746+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
8747+
*/
8748+
readonly command: string;
8749+
/**
8750+
* The source read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
8751+
*
8752+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
8753+
*/
8754+
readonly source: Element | null;
8755+
}
8756+
8757+
declare var CommandEvent: {
8758+
prototype: CommandEvent;
8759+
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
8760+
};
8761+
87268762
/**
87278763
* The Comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
87288764
*
@@ -11010,6 +11046,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1101011046
createEvent(eventInterface: "BlobEvent"): BlobEvent;
1101111047
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
1101211048
createEvent(eventInterface: "CloseEvent"): CloseEvent;
11049+
createEvent(eventInterface: "CommandEvent"): CommandEvent;
1101311050
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
1101411051
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
1101511052
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
@@ -14428,6 +14465,18 @@ declare var HTMLBodyElement: {
1442814465
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
1442914466
*/
1443014467
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
14468+
/**
14469+
* The command property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button. For this to have an effect, commandfor must be set.
14470+
*
14471+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
14472+
*/
14473+
command: string;
14474+
/**
14475+
* The commandForElement property of the HTMLButtonElement interface gets and sets the element to control via a button.
14476+
*
14477+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
14478+
*/
14479+
commandForElement: Element | null;
1443114480
/**
1443214481
* The HTMLButtonElement.disabled property indicates whether the control is disabled, meaning that it does not accept any clicks.
1443314482
*
@@ -19611,6 +19660,7 @@ declare var IDBCursorWithValue: {
1961119660
};
1961219661

1961319662
interface IDBDatabaseEventMap {
19663+
"abort": Event;
1961419664
"close": Event;
1961519665
"error": Event;
1961619666
"versionchange": IDBVersionChangeEvent;
@@ -19638,6 +19688,8 @@ interface IDBDatabase extends EventTarget {
1963819688
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
1963919689
*/
1964019690
readonly objectStoreNames: DOMStringList;
19691+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
19692+
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
1964119693
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
1964219694
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
1964319695
onerror: ((this: IDBDatabase, ev: Event) => any) | null;
@@ -24825,6 +24877,8 @@ interface ParentNode extends Node {
2482524877
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
2482624878
*/
2482724879
append(...nodes: (Node | string)[]): void;
24880+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
24881+
moveBefore(node: Node, child: Node | null): void;
2482824882
/**
2482924883
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
2483024884
*
@@ -25417,6 +25471,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
2541725471
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
2541825472
*/
2541925473
readonly cancelable: boolean;
25474+
/**
25475+
* The read-only interactionId property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
25476+
*
25477+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
25478+
*/
25479+
readonly interactionId: number;
2542025480
/**
2542125481
* The read-only processingEnd property returns the time the last event handler finished executing.
2542225482
*
@@ -32868,6 +32928,12 @@ interface ScreenOrientation extends EventTarget {
3286832928
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
3286932929
*/
3287032930
readonly type: OrientationType;
32931+
/**
32932+
* The lock() method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
32933+
*
32934+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
32935+
*/
32936+
lock(orientation: OrientationLockType): Promise<void>;
3287132937
/**
3287232938
* The unlock() method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation.
3287332939
*
@@ -42767,6 +42833,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
4276742833
type NotificationPermission = "default" | "denied" | "granted";
4276842834
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
4276942835
type OpusBitstreamFormat = "ogg" | "opus";
42836+
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
4277042837
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
4277142838
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
4277242839
type OverSampleType = "2x" | "4x" | "none";

baselines/serviceworker.generated.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4637,6 +4637,7 @@ declare var IDBCursorWithValue: {
46374637
};
46384638

46394639
interface IDBDatabaseEventMap {
4640+
"abort": Event;
46404641
"close": Event;
46414642
"error": Event;
46424643
"versionchange": IDBVersionChangeEvent;
@@ -4664,6 +4665,8 @@ interface IDBDatabase extends EventTarget {
46644665
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
46654666
*/
46664667
readonly objectStoreNames: DOMStringList;
4668+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
4669+
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
46674670
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
46684671
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
46694672
onerror: ((this: IDBDatabase, ev: Event) => any) | null;

baselines/sharedworker.generated.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4278,6 +4278,7 @@ declare var IDBCursorWithValue: {
42784278
};
42794279

42804280
interface IDBDatabaseEventMap {
4281+
"abort": Event;
42814282
"close": Event;
42824283
"error": Event;
42834284
"versionchange": IDBVersionChangeEvent;
@@ -4305,6 +4306,8 @@ interface IDBDatabase extends EventTarget {
43054306
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
43064307
*/
43074308
readonly objectStoreNames: DOMStringList;
4309+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
4310+
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
43084311
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
43094312
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
43104313
onerror: ((this: IDBDatabase, ev: Event) => any) | null;

baselines/ts5.5/dom.generated.d.ts

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ interface CloseEventInit extends EventInit {
357357
wasClean?: boolean;
358358
}
359359

360+
interface CommandEventInit extends EventInit {
361+
command?: string;
362+
source?: Element | null;
363+
}
364+
360365
interface CompositionEventInit extends UIEventInit {
361366
data?: string;
362367
}
@@ -3270,7 +3275,11 @@ interface AnimationTimeline {
32703275
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
32713276
*/
32723277
readonly currentTime: CSSNumberish | null;
3273-
/** The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null. */
3278+
/**
3279+
* The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.
3280+
*
3281+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration)
3282+
*/
32743283
readonly duration: CSSNumberish | null;
32753284
}
32763285

@@ -6588,6 +6597,8 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
65886597
counterReset: string;
65896598
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
65906599
counterSet: string;
6600+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
6601+
cssFloat: string;
65916602
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
65926603
cursor: string;
65936604
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
@@ -8715,6 +8726,31 @@ declare var CloseEvent: {
87158726
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
87168727
};
87178728

8729+
/**
8730+
* The CommandEvent interface represents an event notifying the user when a button element with valid commandForElement and command attributes is about to invoke an interactive element.
8731+
*
8732+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
8733+
*/
8734+
interface CommandEvent extends Event {
8735+
/**
8736+
* The command read-only property of the CommandEvent interface returns a string containing the value of the command property at the time the event was dispatched.
8737+
*
8738+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
8739+
*/
8740+
readonly command: string;
8741+
/**
8742+
* The source read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
8743+
*
8744+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
8745+
*/
8746+
readonly source: Element | null;
8747+
}
8748+
8749+
declare var CommandEvent: {
8750+
prototype: CommandEvent;
8751+
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
8752+
};
8753+
87188754
/**
87198755
* The Comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
87208756
*
@@ -11002,6 +11038,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1100211038
createEvent(eventInterface: "BlobEvent"): BlobEvent;
1100311039
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
1100411040
createEvent(eventInterface: "CloseEvent"): CloseEvent;
11041+
createEvent(eventInterface: "CommandEvent"): CommandEvent;
1100511042
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
1100611043
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
1100711044
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
@@ -14415,6 +14452,18 @@ declare var HTMLBodyElement: {
1441514452
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
1441614453
*/
1441714454
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
14455+
/**
14456+
* The command property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button. For this to have an effect, commandfor must be set.
14457+
*
14458+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
14459+
*/
14460+
command: string;
14461+
/**
14462+
* The commandForElement property of the HTMLButtonElement interface gets and sets the element to control via a button.
14463+
*
14464+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
14465+
*/
14466+
commandForElement: Element | null;
1441814467
/**
1441914468
* The HTMLButtonElement.disabled property indicates whether the control is disabled, meaning that it does not accept any clicks.
1442014469
*
@@ -19590,6 +19639,7 @@ declare var IDBCursorWithValue: {
1959019639
};
1959119640

1959219641
interface IDBDatabaseEventMap {
19642+
"abort": Event;
1959319643
"close": Event;
1959419644
"error": Event;
1959519645
"versionchange": IDBVersionChangeEvent;
@@ -19617,6 +19667,8 @@ interface IDBDatabase extends EventTarget {
1961719667
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
1961819668
*/
1961919669
readonly objectStoreNames: DOMStringList;
19670+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
19671+
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
1962019672
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
1962119673
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
1962219674
onerror: ((this: IDBDatabase, ev: Event) => any) | null;
@@ -24804,6 +24856,8 @@ interface ParentNode extends Node {
2480424856
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
2480524857
*/
2480624858
append(...nodes: (Node | string)[]): void;
24859+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
24860+
moveBefore(node: Node, child: Node | null): void;
2480724861
/**
2480824862
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
2480924863
*
@@ -25396,6 +25450,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
2539625450
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
2539725451
*/
2539825452
readonly cancelable: boolean;
25453+
/**
25454+
* The read-only interactionId property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
25455+
*
25456+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
25457+
*/
25458+
readonly interactionId: number;
2539925459
/**
2540025460
* The read-only processingEnd property returns the time the last event handler finished executing.
2540125461
*
@@ -32846,6 +32906,12 @@ interface ScreenOrientation extends EventTarget {
3284632906
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
3284732907
*/
3284832908
readonly type: OrientationType;
32909+
/**
32910+
* The lock() method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
32911+
*
32912+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
32913+
*/
32914+
lock(orientation: OrientationLockType): Promise<void>;
3284932915
/**
3285032916
* The unlock() method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation.
3285132917
*
@@ -42744,6 +42810,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
4274442810
type NotificationPermission = "default" | "denied" | "granted";
4274542811
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
4274642812
type OpusBitstreamFormat = "ogg" | "opus";
42813+
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
4274742814
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
4274842815
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
4274942816
type OverSampleType = "2x" | "4x" | "none";

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4637,6 +4637,7 @@ declare var IDBCursorWithValue: {
46374637
};
46384638

46394639
interface IDBDatabaseEventMap {
4640+
"abort": Event;
46404641
"close": Event;
46414642
"error": Event;
46424643
"versionchange": IDBVersionChangeEvent;
@@ -4664,6 +4665,8 @@ interface IDBDatabase extends EventTarget {
46644665
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
46654666
*/
46664667
readonly objectStoreNames: DOMStringList;
4668+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
4669+
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
46674670
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
46684671
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
46694672
onerror: ((this: IDBDatabase, ev: Event) => any) | null;

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4278,6 +4278,7 @@ declare var IDBCursorWithValue: {
42784278
};
42794279

42804280
interface IDBDatabaseEventMap {
4281+
"abort": Event;
42814282
"close": Event;
42824283
"error": Event;
42834284
"versionchange": IDBVersionChangeEvent;
@@ -4305,6 +4306,8 @@ interface IDBDatabase extends EventTarget {
43054306
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
43064307
*/
43074308
readonly objectStoreNames: DOMStringList;
4309+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
4310+
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
43084311
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
43094312
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
43104313
onerror: ((this: IDBDatabase, ev: Event) => any) | null;

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5334,6 +5334,7 @@ declare var IDBCursorWithValue: {
53345334
};
53355335

53365336
interface IDBDatabaseEventMap {
5337+
"abort": Event;
53375338
"close": Event;
53385339
"error": Event;
53395340
"versionchange": IDBVersionChangeEvent;
@@ -5361,6 +5362,8 @@ interface IDBDatabase extends EventTarget {
53615362
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
53625363
*/
53635364
readonly objectStoreNames: DOMStringList;
5365+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
5366+
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
53645367
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
53655368
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
53665369
onerror: ((this: IDBDatabase, ev: Event) => any) | null;

0 commit comments

Comments
 (0)