@@ -1014,7 +1014,7 @@ interface MessageEventInit extends EventInit {
1014
1014
lastEventId?: string;
1015
1015
origin?: string;
1016
1016
ports?: MessagePort[];
1017
- source?: Window | null;
1017
+ source?: MessageEventSource | null;
1018
1018
}
1019
1019
1020
1020
interface MouseEventInit extends EventModifierInit {
@@ -3397,10 +3397,8 @@ interface Console {
3397
3397
info(message?: any, ...optionalParams: any[]): void;
3398
3398
log(message?: any, ...optionalParams: any[]): void;
3399
3399
markTimeline(label?: string): void;
3400
- msIsIndependentlyComposed(element: Element): boolean;
3401
3400
profile(reportName?: string): void;
3402
- profileEnd(): void;
3403
- select(element: Element): void;
3401
+ profileEnd(reportName?: string): void;
3404
3402
table(...tabularData: any[]): void;
3405
3403
time(label?: string): void;
3406
3404
timeEnd(label?: string): void;
@@ -4613,6 +4611,8 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent
4613
4611
* @param tagName The name of an element.
4614
4612
*/
4615
4613
createElement<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];
4614
+ /** @deprecated */
4615
+ createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
4616
4616
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
4617
4617
createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement;
4618
4618
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "a"): SVGAElement;
@@ -5179,7 +5179,6 @@ interface Event {
5179
5179
readonly eventPhase: number;
5180
5180
readonly isTrusted: boolean;
5181
5181
returnValue: boolean;
5182
- readonly srcElement: Element | null;
5183
5182
readonly target: EventTarget | null;
5184
5183
readonly timeStamp: number;
5185
5184
readonly type: string;
@@ -5778,6 +5777,7 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers {
5778
5777
link: string;
5779
5778
/** @deprecated */
5780
5779
noWrap: boolean;
5780
+ /** @deprecated */
5781
5781
onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;
5782
5782
onresize: ((this: HTMLBodyElement, ev: UIEvent) => any) | null;
5783
5783
/** @deprecated */
@@ -6028,10 +6028,6 @@ interface HTMLDivElement extends HTMLElement {
6028
6028
*/
6029
6029
/** @deprecated */
6030
6030
align: string;
6031
- /**
6032
- * Sets or retrieves whether the browser automatically performs wordwrap.
6033
- */
6034
- noWrap: boolean;
6035
6031
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6036
6032
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6037
6033
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -6562,8 +6558,6 @@ declare var HTMLHRElement: {
6562
6558
};
6563
6559
6564
6560
interface HTMLHeadElement extends HTMLElement {
6565
- /** @deprecated */
6566
- profile: string;
6567
6561
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6568
6562
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6569
6563
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -7058,6 +7052,7 @@ declare var HTMLLegendElement: {
7058
7052
};
7059
7053
7060
7054
interface HTMLLinkElement extends HTMLElement, LinkStyle {
7055
+ as: string;
7061
7056
/**
7062
7057
* Sets or retrieves the character set used to encode the object.
7063
7058
*/
@@ -7073,12 +7068,12 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
7073
7068
* Sets or retrieves the language code of the object.
7074
7069
*/
7075
7070
hreflang: string;
7076
- import?: Document;
7077
7071
integrity: string;
7078
7072
/**
7079
7073
* Sets or retrieves the media type.
7080
7074
*/
7081
7075
media: string;
7076
+ referrerPolicy: string;
7082
7077
/**
7083
7078
* Sets or retrieves the relationship between the object and the destination of the link.
7084
7079
*/
@@ -7089,6 +7084,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
7089
7084
*/
7090
7085
/** @deprecated */
7091
7086
rev: string;
7087
+ readonly sizes: DOMTokenList;
7092
7088
/**
7093
7089
* Sets or retrieves the window or frame at which to target content.
7094
7090
*/
@@ -7390,7 +7386,6 @@ declare var HTMLMediaElement: {
7390
7386
interface HTMLMenuElement extends HTMLElement {
7391
7387
/** @deprecated */
7392
7388
compact: boolean;
7393
- type: string;
7394
7389
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7395
7390
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
7396
7391
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -7403,11 +7398,6 @@ declare var HTMLMenuElement: {
7403
7398
};
7404
7399
7405
7400
interface HTMLMetaElement extends HTMLElement {
7406
- /**
7407
- * Sets or retrieves the character set used to encode the object.
7408
- */
7409
- /** @deprecated */
7410
- charset: string;
7411
7401
/**
7412
7402
* Gets or sets meta-information to associate with httpEquiv or name.
7413
7403
*/
@@ -7425,11 +7415,6 @@ interface HTMLMetaElement extends HTMLElement {
7425
7415
*/
7426
7416
/** @deprecated */
7427
7417
scheme: string;
7428
- /**
7429
- * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.
7430
- */
7431
- /** @deprecated */
7432
- url: string;
7433
7418
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7434
7419
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
7435
7420
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -7483,6 +7468,7 @@ declare var HTMLModElement: {
7483
7468
interface HTMLOListElement extends HTMLElement {
7484
7469
/** @deprecated */
7485
7470
compact: boolean;
7471
+ reversed: boolean;
7486
7472
/**
7487
7473
* The starting number.
7488
7474
*/
@@ -7747,7 +7733,6 @@ interface HTMLParagraphElement extends HTMLElement {
7747
7733
*/
7748
7734
/** @deprecated */
7749
7735
align: string;
7750
- clear: string;
7751
7736
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7752
7737
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
7753
7738
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -8066,8 +8051,6 @@ declare var HTMLSpanElement: {
8066
8051
};
8067
8052
8068
8053
interface HTMLStyleElement extends HTMLElement, LinkStyle {
8069
- /** @deprecated */
8070
- disabled: boolean;
8071
8054
/**
8072
8055
* Sets or retrieves the media type.
8073
8056
*/
@@ -9997,7 +9980,6 @@ interface MessageEvent extends Event {
9997
9980
readonly origin: string;
9998
9981
readonly ports: ReadonlyArray<MessagePort>;
9999
9982
readonly source: MessageEventSource;
10000
- initMessageEvent(type: string, bubbles: boolean, cancelable: boolean, data: any, origin: string, lastEventId: string, source: Window): void;
10001
9983
}
10002
9984
10003
9985
declare var MessageEvent: {
@@ -12039,6 +12021,7 @@ interface SVGElementEventMap extends ElementEventMap {
12039
12021
}
12040
12022
12041
12023
interface SVGElement extends Element, ElementCSSInlineStyle {
12024
+ /** @deprecated */
12042
12025
readonly className: any;
12043
12026
onclick: ((this: SVGElement, ev: MouseEvent) => any) | null;
12044
12027
ondblclick: ((this: SVGElement, ev: MouseEvent) => any) | null;
@@ -16091,6 +16074,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
16091
16074
onmspointerup: ((this: Window, ev: Event) => any) | null;
16092
16075
onoffline: ((this: Window, ev: Event) => any) | null;
16093
16076
ononline: ((this: Window, ev: Event) => any) | null;
16077
+ /** @deprecated */
16094
16078
onorientationchange: ((this: Window, ev: Event) => any) | null;
16095
16079
onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;
16096
16080
onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;
@@ -16125,6 +16109,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
16125
16109
onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;
16126
16110
onwaiting: ((this: Window, ev: Event) => any) | null;
16127
16111
opener: any;
16112
+ /** @deprecated */
16128
16113
readonly orientation: string | number;
16129
16114
readonly outerHeight: number;
16130
16115
readonly outerWidth: number;
@@ -16780,7 +16765,6 @@ interface HTMLElementTagNameMap {
16780
16765
"legend": HTMLLegendElement;
16781
16766
"li": HTMLLIElement;
16782
16767
"link": HTMLLinkElement;
16783
- "listing": HTMLPreElement;
16784
16768
"map": HTMLMapElement;
16785
16769
"mark": HTMLElement;
16786
16770
"marquee": HTMLMarqueeElement;
@@ -16838,6 +16822,10 @@ interface HTMLElementTagNameMap {
16838
16822
"var": HTMLElement;
16839
16823
"video": HTMLVideoElement;
16840
16824
"wbr": HTMLElement;
16825
+ }
16826
+
16827
+ interface HTMLElementDeprecatedTagNameMap {
16828
+ "listing": HTMLPreElement;
16841
16829
"xmp": HTMLPreElement;
16842
16830
}
16843
16831
@@ -17003,6 +16991,7 @@ declare var onmspointerover: ((this: Window, ev: Event) => any) | null;
17003
16991
declare var onmspointerup: ((this: Window, ev: Event) => any) | null;
17004
16992
declare var onoffline: ((this: Window, ev: Event) => any) | null;
17005
16993
declare var ononline: ((this: Window, ev: Event) => any) | null;
16994
+ /** @deprecated */
17006
16995
declare var onorientationchange: ((this: Window, ev: Event) => any) | null;
17007
16996
declare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;
17008
16997
declare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;
@@ -17037,6 +17026,7 @@ declare var onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) |
17037
17026
declare var onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;
17038
17027
declare var onwaiting: ((this: Window, ev: Event) => any) | null;
17039
17028
declare var opener: any;
17029
+ /** @deprecated */
17040
17030
declare var orientation: string | number;
17041
17031
declare var outerHeight: number;
17042
17032
declare var outerWidth: number;
0 commit comments