@@ -2058,6 +2058,7 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven
20582058 * Gets or sets the version attribute specified in the declaration of an XML document.
20592059 */
20602060 xmlVersion: string;
2061+ currentScript: HTMLScriptElement;
20612062 adoptNode(source: Node): Node;
20622063 captureEvents(): void;
20632064 clear(): void;
@@ -2977,6 +2978,7 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
29772978 webkitRequestFullScreen(): void;
29782979 webkitRequestFullscreen(): void;
29792980 getElementsByClassName(classNames: string): NodeListOf<Element>;
2981+ matches(selector: string): boolean;
29802982 addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;
29812983 addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;
29822984 addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;
@@ -3961,7 +3963,6 @@ interface HTMLElement extends Element {
39613963 title: string;
39623964 blur(): void;
39633965 click(): void;
3964- contains(child: HTMLElement): boolean;
39653966 dragDrop(): boolean;
39663967 focus(): void;
39673968 insertAdjacentElement(position: string, insertedElement: Element): Element;
@@ -6135,7 +6136,7 @@ interface HTMLSelectElement extends HTMLElement {
61356136 * Sets or retrieves the name of the object.
61366137 */
61376138 name: string;
6138- options: HTMLSelectElement ;
6139+ options: HTMLCollection ;
61396140 /**
61406141 * When present, marks an element that can't be submitted without a value.
61416142 */
@@ -6421,19 +6422,19 @@ interface HTMLTableElement extends HTMLElement {
64216422 /**
64226423 * Creates an empty caption element in the table.
64236424 */
6424- createCaption(): HTMLElement ;
6425+ createCaption(): HTMLTableCaptionElement ;
64256426 /**
64266427 * Creates an empty tBody element in the table.
64276428 */
6428- createTBody(): HTMLElement ;
6429+ createTBody(): HTMLTableSectionElement ;
64296430 /**
64306431 * Creates an empty tFoot element in the table.
64316432 */
6432- createTFoot(): HTMLElement ;
6433+ createTFoot(): HTMLTableSectionElement ;
64336434 /**
64346435 * Returns the tHead element object if successful, or null otherwise.
64356436 */
6436- createTHead(): HTMLElement ;
6437+ createTHead(): HTMLTableSectionElement ;
64376438 /**
64386439 * Deletes the caption element and its contents from the table.
64396440 */
@@ -6455,7 +6456,7 @@ interface HTMLTableElement extends HTMLElement {
64556456 * Creates a new row (tr) in the table, and adds the row to the rows collection.
64566457 * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.
64576458 */
6458- insertRow(index?: number): HTMLElement ;
6459+ insertRow(index?: number): HTMLTableRowElement ;
64596460}
64606461
64616462declare var HTMLTableElement: {
@@ -6506,7 +6507,7 @@ interface HTMLTableRowElement extends HTMLElement, HTMLTableAlignment {
65066507 * Creates a new cell in the table row, and adds the cell to the cells collection.
65076508 * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.
65086509 */
6509- insertCell(index?: number): HTMLElement ;
6510+ insertCell(index?: number): HTMLTableCellElement ;
65106511 addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
65116512}
65126513
@@ -6533,7 +6534,7 @@ interface HTMLTableSectionElement extends HTMLElement, HTMLTableAlignment {
65336534 * Creates a new row (tr) in the table, and adds the row to the rows collection.
65346535 * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.
65356536 */
6536- insertRow(index?: number): HTMLElement ;
6537+ insertRow(index?: number): HTMLTableRowElement ;
65376538 addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
65386539}
65396540
@@ -7071,7 +7072,7 @@ declare var IDBVersionChangeEvent: {
70717072}
70727073
70737074interface ImageData {
7074- data: number[] ;
7075+ data: Uint8ClampedArray ;
70757076 height: number;
70767077 width: number;
70777078}
@@ -7869,6 +7870,7 @@ interface Navigator extends Object, NavigatorID, NavigatorOnLine, NavigatorConte
78697870 getGamepads(): Gamepad[];
78707871 javaEnabled(): boolean;
78717872 msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void;
7873+ vibrate(pattern: number | number[]): boolean;
78727874 addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
78737875}
78747876
@@ -7909,6 +7911,7 @@ interface Node extends EventTarget {
79097911 normalize(): void;
79107912 removeChild(oldChild: Node): Node;
79117913 replaceChild(newChild: Node, oldChild: Node): Node;
7914+ contains(node: Node): boolean;
79127915 ATTRIBUTE_NODE: number;
79137916 CDATA_SECTION_NODE: number;
79147917 COMMENT_NODE: number;
0 commit comments