@@ -2700,6 +2700,15 @@ declare var CSSFontFaceRule: {
2700
2700
new(): CSSFontFaceRule;
2701
2701
};
2702
2702
2703
+ interface CSSFontFeatureValuesRule extends CSSRule {
2704
+ fontFamily: string;
2705
+ }
2706
+
2707
+ declare var CSSFontFeatureValuesRule: {
2708
+ prototype: CSSFontFeatureValuesRule;
2709
+ new(): CSSFontFeatureValuesRule;
2710
+ };
2711
+
2703
2712
interface CSSFontPaletteValuesRule extends CSSRule {
2704
2713
readonly basePalette: string;
2705
2714
readonly fontFamily: string;
@@ -4439,7 +4448,7 @@ declare var DeviceOrientationEvent: {
4439
4448
new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
4440
4449
};
4441
4450
4442
- interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
4451
+ interface DocumentEventMap extends GlobalEventHandlersEventMap {
4443
4452
"DOMContentLoaded": Event;
4444
4453
"fullscreenchange": Event;
4445
4454
"fullscreenerror": Event;
@@ -4450,7 +4459,7 @@ interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, Glob
4450
4459
}
4451
4460
4452
4461
/** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */
4453
- interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {
4462
+ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {
4454
4463
/** Sets or gets the URL for the current document. */
4455
4464
readonly URL: string;
4456
4465
/**
@@ -4856,22 +4865,6 @@ declare var Document: {
4856
4865
new(): Document;
4857
4866
};
4858
4867
4859
- interface DocumentAndElementEventHandlersEventMap {
4860
- "copy": ClipboardEvent;
4861
- "cut": ClipboardEvent;
4862
- "paste": ClipboardEvent;
4863
- }
4864
-
4865
- interface DocumentAndElementEventHandlers {
4866
- oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
4867
- oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
4868
- onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
4869
- addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4870
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4871
- removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4872
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4873
- }
4874
-
4875
4868
/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */
4876
4869
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
4877
4870
readonly ownerDocument: Document;
@@ -5753,7 +5746,9 @@ interface GlobalEventHandlersEventMap {
5753
5746
"compositionstart": CompositionEvent;
5754
5747
"compositionupdate": CompositionEvent;
5755
5748
"contextmenu": MouseEvent;
5749
+ "copy": Event;
5756
5750
"cuechange": Event;
5751
+ "cut": Event;
5757
5752
"dblclick": MouseEvent;
5758
5753
"drag": DragEvent;
5759
5754
"dragend": DragEvent;
@@ -5788,6 +5783,7 @@ interface GlobalEventHandlersEventMap {
5788
5783
"mouseout": MouseEvent;
5789
5784
"mouseover": MouseEvent;
5790
5785
"mouseup": MouseEvent;
5786
+ "paste": Event;
5791
5787
"pause": Event;
5792
5788
"play": Event;
5793
5789
"playing": Event;
@@ -5873,7 +5869,9 @@ interface GlobalEventHandlers {
5873
5869
* @param ev The mouse event.
5874
5870
*/
5875
5871
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
5872
+ oncopy: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5876
5873
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5874
+ oncut: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5877
5875
/**
5878
5876
* Fires when the user double-clicks the object.
5879
5877
* @param ev The mouse event.
@@ -6003,6 +6001,7 @@ interface GlobalEventHandlers {
6003
6001
* @param ev The mouse event.
6004
6002
*/
6005
6003
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
6004
+ onpaste: ((this: GlobalEventHandlers, ev: Event) => any) | null;
6006
6005
/**
6007
6006
* Occurs when playback is paused.
6008
6007
* @param ev The event.
@@ -6529,11 +6528,11 @@ declare var HTMLDocument: {
6529
6528
new(): HTMLDocument;
6530
6529
};
6531
6530
6532
- interface HTMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
6531
+ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
6533
6532
}
6534
6533
6535
6534
/** Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. */
6536
- interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
6535
+ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
6537
6536
accessKey: string;
6538
6537
readonly accessKeyLabel: string;
6539
6538
autocapitalize: string;
@@ -9433,10 +9432,10 @@ declare var MIDIPort: {
9433
9432
new(): MIDIPort;
9434
9433
};
9435
9434
9436
- interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
9435
+ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
9437
9436
}
9438
9437
9439
- interface MathMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
9438
+ interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
9440
9439
addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9441
9440
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9442
9441
removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -12268,11 +12267,11 @@ declare var SVGDescElement: {
12268
12267
new(): SVGDescElement;
12269
12268
};
12270
12269
12271
- interface SVGElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
12270
+ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
12272
12271
}
12273
12272
12274
12273
/** All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. */
12275
- interface SVGElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
12274
+ interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
12276
12275
/** @deprecated */
12277
12276
readonly className: any;
12278
12277
readonly ownerSVGElement: SVGSVGElement | null;
@@ -18200,7 +18199,9 @@ declare var onclose: ((this: Window, ev: Event) => any) | null;
18200
18199
* @param ev The mouse event.
18201
18200
*/
18202
18201
declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
18202
+ declare var oncopy: ((this: Window, ev: Event) => any) | null;
18203
18203
declare var oncuechange: ((this: Window, ev: Event) => any) | null;
18204
+ declare var oncut: ((this: Window, ev: Event) => any) | null;
18204
18205
/**
18205
18206
* Fires when the user double-clicks the object.
18206
18207
* @param ev The mouse event.
@@ -18330,6 +18331,7 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;
18330
18331
* @param ev The mouse event.
18331
18332
*/
18332
18333
declare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;
18334
+ declare var onpaste: ((this: Window, ev: Event) => any) | null;
18333
18335
/**
18334
18336
* Occurs when playback is paused.
18335
18337
* @param ev The event.
0 commit comments