@@ -2700,6 +2700,15 @@ declare var CSSFontFaceRule: {
27002700 new(): CSSFontFaceRule;
27012701};
27022702
2703+ interface CSSFontFeatureValuesRule extends CSSRule {
2704+ fontFamily: string;
2705+ }
2706+
2707+ declare var CSSFontFeatureValuesRule: {
2708+ prototype: CSSFontFeatureValuesRule;
2709+ new(): CSSFontFeatureValuesRule;
2710+ };
2711+
27032712interface CSSFontPaletteValuesRule extends CSSRule {
27042713 readonly basePalette: string;
27052714 readonly fontFamily: string;
@@ -4439,7 +4448,7 @@ declare var DeviceOrientationEvent: {
44394448 new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
44404449};
44414450
4442- interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
4451+ interface DocumentEventMap extends GlobalEventHandlersEventMap {
44434452 "DOMContentLoaded": Event;
44444453 "fullscreenchange": Event;
44454454 "fullscreenerror": Event;
@@ -4450,7 +4459,7 @@ interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, Glob
44504459}
44514460
44524461/** 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 {
44544463 /** Sets or gets the URL for the current document. */
44554464 readonly URL: string;
44564465 /**
@@ -4856,22 +4865,6 @@ declare var Document: {
48564865 new(): Document;
48574866};
48584867
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-
48754868/** 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. */
48764869interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
48774870 readonly ownerDocument: Document;
@@ -5753,7 +5746,9 @@ interface GlobalEventHandlersEventMap {
57535746 "compositionstart": CompositionEvent;
57545747 "compositionupdate": CompositionEvent;
57555748 "contextmenu": MouseEvent;
5749+ "copy": Event;
57565750 "cuechange": Event;
5751+ "cut": Event;
57575752 "dblclick": MouseEvent;
57585753 "drag": DragEvent;
57595754 "dragend": DragEvent;
@@ -5788,6 +5783,7 @@ interface GlobalEventHandlersEventMap {
57885783 "mouseout": MouseEvent;
57895784 "mouseover": MouseEvent;
57905785 "mouseup": MouseEvent;
5786+ "paste": Event;
57915787 "pause": Event;
57925788 "play": Event;
57935789 "playing": Event;
@@ -5873,7 +5869,9 @@ interface GlobalEventHandlers {
58735869 * @param ev The mouse event.
58745870 */
58755871 oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
5872+ oncopy: ((this: GlobalEventHandlers, ev: Event) => any) | null;
58765873 oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5874+ oncut: ((this: GlobalEventHandlers, ev: Event) => any) | null;
58775875 /**
58785876 * Fires when the user double-clicks the object.
58795877 * @param ev The mouse event.
@@ -6003,6 +6001,7 @@ interface GlobalEventHandlers {
60036001 * @param ev The mouse event.
60046002 */
60056003 onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
6004+ onpaste: ((this: GlobalEventHandlers, ev: Event) => any) | null;
60066005 /**
60076006 * Occurs when playback is paused.
60086007 * @param ev The event.
@@ -6529,11 +6528,11 @@ declare var HTMLDocument: {
65296528 new(): HTMLDocument;
65306529};
65316530
6532- interface HTMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
6531+ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
65336532}
65346533
65356534/** 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 {
65376536 accessKey: string;
65386537 readonly accessKeyLabel: string;
65396538 autocapitalize: string;
@@ -9433,10 +9432,10 @@ declare var MIDIPort: {
94339432 new(): MIDIPort;
94349433};
94359434
9436- interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
9435+ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
94379436}
94389437
9439- interface MathMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
9438+ interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
94409439 addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
94419440 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
94429441 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: {
1226812267 new(): SVGDescElement;
1226912268};
1227012269
12271- interface SVGElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
12270+ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
1227212271}
1227312272
1227412273/** 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 {
1227612275 /** @deprecated */
1227712276 readonly className: any;
1227812277 readonly ownerSVGElement: SVGSVGElement | null;
@@ -18200,7 +18199,9 @@ declare var onclose: ((this: Window, ev: Event) => any) | null;
1820018199 * @param ev The mouse event.
1820118200 */
1820218201declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
18202+ declare var oncopy: ((this: Window, ev: Event) => any) | null;
1820318203declare var oncuechange: ((this: Window, ev: Event) => any) | null;
18204+ declare var oncut: ((this: Window, ev: Event) => any) | null;
1820418205/**
1820518206 * Fires when the user double-clicks the object.
1820618207 * @param ev The mouse event.
@@ -18330,6 +18331,7 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;
1833018331 * @param ev The mouse event.
1833118332 */
1833218333declare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;
18334+ declare var onpaste: ((this: Window, ev: Event) => any) | null;
1833318335/**
1833418336 * Occurs when playback is paused.
1833518337 * @param ev The event.
0 commit comments