@@ -360,6 +360,11 @@ interface CloseEventInit extends EventInit {
360360 wasClean?: boolean;
361361}
362362
363+ interface CommandEventInit extends EventInit {
364+ command?: string;
365+ source?: Element | null;
366+ }
367+
363368interface CompositionEventInit extends UIEventInit {
364369 data?: string;
365370}
@@ -3277,7 +3282,11 @@ interface AnimationTimeline {
32773282 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
32783283 */
32793284 readonly currentTime: CSSNumberish | null;
3280- /** The **`duration`** read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null. */
3285+ /**
3286+ * The **`duration`** read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.
3287+ *
3288+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration)
3289+ */
32813290 readonly duration: CSSNumberish | null;
32823291}
32833292
@@ -6055,7 +6064,11 @@ declare var CSSStyleDeclaration: {
60556064 new(): CSSStyleDeclaration;
60566065};
60576066
6058- /** 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. */
6067+ /**
6068+ * 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.
6069+ *
6070+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties)
6071+ */
60596072interface CSSStyleProperties extends CSSStyleDeclarationBase {
60606073 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
60616074 accentColor: string;
@@ -6344,6 +6357,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
63446357 counterReset: string;
63456358 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
63466359 counterSet: string;
6360+ /**
6361+ * The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
6362+ *
6363+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
6364+ */
6365+ cssFloat: string;
63476366 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
63486367 cursor: string;
63496368 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
@@ -6358,6 +6377,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
63586377 display: string;
63596378 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
63606379 dominantBaseline: string;
6380+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dynamic-range-limit) */
63616381 dynamicRangeLimit: string;
63626382 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
63636383 emptyCells: string;
@@ -6863,6 +6883,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
68636883 textAlignLast: string;
68646884 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
68656885 textAnchor: string;
6886+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-autospace) */
68666887 textAutospace: string;
68676888 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
68686889 textBox: string;
@@ -8405,6 +8426,31 @@ declare var CloseEvent: {
84058426 new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
84068427};
84078428
8429+ /**
8430+ * 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.
8431+ *
8432+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
8433+ */
8434+ interface CommandEvent extends Event {
8435+ /**
8436+ * 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.
8437+ *
8438+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
8439+ */
8440+ readonly command: string;
8441+ /**
8442+ * The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
8443+ *
8444+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
8445+ */
8446+ readonly source: Element | null;
8447+ }
8448+
8449+ declare var CommandEvent: {
8450+ prototype: CommandEvent;
8451+ new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
8452+ };
8453+
84088454/**
84098455 * 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.
84108456 *
@@ -10057,6 +10103,19 @@ declare var DeviceOrientationEvent: {
1005710103 new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
1005810104};
1005910105
10106+ /** Available only in secure contexts. */
10107+ interface DigitalCredential extends Credential {
10108+ readonly data: any;
10109+ readonly protocol: string;
10110+ toJSON(): any;
10111+ }
10112+
10113+ declare var DigitalCredential: {
10114+ prototype: DigitalCredential;
10115+ new(): DigitalCredential;
10116+ userAgentAllowsProtocol(protocol: string): boolean;
10117+ };
10118+
1006010119interface DocumentEventMap extends GlobalEventHandlersEventMap {
1006110120 "DOMContentLoaded": Event;
1006210121 "fullscreenchange": Event;
@@ -10467,6 +10526,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1046710526 createEvent(eventInterface: "BlobEvent"): BlobEvent;
1046810527 createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
1046910528 createEvent(eventInterface: "CloseEvent"): CloseEvent;
10529+ createEvent(eventInterface: "CommandEvent"): CommandEvent;
1047010530 createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
1047110531 createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
1047210532 createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
@@ -12993,6 +13053,7 @@ interface GlobalEventHandlersEventMap {
1299313053 "change": Event;
1299413054 "click": PointerEvent;
1299513055 "close": Event;
13056+ "command": Event;
1299613057 "compositionend": CompositionEvent;
1299713058 "compositionstart": CompositionEvent;
1299813059 "compositionupdate": CompositionEvent;
@@ -13117,6 +13178,8 @@ interface GlobalEventHandlers {
1311713178 onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1311813179 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
1311913180 onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
13181+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
13182+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1312013183 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
1312113184 oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1312213185 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
@@ -13606,6 +13669,18 @@ declare var HTMLBodyElement: {
1360613669 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
1360713670 */
1360813671interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
13672+ /**
13673+ * 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.
13674+ *
13675+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
13676+ */
13677+ command: string;
13678+ /**
13679+ * The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
13680+ *
13681+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
13682+ */
13683+ commandForElement: Element | null;
1360913684 /**
1361013685 * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
1361113686 *
@@ -18369,6 +18444,7 @@ declare var IDBCursorWithValue: {
1836918444};
1837018445
1837118446interface IDBDatabaseEventMap {
18447+ "abort": Event;
1837218448 "close": Event;
1837318449 "error": Event;
1837418450 "versionchange": IDBVersionChangeEvent;
@@ -18392,6 +18468,8 @@ interface IDBDatabase extends EventTarget {
1839218468 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
1839318469 */
1839418470 readonly objectStoreNames: DOMStringList;
18471+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
18472+ onabort: ((this: IDBDatabase, ev: Event) => any) | null;
1839518473 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
1839618474 onclose: ((this: IDBDatabase, ev: Event) => any) | null;
1839718475 onerror: ((this: IDBDatabase, ev: Event) => any) | null;
@@ -23031,6 +23109,8 @@ interface ParentNode extends Node {
2303123109 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
2303223110 */
2303323111 append(...nodes: (Node | string)[]): void;
23112+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
23113+ moveBefore(node: Node, child: Node | null): void;
2303423114 /**
2303523115 * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
2303623116 *
@@ -23558,6 +23638,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
2355823638 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
2355923639 */
2356023640 readonly cancelable: boolean;
23641+ /**
23642+ * The read-only **`interactionId`** property of the PerformanceEventTiming interface returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
23643+ *
23644+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
23645+ */
23646+ readonly interactionId: number;
2356123647 /**
2356223648 * The read-only **`processingEnd`** property returns the time the last event handler finished executing.
2356323649 *
@@ -23824,6 +23910,7 @@ declare var PerformanceObserverEntryList: {
2382423910 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
2382523911 */
2382623912interface PerformancePaintTiming extends PerformanceEntry {
23913+ toJSON(): any;
2382723914}
2382823915
2382923916declare var PerformancePaintTiming: {
@@ -26705,6 +26792,12 @@ declare var Response: {
2670526792 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement)
2670626793 */
2670726794interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
26795+ /**
26796+ * The **`download`** property of the SVGAElement interface returns a string indicating that the browser should treat the linked URL as a download.
26797+ *
26798+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/download)
26799+ */
26800+ download: string;
2670826801 /**
2670926802 * The **`rel`** property of the SVGAElement returns a string reflecting the value of the rel attribute of the SVG <a> element.
2671026803 *
@@ -30575,6 +30668,12 @@ interface ScreenOrientation extends EventTarget {
3057530668 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
3057630669 */
3057730670 readonly type: OrientationType;
30671+ /**
30672+ * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
30673+ *
30674+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
30675+ */
30676+ lock(orientation: OrientationLockType): Promise<void>;
3057830677 /**
3057930678 * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation.
3058030679 *
@@ -31237,10 +31336,15 @@ interface SourceBuffer extends EventTarget {
3123731336 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode)
3123831337 */
3123931338 mode: AppendMode;
31339+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) */
3124031340 onabort: ((this: SourceBuffer, ev: Event) => any) | null;
31341+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) */
3124131342 onerror: ((this: SourceBuffer, ev: Event) => any) | null;
31343+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) */
3124231344 onupdate: ((this: SourceBuffer, ev: Event) => any) | null;
31345+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) */
3124331346 onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;
31347+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) */
3124431348 onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;
3124531349 /**
3124631350 * The **`timestampOffset`** property of the SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the SourceBuffer.
@@ -32727,6 +32831,12 @@ interface ToggleEvent extends Event {
3272732831 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState)
3272832832 */
3272932833 readonly oldState: string;
32834+ /**
32835+ * The **`source`** read-only property of the ToggleEvent interface is an Element object instance representing the HTML popover control element that initiated the toggle.
32836+ *
32837+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/source)
32838+ */
32839+ readonly source: Element | null;
3273032840}
3273132841
3273232842declare var ToggleEvent: {
@@ -38547,6 +38657,7 @@ declare namespace WebAssembly {
3854738657 type Imports = Record<string, ModuleImports>;
3854838658 type ModuleImports = Record<string, ImportValue>;
3854938659 type ValueType = keyof ValueTypeMap;
38660+ var JSTag: Tag;
3855038661 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
3855138662 function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
3855238663 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
@@ -39607,6 +39718,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
3960739718declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
3960839719/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
3960939720declare var onclose: ((this: Window, ev: Event) => any) | null;
39721+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
39722+ declare var oncommand: ((this: Window, ev: Event) => any) | null;
3961039723/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
3961139724declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
3961239725/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
@@ -40080,6 +40193,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
4008040193type NotificationPermission = "default" | "denied" | "granted";
4008140194type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
4008240195type OpusBitstreamFormat = "ogg" | "opus";
40196+ type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
4008340197type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
4008440198type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
4008540199type OverSampleType = "2x" | "4x" | "none";
0 commit comments