@@ -3596,8 +3596,8 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
35963596 slot: string;
35973597 readonly shadowRoot: ShadowRoot | null;
35983598 getAttribute(name: string): string | null;
3599- getAttributeNode(name: string): Attr;
3600- getAttributeNodeNS(namespaceURI: string, localName: string): Attr;
3599+ getAttributeNode(name: string): Attr | null ;
3600+ getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null ;
36013601 getAttributeNS(namespaceURI: string, localName: string): string;
36023602 getBoundingClientRect(): ClientRect;
36033603 getClientRects(): ClientRectList;
@@ -3757,9 +3757,10 @@ declare var External: {
37573757};
37583758
37593759interface File extends Blob {
3760- readonly lastModifiedDate: any ;
3760+ readonly lastModifiedDate: Date ;
37613761 readonly name: string;
37623762 readonly webkitRelativePath: string;
3763+ readonly lastModified: number;
37633764}
37643765
37653766declare var File: {
@@ -5200,6 +5201,10 @@ interface HTMLIFrameElement extends HTMLElement, GetSVGDocument {
52005201 * Sets or retrieves the width of the object.
52015202 */
52025203 width: string;
5204+ /**
5205+ * Sets or retrives the content of the page that is to contain.
5206+ */
5207+ srcdoc: string;
52035208 addEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
52045209 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
52055210 removeEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -5495,8 +5500,9 @@ interface HTMLInputElement extends HTMLElement {
54955500 * Sets the start and end positions of a selection in a text field.
54965501 * @param start The offset into the text field for the start of the selection.
54975502 * @param end The offset into the text field for the end of the selection.
5503+ * @param direction The direction in which the selection is performed.
54985504 */
5499- setSelectionRange(start? : number, end? : number, direction?: string ): void;
5505+ setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none" ): void;
55005506 /**
55015507 * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
55025508 * @param n Value to decrement the value by.
@@ -6057,6 +6063,7 @@ interface HTMLObjectElement extends HTMLElement, GetSVGDocument {
60576063 * Returns whether an element will successfully validate based on forms validation rules and constraints.
60586064 */
60596065 readonly willValidate: boolean;
6066+ typemustmatch: boolean;
60606067 /**
60616068 * Returns whether a form will validate when it is submitted, without having to submit it.
60626069 */
@@ -6958,8 +6965,9 @@ interface HTMLTextAreaElement extends HTMLElement {
69586965 * Sets the start and end positions of a selection in a text field.
69596966 * @param start The offset into the text field for the start of the selection.
69606967 * @param end The offset into the text field for the end of the selection.
6968+ * @param direction The direction in which the selection is performed.
69616969 */
6962- setSelectionRange(start: number, end: number): void;
6970+ setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none" ): void;
69636971 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
69646972 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
69656973 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -12213,7 +12221,7 @@ interface URL {
1221312221
1221412222declare var URL: {
1221512223 prototype: URL;
12216- new(url: string, base?: string): URL;
12224+ new(url: string, base?: string | URL ): URL;
1221712225 createObjectURL(object: any, options?: ObjectURLOptions): string;
1221812226 revokeObjectURL(url: string): void;
1221912227};
@@ -15029,6 +15037,7 @@ interface SVGElementTagNameMap {
1502915037 "view": SVGViewElement;
1503015038}
1503115039
15040+ /** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */
1503215041interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }
1503315042
1503415043declare var Audio: { new(src?: string): HTMLAudioElement; };
0 commit comments