@@ -4887,7 +4887,11 @@ interface CSSStyleDeclaration {
48874887 * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content)
48884888 */
48894889 webkitJustifyContent: string;
4890- /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */
4890+ /**
4891+ * @deprecated This is a legacy alias of `lineClamp`.
4892+ *
4893+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp)
4894+ */
48914895 webkitLineClamp: string;
48924896 /**
48934897 * @deprecated This is a legacy alias of `mask`.
@@ -5549,6 +5553,8 @@ interface CanvasShadowStyles {
55495553}
55505554
55515555interface CanvasState {
5556+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
5557+ isContextLost(): boolean;
55525558 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
55535559 reset(): void;
55545560 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
@@ -7263,6 +7269,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
72637269 createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
72647270 createEvent(eventInterface: "StorageEvent"): StorageEvent;
72657271 createEvent(eventInterface: "SubmitEvent"): SubmitEvent;
7272+ createEvent(eventInterface: "TextEvent"): TextEvent;
72667273 createEvent(eventInterface: "ToggleEvent"): ToggleEvent;
72677274 createEvent(eventInterface: "TouchEvent"): TouchEvent;
72687275 createEvent(eventInterface: "TrackEvent"): TrackEvent;
@@ -7699,7 +7706,7 @@ interface ElementEventMap {
76997706 *
77007707 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element)
77017708 */
7702- interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {
7709+ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable {
77037710 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes) */
77047711 readonly attributes: NamedNodeMap;
77057712 /**
@@ -7728,6 +7735,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
77287735 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id)
77297736 */
77307737 id: string;
7738+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */
7739+ innerHTML: string;
77317740 /**
77327741 * Returns the local name.
77337742 *
@@ -7867,7 +7876,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
78677876 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement) */
78687877 insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
78697878 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */
7870- insertAdjacentHTML(position: InsertPosition, text : string): void;
7879+ insertAdjacentHTML(position: InsertPosition, string : string): void;
78717880 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) */
78727881 insertAdjacentText(where: InsertPosition, data: string): void;
78737882 /**
@@ -8957,7 +8966,9 @@ interface GlobalEventHandlersEventMap {
89578966 "compositionend": CompositionEvent;
89588967 "compositionstart": CompositionEvent;
89598968 "compositionupdate": CompositionEvent;
8969+ "contextlost": Event;
89608970 "contextmenu": MouseEvent;
8971+ "contextrestored": Event;
89618972 "copy": ClipboardEvent;
89628973 "cuechange": Event;
89638974 "cut": ClipboardEvent;
@@ -9098,13 +9109,17 @@ interface GlobalEventHandlers {
90989109 onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
90999110 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
91009111 onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9112+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
9113+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
91019114 /**
91029115 * Fires when the user clicks the right mouse button in the client area, opening the context menu.
91039116 * @param ev The mouse event.
91049117 *
91059118 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
91069119 */
91079120 oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9121+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
9122+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
91089123 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
91099124 oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
91109125 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */
@@ -10873,6 +10888,7 @@ interface HTMLIFrameElement extends HTMLElement {
1087310888 name: string;
1087410889 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
1087510890 referrerPolicy: ReferrerPolicy;
10891+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */
1087610892 readonly sandbox: DOMTokenList;
1087710893 /**
1087810894 * Sets or retrieves whether the frame can be scrolled.
@@ -11429,6 +11445,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
1142911445 hreflang: string;
1143011446 imageSizes: string;
1143111447 imageSrcset: string;
11448+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
1143211449 integrity: string;
1143311450 /** Sets or retrieves the media type. */
1143411451 media: string;
@@ -11454,7 +11471,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
1145411471 * @deprecated
1145511472 */
1145611473 target: string;
11457- /** Sets or retrieves the MIME type of the object. */
11474+ /**
11475+ * Sets or retrieves the MIME type of the object.
11476+ *
11477+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type)
11478+ */
1145811479 type: string;
1145911480 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1146011481 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12478,6 +12499,7 @@ declare var HTMLQuoteElement: {
1247812499 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement)
1247912500 */
1248012501interface HTMLScriptElement extends HTMLElement {
12502+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */
1248112503 async: boolean;
1248212504 /**
1248312505 * Sets or retrieves the character set used to encode the object.
@@ -12486,28 +12508,47 @@ interface HTMLScriptElement extends HTMLElement {
1248612508 charset: string;
1248712509 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
1248812510 crossOrigin: string | null;
12489- /** Sets or retrieves the status of the script. */
12511+ /**
12512+ * Sets or retrieves the status of the script.
12513+ *
12514+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer)
12515+ */
1249012516 defer: boolean;
1249112517 /**
1249212518 * Sets or retrieves the event for which the script is written.
1249312519 * @deprecated
1249412520 */
1249512521 event: string;
12522+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */
1249612523 fetchPriority: string;
1249712524 /**
1249812525 * Sets or retrieves the object that is bound to the event script.
1249912526 * @deprecated
1250012527 */
1250112528 htmlFor: string;
12529+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) */
1250212530 integrity: string;
12531+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) */
1250312532 noModule: boolean;
1250412533 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy) */
1250512534 referrerPolicy: string;
12506- /** Retrieves the URL to an external file that contains the source code or data. */
12535+ /**
12536+ * Retrieves the URL to an external file that contains the source code or data.
12537+ *
12538+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src)
12539+ */
1250712540 src: string;
12508- /** Retrieves or sets the text of the object as a string. */
12541+ /**
12542+ * Retrieves or sets the text of the object as a string.
12543+ *
12544+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)
12545+ */
1250912546 text: string;
12510- /** Sets or retrieves the MIME type for the associated scripting engine. */
12547+ /**
12548+ * Sets or retrieves the MIME type for the associated scripting engine.
12549+ *
12550+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type)
12551+ */
1251112552 type: string;
1251212553 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1251312554 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -13317,6 +13358,11 @@ interface HTMLTemplateElement extends HTMLElement {
1331713358 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
1331813359 */
1331913360 readonly content: DocumentFragment;
13361+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) */
13362+ shadowRootClonable: boolean;
13363+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) */
13364+ shadowRootDelegatesFocus: boolean;
13365+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) */
1332013366 shadowRootMode: string;
1332113367 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1332213368 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -14503,11 +14549,6 @@ declare var ImageData: {
1450314549 new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
1450414550};
1450514551
14506- interface InnerHTML {
14507- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */
14508- innerHTML: string;
14509- }
14510-
1451114552/**
1451214553 * Available only in secure contexts.
1451314554 *
@@ -16896,8 +16937,6 @@ declare var OffscreenCanvas: {
1689616937/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
1689716938interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
1689816939 readonly canvas: OffscreenCanvas;
16899- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
16900- commit(): void;
1690116940}
1690216941
1690316942declare var OffscreenCanvasRenderingContext2D: {
@@ -18497,6 +18536,7 @@ declare var RTCPeerConnectionIceEvent: {
1849718536 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver)
1849818537 */
1849918538interface RTCRtpReceiver {
18539+ jitterBufferTarget: DOMHighResTimeStamp | null;
1850018540 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) */
1850118541 readonly track: MediaStreamTrack;
1850218542 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform) */
@@ -18575,7 +18615,7 @@ interface RTCRtpTransceiver {
1857518615 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender) */
1857618616 readonly sender: RTCRtpSender;
1857718617 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
18578- setCodecPreferences(codecs: RTCRtpCodecCapability []): void;
18618+ setCodecPreferences(codecs: RTCRtpCodec []): void;
1857918619 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) */
1858018620 stop(): void;
1858118621}
@@ -18695,7 +18735,7 @@ interface Range extends AbstractRange {
1869518735 */
1869618736 comparePoint(node: Node, offset: number): number;
1869718737 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */
18698- createContextualFragment(fragment : string): DocumentFragment;
18738+ createContextualFragment(string : string): DocumentFragment;
1869918739 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) */
1870018740 deleteContents(): void;
1870118741 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach) */
@@ -21369,6 +21409,7 @@ interface Selection {
2136921409 readonly anchorNode: Node | null;
2137021410 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */
2137121411 readonly anchorOffset: number;
21412+ readonly direction: string;
2137221413 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) */
2137321414 readonly focusNode: Node | null;
2137421415 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset) */
@@ -21541,13 +21582,15 @@ interface ShadowRootEventMap {
2154121582}
2154221583
2154321584/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */
21544- interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
21585+ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
2154521586 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) */
2154621587 readonly clonable: boolean;
2154721588 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) */
2154821589 readonly delegatesFocus: boolean;
2154921590 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */
2155021591 readonly host: Element;
21592+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) */
21593+ innerHTML: string;
2155121594 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */
2155221595 readonly mode: ShadowRootMode;
2155321596 onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
@@ -22294,6 +22337,16 @@ declare var TextEncoderStream: {
2229422337 new(): TextEncoderStream;
2229522338};
2229622339
22340+ interface TextEvent extends UIEvent {
22341+ readonly data: string;
22342+ initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void;
22343+ }
22344+
22345+ declare var TextEvent: {
22346+ prototype: TextEvent;
22347+ new(): TextEvent;
22348+ };
22349+
2229722350/**
2229822351 * The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
2229922352 *
@@ -27855,13 +27908,17 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
2785527908declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
2785627909/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
2785727910declare var onclose: ((this: Window, ev: Event) => any) | null;
27911+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
27912+ declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
2785827913/**
2785927914 * Fires when the user clicks the right mouse button in the client area, opening the context menu.
2786027915 * @param ev The mouse event.
2786127916 *
2786227917 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
2786327918 */
2786427919declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
27920+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
27921+ declare var oncontextrestored: ((this: Window, ev: Event) => any) | null;
2786527922/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
2786627923declare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;
2786727924/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */
0 commit comments