@types/web 0.0.296 → 0.0.298

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ts5.6/index.d.ts CHANGED
@@ -947,12 +947,12 @@ interface KeySystemTrackConfiguration {
947
947
  }
948
948
 
949
949
  interface KeyboardEventInit extends EventModifierInit {
950
- /** @deprecated */
950
+ /** @deprecated `charCode` is inconsistent across environments, consider using `key` instead. */
951
951
  charCode?: number;
952
952
  code?: string;
953
953
  isComposing?: boolean;
954
954
  key?: string;
955
- /** @deprecated */
955
+ /** @deprecated `keyCode` is inconsistent across environments, consider using `key` instead. */
956
956
  keyCode?: number;
957
957
  location?: number;
958
958
  repeat?: boolean;
@@ -1257,11 +1257,59 @@ interface MutationObserverInit {
1257
1257
  subtree?: boolean;
1258
1258
  }
1259
1259
 
1260
+ interface NavigateEventInit extends EventInit {
1261
+ canIntercept?: boolean;
1262
+ destination: NavigationDestination;
1263
+ downloadRequest?: string | null;
1264
+ formData?: FormData | null;
1265
+ hasUAVisualTransition?: boolean;
1266
+ hashChange?: boolean;
1267
+ info?: any;
1268
+ navigationType?: NavigationType;
1269
+ signal: AbortSignal;
1270
+ sourceElement?: Element | null;
1271
+ userInitiated?: boolean;
1272
+ }
1273
+
1274
+ interface NavigationCurrentEntryChangeEventInit extends EventInit {
1275
+ from: NavigationHistoryEntry;
1276
+ navigationType?: NavigationType | null;
1277
+ }
1278
+
1279
+ interface NavigationInterceptOptions {
1280
+ focusReset?: NavigationFocusReset;
1281
+ handler?: NavigationInterceptHandler;
1282
+ precommitHandler?: NavigationPrecommitHandler;
1283
+ scroll?: NavigationScrollBehavior;
1284
+ }
1285
+
1286
+ interface NavigationNavigateOptions extends NavigationOptions {
1287
+ history?: NavigationHistoryBehavior;
1288
+ state?: any;
1289
+ }
1290
+
1291
+ interface NavigationOptions {
1292
+ info?: any;
1293
+ }
1294
+
1260
1295
  interface NavigationPreloadState {
1261
1296
  enabled?: boolean;
1262
1297
  headerValue?: string;
1263
1298
  }
1264
1299
 
1300
+ interface NavigationReloadOptions extends NavigationOptions {
1301
+ state?: any;
1302
+ }
1303
+
1304
+ interface NavigationResult {
1305
+ committed?: Promise<NavigationHistoryEntry>;
1306
+ finished?: Promise<NavigationHistoryEntry>;
1307
+ }
1308
+
1309
+ interface NavigationUpdateCurrentEntryOptions {
1310
+ state: any;
1311
+ }
1312
+
1265
1313
  interface NotificationOptions {
1266
1314
  badge?: string;
1267
1315
  body?: string;
@@ -2201,6 +2249,10 @@ interface ShareData {
2201
2249
  url?: string;
2202
2250
  }
2203
2251
 
2252
+ interface ShowPopoverOptions {
2253
+ source?: HTMLElement;
2254
+ }
2255
+
2204
2256
  interface SpeechRecognitionErrorEventInit extends EventInit {
2205
2257
  error: SpeechRecognitionErrorCode;
2206
2258
  message?: string;
@@ -2316,6 +2368,10 @@ interface ToggleEventInit extends EventInit {
2316
2368
  source?: Element | null;
2317
2369
  }
2318
2370
 
2371
+ interface TogglePopoverOptions extends ShowPopoverOptions {
2372
+ force?: boolean;
2373
+ }
2374
+
2319
2375
  interface TouchEventInit extends EventModifierInit {
2320
2376
  changedTouches?: Touch[];
2321
2377
  targetTouches?: Touch[];
@@ -2610,8 +2666,8 @@ interface WebTransportErrorOptions {
2610
2666
  }
2611
2667
 
2612
2668
  interface WebTransportHash {
2613
- algorithm?: string;
2614
- value?: BufferSource;
2669
+ algorithm: string;
2670
+ value: BufferSource;
2615
2671
  }
2616
2672
 
2617
2673
  interface WebTransportOptions {
@@ -4829,7 +4885,7 @@ declare var CSSCounterStyleRule: {
4829
4885
  */
4830
4886
  interface CSSFontFaceRule extends CSSRule {
4831
4887
  /**
4832
- * The read-only **`style`** property of the CSSFontFaceRule interface returns the style information from the @font-face at-rule. This will be in the form of a CSSStyleDeclaration object.
4888
+ * The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
4833
4889
  *
4834
4890
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
4835
4891
  */
@@ -4961,7 +5017,7 @@ interface CSSImportRule extends CSSRule {
4961
5017
  */
4962
5018
  readonly layerName: string | null;
4963
5019
  /**
4964
- * The read-only **`media`** property of the CSSImportRule interface returns a MediaList object, containing the value of the media attribute of the associated stylesheet.
5020
+ * The read-only **`media`** property of the CSSImportRule interface returns a MediaList object representing the media query list of the @import rule.
4965
5021
  *
4966
5022
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)
4967
5023
  */
@@ -4999,7 +5055,7 @@ interface CSSKeyframeRule extends CSSRule {
4999
5055
  */
5000
5056
  keyText: string;
5001
5057
  /**
5002
- * The read-only **`CSSKeyframeRule.style`** property is the CSSStyleDeclaration interface for the declaration block of the CSSKeyframeRule.
5058
+ * The read-only **`style`** property of the CSSKeyframeRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @keyframes rule's body.
5003
5059
  *
5004
5060
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
5005
5061
  */
@@ -5289,7 +5345,7 @@ declare var CSSMatrixComponent: {
5289
5345
  */
5290
5346
  interface CSSMediaRule extends CSSConditionRule {
5291
5347
  /**
5292
- * The read-only **`media`** property of the CSSMediaRule interface returns a MediaList representing the intended destination medium for style information.
5348
+ * The read-only **`media`** property of the CSSMediaRule interface contains a MediaList object representing the media query list of the @media rule.
5293
5349
  *
5294
5350
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)
5295
5351
  */
@@ -5493,7 +5549,7 @@ interface CSSPageRule extends CSSGroupingRule {
5493
5549
  */
5494
5550
  selectorText: string;
5495
5551
  /**
5496
- * The **`style`** read-only property of the CSSPageRule interface returns a CSSPageDescriptors object. This represents a CSS declaration block for a CSS @page at-rule, and exposes style information and various style-related methods and properties for the page.
5552
+ * The read-only **`style`** property of the CSSPageRule interface contains a CSSPageDescriptors object representing the descriptors available in the @page rule's body.
5497
5553
  *
5498
5554
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
5499
5555
  */
@@ -5691,7 +5747,7 @@ interface CSSPositionTryRule extends CSSRule {
5691
5747
  */
5692
5748
  readonly name: string;
5693
5749
  /**
5694
- * The **`style`** read-only property of the CSSPositionTryRule interface returns a CSSPositionTryDescriptors object representing the declarations set in the body of the @position-try at-rule.
5750
+ * The read-only **`style`** property of the CSSPositionTryRule interface contains a CSSPositionTryDescriptors object representing the descriptors available in the @position-try rule's body.
5695
5751
  *
5696
5752
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
5697
5753
  */
@@ -6186,7 +6242,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6186
6242
  */
6187
6243
  animationRangeStart: string;
6188
6244
  /**
6189
- * The animation-timeline CSS property specifies the timeline that is used to control the progress of a CSS animation.
6245
+ * The animation-timeline CSS property specifies the timeline used to control the progress of a CSS animation.
6190
6246
  *
6191
6247
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-timeline)
6192
6248
  */
@@ -6974,6 +7030,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6974
7030
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/empty-cells)
6975
7031
  */
6976
7032
  emptyCells: string;
7033
+ /**
7034
+ * The field-sizing CSS property enables you to control the sizing behavior of elements that are given a default preferred size, such as form control elements. This property enables you to override the default sizing behavior, allowing form controls to adjust in size to fit their contents.
7035
+ *
7036
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/field-sizing)
7037
+ */
7038
+ fieldSizing: string;
6977
7039
  /**
6978
7040
  * The **`fill`** CSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's fill attribute.
6979
7041
  *
@@ -7631,6 +7693,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7631
7693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-depth)
7632
7694
  */
7633
7695
  mathDepth: string;
7696
+ /**
7697
+ * The math-shift property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.
7698
+ *
7699
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-shift)
7700
+ */
7701
+ mathShift: string;
7634
7702
  /**
7635
7703
  * The math-style property indicates whether MathML equations should render with normal or compact height.
7636
7704
  *
@@ -8036,6 +8104,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8036
8104
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-try-order)
8037
8105
  */
8038
8106
  positionTryOrder: string;
8107
+ /**
8108
+ * The position-visibility CSS property enables conditionally hiding an anchor-positioned element depending on, for example, whether it is overflowing its containing element or the viewport.
8109
+ *
8110
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-visibility)
8111
+ */
8112
+ positionVisibility: string;
8039
8113
  /**
8040
8114
  * The print-color-adjust CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device.
8041
8115
  *
@@ -8265,13 +8339,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8265
8339
  */
8266
8340
  scrollSnapType: string;
8267
8341
  /**
8268
- * The scroll-timeline CSS shorthand property is used to define a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right). scroll-timeline is set on the scroller that will provide the timeline. The starting scroll position represents 0% progress and the ending scroll position represents 100% progress. If the 0% position and 100% position coincide (i.e., the scroll container has no overflow to scroll), the timeline is inactive.
8342
+ * The scroll-timeline CSS shorthand property is used to define a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right).
8269
8343
  *
8270
8344
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline)
8271
8345
  */
8272
8346
  scrollTimeline: string;
8273
8347
  /**
8274
- * The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a named scroll progress timeline animation, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right). scroll-timeline is set on the scroller that will provide the timeline. See CSS scroll-driven animations for more details.
8348
+ * The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation animation, which is progressed through by scrolling a scrollable element (scroller).
8275
8349
  *
8276
8350
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
8277
8351
  */
@@ -8679,7 +8753,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8679
8753
  */
8680
8754
  verticalAlign: string;
8681
8755
  /**
8682
- * The view-timeline CSS shorthand property is used to define a named view progress timeline, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline is set on the subject.
8756
+ * The view-timeline CSS shorthand property defines a named view progress timeline's name, direction, and inset values.
8683
8757
  *
8684
8758
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline)
8685
8759
  */
@@ -9181,7 +9255,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
9181
9255
  */
9182
9256
  wordSpacing: string;
9183
9257
  /**
9184
- * @deprecated
9258
+ * @deprecated `word-wrap` is a legacy alias of `overflow-wrap`.
9185
9259
  *
9186
9260
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-wrap)
9187
9261
  */
@@ -9236,7 +9310,7 @@ interface CSSStyleRule extends CSSGroupingRule {
9236
9310
  */
9237
9311
  selectorText: string;
9238
9312
  /**
9239
- * The read-only **`style`** property is a CSSStyleProperties object that represents the inline styles of a style rule (CSSStyleRule).
9313
+ * The read-only **`style`** property of the CSSStyleRule interface contains a CSSStyleProperties object representing the properties list in this style rule's body.
9240
9314
  *
9241
9315
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
9242
9316
  */
@@ -10292,14 +10366,14 @@ declare var CompositionEvent: {
10292
10366
  };
10293
10367
 
10294
10368
  /**
10295
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
10369
+ * The **`CompressionStream`** interface of the Compression Streams API compresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
10296
10370
  *
10297
10371
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
10298
10372
  */
10299
10373
  interface CompressionStream extends GenericTransformStream {
10300
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
10374
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
10301
10375
  readonly readable: ReadableStream<Uint8Array>;
10302
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
10376
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream that accepts uncompressed data to be compressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
10303
10377
  readonly writable: WritableStream<BufferSource>;
10304
10378
  }
10305
10379
 
@@ -11775,14 +11849,14 @@ declare var DataTransferItemList: {
11775
11849
  };
11776
11850
 
11777
11851
  /**
11778
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
11852
+ * The **`DecompressionStream`** interface of the Compression Streams API decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
11779
11853
  *
11780
11854
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
11781
11855
  */
11782
11856
  interface DecompressionStream extends GenericTransformStream {
11783
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
11857
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
11784
11858
  readonly readable: ReadableStream<Uint8Array>;
11785
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
11859
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
11786
11860
  readonly writable: WritableStream<BufferSource>;
11787
11861
  }
11788
11862
 
@@ -11975,6 +12049,12 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
11975
12049
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/URL)
11976
12050
  */
11977
12051
  readonly URL: string;
12052
+ /**
12053
+ * The **`activeViewTransition`** read-only property of the Document interface returns a ViewTransition instance representing the view transition currently active on the document.
12054
+ *
12055
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeViewTransition)
12056
+ */
12057
+ readonly activeViewTransition: ViewTransition | null;
11978
12058
  /**
11979
12059
  * Returns or sets the color of an active link in the document body. A link is active during the time between mousedown and mouseup events.
11980
12060
  * @deprecated
@@ -12183,7 +12263,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12183
12263
  */
12184
12264
  readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;
12185
12265
  /**
12186
- * The **`Document.location`** read-only property returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
12266
+ * The read-only **`location`** property of the Document interface returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
12187
12267
  *
12188
12268
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
12189
12269
  */
@@ -12394,6 +12474,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12394
12474
  createEvent(eventInterface: "MessageEvent"): MessageEvent;
12395
12475
  createEvent(eventInterface: "MouseEvent"): MouseEvent;
12396
12476
  createEvent(eventInterface: "MouseEvents"): MouseEvent;
12477
+ createEvent(eventInterface: "NavigateEvent"): NavigateEvent;
12478
+ createEvent(eventInterface: "NavigationCurrentEntryChangeEvent"): NavigationCurrentEntryChangeEvent;
12397
12479
  createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
12398
12480
  createEvent(eventInterface: "PageRevealEvent"): PageRevealEvent;
12399
12481
  createEvent(eventInterface: "PageSwapEvent"): PageSwapEvent;
@@ -12537,7 +12619,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12537
12619
  */
12538
12620
  hasStorageAccess(): Promise<boolean>;
12539
12621
  /**
12540
- * The Document object's **`importNode()`** method creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
12622
+ * The **`importNode()`** method of the Document interface creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
12541
12623
  *
12542
12624
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)
12543
12625
  */
@@ -12920,7 +13002,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
12920
13002
  */
12921
13003
  readonly attributes: NamedNodeMap;
12922
13004
  /**
12923
- * The **`Element.classList`** is a read-only property that returns a live DOMTokenList collection of the class attributes of the element. This can then be used to manipulate the class list.
13005
+ * The read-only **`classList`** property of the Element interface contains a live DOMTokenList collection representing the class attribute of the element. This can then be used to manipulate the class list.
12924
13006
  *
12925
13007
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
12926
13008
  */
@@ -12998,7 +13080,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
12998
13080
  outerHTML: string;
12999
13081
  readonly ownerDocument: Document;
13000
13082
  /**
13001
- * The **`part`** property of the Element interface represents the part identifier(s) of the element (i.e., set using the part attribute), returned as a DOMTokenList. These can be used to style parts of a shadow DOM, via the ::part pseudo-element.
13083
+ * The read-only **`part`** property of the Element interface contains a DOMTokenList object representing the part identifier(s) of the element. It reflects the element's part content attribute. These can be used to style parts of a shadow DOM, via the ::part pseudo-element.
13002
13084
  *
13003
13085
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part)
13004
13086
  */
@@ -15295,7 +15377,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
15295
15377
  */
15296
15378
  rel: string;
15297
15379
  /**
15298
- * The **`HTMLAnchorElement.relList`** read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <a> element and the current document.
15380
+ * The read-only **`relList`** property of the HTMLAnchorElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <a> element and the current document. It reflects the <a> element's rel content attribute.
15299
15381
  *
15300
15382
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList)
15301
15383
  */
@@ -15379,7 +15461,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
15379
15461
  */
15380
15462
  rel: string;
15381
15463
  /**
15382
- * The **`HTMLAreaElement.relList`** read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <area> element and the current document.
15464
+ * The read-only **`relList`** property of the HTMLAreaElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <area> element and the current document. It reflects the <area> element's rel content attribute.
15383
15465
  *
15384
15466
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList)
15385
15467
  */
@@ -16104,13 +16186,13 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
16104
16186
  *
16105
16187
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover)
16106
16188
  */
16107
- showPopover(): void;
16189
+ showPopover(options?: ShowPopoverOptions): void;
16108
16190
  /**
16109
16191
  * The **`togglePopover()`** method of the HTMLElement interface toggles a popover element (i.e., one that has a valid popover attribute) between the hidden and showing states.
16110
16192
  *
16111
16193
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
16112
16194
  */
16113
- togglePopover(options?: boolean): boolean;
16195
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
16114
16196
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
16115
16197
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
16116
16198
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -16388,7 +16470,7 @@ interface HTMLFormElement extends HTMLElement {
16388
16470
  */
16389
16471
  rel: string;
16390
16472
  /**
16391
- * The **`relList`** read-only property of the HTMLFormElement interface reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <form> element and the current document.
16473
+ * The read-only **`relList`** property of the HTMLFormElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <form> element and the current document. It reflects the <form> element's rel content attribute.
16392
16474
  *
16393
16475
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList)
16394
16476
  */
@@ -16745,7 +16827,7 @@ interface HTMLIFrameElement extends HTMLElement {
16745
16827
  */
16746
16828
  referrerPolicy: ReferrerPolicy;
16747
16829
  /**
16748
- * The **`sandbox`** read-only property of the HTMLIFrameElement interface returns a DOMTokenList indicating extra restrictions on the behavior of the nested content.
16830
+ * The read-only **`sandbox`** property of the HTMLIFrameElement returns a live DOMTokenList object indicating extra restrictions on the behavior of the nested content. It reflects the <iframe> element's sandbox content attribute.
16749
16831
  *
16750
16832
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox)
16751
16833
  */
@@ -16795,82 +16877,82 @@ declare var HTMLIFrameElement: {
16795
16877
  */
16796
16878
  interface HTMLImageElement extends HTMLElement {
16797
16879
  /**
16798
- * The obsolete **`align`** property of the HTMLImageElement interface is a string which indicates how to position the image relative to its container.
16880
+ * The deprecated **`align`** property of the HTMLImageElement interface is a string which indicates how to position the image relative to its container. It reflects the <img> element's align content attribute.
16799
16881
  * @deprecated
16800
16882
  *
16801
16883
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/align)
16802
16884
  */
16803
16885
  align: string;
16804
16886
  /**
16805
- * The HTMLImageElement property **`alt`** provides fallback (alternate) text to display when the image specified by the <img> element is not loaded.
16887
+ * The **`alt`** property of the HTMLImageElement interface provides fallback (alternate) text to display when the image specified by the <img> element is not displayed, whether because of an error, because the user has disabled the loading of images, or because the image hasn't finished loading yet. It reflects the <img> element's alt content attribute.
16806
16888
  *
16807
16889
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt)
16808
16890
  */
16809
16891
  alt: string;
16810
16892
  /**
16811
- * The obsolete HTMLImageElement property **`border`** specifies the number of pixels thick the border surrounding the image should be. A value of 0, the default, indicates that no border should be drawn.
16893
+ * The deprecated **`border`** property of the HTMLImageElement interface specifies the number of pixels thick the border surrounding the image should be. A value of 0, the default, indicates that no border should be drawn. It reflects the <img> element's border content attribute.
16812
16894
  * @deprecated
16813
16895
  *
16814
16896
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/border)
16815
16897
  */
16816
16898
  border: string;
16817
16899
  /**
16818
- * The read-only HTMLImageElement interface's **`complete`** attribute is a Boolean value which indicates whether or not the image has completely loaded.
16900
+ * The **`complete`** read-only property of the HTMLImageElement interface is a Boolean value indicating whether or not the image has completely loaded.
16819
16901
  *
16820
16902
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/complete)
16821
16903
  */
16822
16904
  readonly complete: boolean;
16823
16905
  /**
16824
- * The HTMLImageElement interface's **`crossOrigin`** attribute is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image.
16906
+ * The **`crossOrigin`** property of the HTMLImageElement interface is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image. It reflects the <img> element's crossorigin content attribute.
16825
16907
  *
16826
16908
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin)
16827
16909
  */
16828
16910
  crossOrigin: string | null;
16829
16911
  /**
16830
- * The read-only HTMLImageElement property **`currentSrc`** indicates the URL of the image which is currently presented in the <img> element it represents.
16912
+ * The **`currentSrc`** read-only property of the HTMLImageElement interface indicates the URL of the image selected by the browser to load.
16831
16913
  *
16832
16914
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/currentSrc)
16833
16915
  */
16834
16916
  readonly currentSrc: string;
16835
16917
  /**
16836
- * The **`decoding`** property of the HTMLImageElement interface provides a hint to the browser as to how it should decode the image. More specifically, whether it should wait for the image to be decoded before presenting other content updates or not.
16918
+ * The **`decoding`** property of the HTMLImageElement interface provides a hint to the browser as to how it should decode the image. More specifically, whether it should wait for the image to be decoded before presenting other content updates or not. It reflects the <img> element's decoding content attribute.
16837
16919
  *
16838
16920
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding)
16839
16921
  */
16840
16922
  decoding: "async" | "sync" | "auto";
16841
16923
  /**
16842
- * The **`fetchPriority`** property of the HTMLImageElement interface represents a hint to the browser indicating how it should prioritize fetching a particular image relative to other images. It reflects the fetchpriority attribute of the corresponding <img> element.
16924
+ * The **`fetchPriority`** property of the HTMLImageElement interface represents a hint to the browser indicating how it should prioritize fetching a particular image relative to other images. It reflects the <img> element's fetchpriority content attribute.
16843
16925
  *
16844
16926
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority)
16845
16927
  */
16846
16928
  fetchPriority: "high" | "low" | "auto";
16847
16929
  /**
16848
- * The **`height`** property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels if the image is being drawn or rendered to any visual medium such as the screen or a printer; otherwise, it's the natural, pixel density corrected height of the image.
16930
+ * The **`height`** property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels, if the image is being drawn or rendered to any visual medium such as a screen or printer. Otherwise, it's the natural, pixel density-corrected height of the image.
16849
16931
  *
16850
16932
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
16851
16933
  */
16852
16934
  height: number;
16853
16935
  /**
16854
- * The obsolete **`hspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the left and right sides of the <img> element when laying out the page.
16936
+ * The deprecated **`hspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the left and right sides of the <img> element when laying out the page. It reflects the <img> element's hspace content attribute.
16855
16937
  * @deprecated
16856
16938
  *
16857
16939
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/hspace)
16858
16940
  */
16859
16941
  hspace: number;
16860
16942
  /**
16861
- * The HTMLImageElement property **`isMap`** is a Boolean value which indicates that the image is to be used by a server-side image map. This may only be used on images located within an <a> element.
16943
+ * The **`isMap`** property of the HTMLImageElement interface indicates that the image is part of a server-side map. If so, the coordinates where the user clicked on the image are sent to the server. It reflects the <img> element's ismap content attribute. This attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute.
16862
16944
  *
16863
16945
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap)
16864
16946
  */
16865
16947
  isMap: boolean;
16866
16948
  /**
16867
- * The HTMLImageElement property **`loading`** is a string whose value provides a hint to the user agent on how to handle the loading of the image which is currently outside the window's visual viewport.
16949
+ * The **`loading`** property of the HTMLImageElement interface provides a hint to the user agent on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
16868
16950
  *
16869
16951
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
16870
16952
  */
16871
16953
  loading: "eager" | "lazy";
16872
16954
  /**
16873
- * The deprecated property **`longDesc`** on the HTMLImageElement interface specifies the URL of a text or HTML file which contains a long-form description of the image. This can be used to provide optional added details beyond the short description provided in the title attribute.
16955
+ * The deprecated **`longDesc`** property of the HTMLImageElement interface specifies the URL of a text or HTML file which contains a long-form description of the image. This can be used to provide optional added details beyond the short description provided in the title attribute. It reflects the <img> element's longdesc content attribute.
16874
16956
  * @deprecated
16875
16957
  *
16876
16958
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc)
@@ -16879,81 +16961,81 @@ interface HTMLImageElement extends HTMLElement {
16879
16961
  /** @deprecated */
16880
16962
  lowsrc: string;
16881
16963
  /**
16882
- * The HTMLImageElement interface's deprecated **`name`** property specifies a name for the element. This has been replaced by the id property available on all elements.
16964
+ * The deprecated **`name`** property of the HTMLImageElement interface specifies a name for the element. It reflects the <img> element's name content attribute. It has been replaced by the id property available on all elements, and is kept only for compatibility reasons.
16883
16965
  * @deprecated
16884
16966
  *
16885
16967
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/name)
16886
16968
  */
16887
16969
  name: string;
16888
16970
  /**
16889
- * The HTMLImageElement interface's **`naturalHeight`** property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in CSS pixels.
16971
+ * The read-only **`naturalHeight`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected height of the image in CSS pixels.
16890
16972
  *
16891
16973
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)
16892
16974
  */
16893
16975
  readonly naturalHeight: number;
16894
16976
  /**
16895
- * The HTMLImageElement interface's read-only **`naturalWidth`** property returns the intrinsic (natural), density-corrected width of the image in CSS pixels.
16977
+ * The read-only **`naturalWidth`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected width of the image in CSS pixels.
16896
16978
  *
16897
16979
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalWidth)
16898
16980
  */
16899
16981
  readonly naturalWidth: number;
16900
16982
  /**
16901
- * The **`HTMLImageElement.referrerPolicy`** property reflects the HTML referrerpolicy attribute of the <img> element defining which referrer is sent when fetching the resource.
16983
+ * The **`referrerPolicy`** property of the HTMLImageElement interface defining which referrer is sent when fetching the resource. It reflects the <img> element's referrerpolicy content attribute.
16902
16984
  *
16903
16985
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)
16904
16986
  */
16905
16987
  referrerPolicy: string;
16906
16988
  /**
16907
- * The HTMLImageElement property **`sizes`** allows you to specify the layout width of the image for each of a list of media conditions. This provides the ability to automatically select among different images—even images of different orientations or aspect ratios—as the document state changes to match different media conditions.
16989
+ * The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries. This provides the ability to automatically select among different images—even images of different orientations or aspect ratios—as the document state changes to match different media conditions. It reflects the <img> element's sizes content attribute.
16908
16990
  *
16909
16991
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
16910
16992
  */
16911
16993
  sizes: string;
16912
16994
  /**
16913
- * The HTMLImageElement property **`src`**, which reflects the HTML src attribute, specifies the image to display in the <img> element.
16995
+ * The **`src`** property of the HTMLImageElement interface specifies the image to display in the <img> element. It reflects the <img> element's src content attribute.
16914
16996
  *
16915
16997
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src)
16916
16998
  */
16917
16999
  src: string;
16918
17000
  /**
16919
- * The HTMLImageElement property **`srcset`** is a string which identifies one or more image candidate strings, separated using commas (,) each specifying image resources to use under given circumstances.
17001
+ * The **`srcset`** property of the HTMLImageElement interface identifies one or more image candidate strings, separated using commas (,), each specifying image resources to use under given circumstances. Each image candidate string contains an image URL and an optional width or pixel density descriptor that indicates the conditions under which that candidate should be used instead of the image specified by the src property. It reflects the <img> element's srcset content attribute.
16920
17002
  *
16921
17003
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset)
16922
17004
  */
16923
17005
  srcset: string;
16924
17006
  /**
16925
- * The **`useMap`** property on the HTMLImageElement interface reflects the value of the HTML usemap attribute, which is a string providing the name of the client-side image map to apply to the image.
17007
+ * The **`useMap`** property of the HTMLImageElement interface providing the name of the client-side image map to apply to the image. It reflects the <img> element's usemap content attribute.
16926
17008
  *
16927
17009
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
16928
17010
  */
16929
17011
  useMap: string;
16930
17012
  /**
16931
- * The obsolete **`vspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the top and bottom of the <img> element when laying out the page.
17013
+ * The deprecated **`vspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the top and bottom sides of the <img> element when laying out the page. It reflects the <img> element's vspace content attribute.
16932
17014
  * @deprecated
16933
17015
  *
16934
17016
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/vspace)
16935
17017
  */
16936
17018
  vspace: number;
16937
17019
  /**
16938
- * The **`width`** property of the HTMLImageElement interface indicates the width at which an image is drawn in CSS pixels if it's being drawn or rendered to any visual medium such as a screen or printer. Otherwise, it's the natural, pixel density-corrected width of the image.
17020
+ * The **`width`** property of the HTMLImageElement interface indicates the width at which the image is drawn, in CSS pixels, if the image is being drawn or rendered to any visual medium such as a screen or printer. Otherwise, it's the natural, pixel density-corrected width of the image.
16939
17021
  *
16940
17022
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
16941
17023
  */
16942
17024
  width: number;
16943
17025
  /**
16944
- * The read-only HTMLImageElement property **`x`** indicates the x-coordinate of the <img> element's left border edge relative to the root element's origin.
17026
+ * The read-only **`x`** property of the HTMLImageElement interface indicates the x-coordinate of the <img> element's left border edge relative to the root element's origin.
16945
17027
  *
16946
17028
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)
16947
17029
  */
16948
17030
  readonly x: number;
16949
17031
  /**
16950
- * The read-onl**`y`** HTMLImageElement property y indicates the y-coordinate of the <img> element's top border edge relative to the root element's origin.
17032
+ * The read-onl**`y`** y property of the HTMLImageElement interface indicates the y-coordinate of the <img> element's top border edge relative to the root element's origin.
16951
17033
  *
16952
17034
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)
16953
17035
  */
16954
17036
  readonly y: number;
16955
17037
  /**
16956
- * The **`decode()`** method of the HTMLImageElement interface returns a Promise that resolves once the image is decoded and it is safe to append it to the DOM.
17038
+ * The **`decode()`** method of the HTMLImageElement interface returns a Promise that resolves once the image is decoded and is safe to be appended to the DOM.
16957
17039
  *
16958
17040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)
16959
17041
  */
@@ -17419,7 +17501,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17419
17501
  */
17420
17502
  as: string;
17421
17503
  /**
17422
- * The **`blocking`** property of the HTMLLinkElement interface is a string indicating that certain operations should be blocked on the fetching of an external resource.
17504
+ * The read-only **`blocking`** property of the HTMLLinkElement returns a live DOMTokenList object containing the operations that should be blocked on the fetching of an external resource. It reflects the <link> element's blocking content attribute.
17423
17505
  *
17424
17506
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking)
17425
17507
  */
@@ -17440,7 +17522,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17440
17522
  */
17441
17523
  disabled: boolean;
17442
17524
  /**
17443
- * The **`fetchPriority`** property of the HTMLLinkElement interface represents a hint to the browser indicating how it should prioritize fetching a particular resource relative to other resources of the same type. It reflects the fetchpriority attribute of the corresponding <link> element.
17525
+ * The **`fetchPriority`** property of the HTMLLinkElement interface represents a hint to the browser indicating how it should prioritize fetching a particular resource relative to other resources of the same type. It reflects the <link> element's fetchpriority content attribute.
17444
17526
  *
17445
17527
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority)
17446
17528
  */
@@ -17494,7 +17576,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17494
17576
  */
17495
17577
  rel: string;
17496
17578
  /**
17497
- * The **`relList`** read-only property of the HTMLLinkElement interface reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <link> element and the current document.
17579
+ * The read-only **`relList`** property of the HTMLLinkElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <link> element and the current document. It reflects the <link> element's rel content attribute.
17498
17580
  *
17499
17581
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList)
17500
17582
  */
@@ -17503,7 +17585,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17503
17585
  /** @deprecated */
17504
17586
  rev: string;
17505
17587
  /**
17506
- * The **`sizes`** read-only property of the HTMLLinkElement interfaces defines the sizes of the icons for visual media contained in the resource. It reflects the <link> element's sizes attribute, which takes a list of space-separated sizes, each in the format <width in pixels>x<height in pixels>, or the keyword any.
17588
+ * The read-only **`sizes`** property of the HTMLLinkElement interface defines the sizes of the icons for visual media contained in the resource. It reflects the <link> element's sizes attribute, which takes a list of space-separated sizes, each in the format <width in pixels>x<height in pixels>, or the keyword any.
17507
17589
  *
17508
17590
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes)
17509
17591
  */
@@ -18379,7 +18461,7 @@ interface HTMLOutputElement extends HTMLElement {
18379
18461
  */
18380
18462
  readonly form: HTMLFormElement | null;
18381
18463
  /**
18382
- * The **`htmlFor`** property of the HTMLOutputElement interface is a string containing a space-separated list of other elements' ids, indicating that those elements contributed input values to (or otherwise affected) the calculation. It reflects the for attribute of the <output> element.
18464
+ * The read-only **`htmlFor`** property of the HTMLOutputElement returns a live DOMTokenList object containing a list of ids of those elements contributing input values to (or otherwise affected) the calculation. It reflects the <output> element's for content attribute.
18383
18465
  *
18384
18466
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor)
18385
18467
  */
@@ -18615,7 +18697,7 @@ interface HTMLScriptElement extends HTMLElement {
18615
18697
  */
18616
18698
  async: boolean;
18617
18699
  /**
18618
- * The **`blocking`** property of the HTMLScriptElement interface is a string indicating that certain operations should be blocked on the fetching of the script.
18700
+ * The read-only **`blocking`** property of the HTMLScriptElement returns a live DOMTokenList object containing the operations that should be blocked on the fetching of an external resource. It reflects the <script> element's blocking content attribute.
18619
18701
  *
18620
18702
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking)
18621
18703
  */
@@ -18638,7 +18720,7 @@ interface HTMLScriptElement extends HTMLElement {
18638
18720
  /** @deprecated */
18639
18721
  event: string;
18640
18722
  /**
18641
- * The **`fetchPriority`** property of the HTMLScriptElement interface represents a hint to the browser indicating how it should prioritize fetching an external script relative to other external scripts. It reflects the fetchpriority attribute of the <script> element.
18723
+ * The **`fetchPriority`** property of the HTMLScriptElement interface represents a hint to the browser indicating how it should prioritize fetching an external script relative to other external scripts. It reflects the <script> element's fetchpriority content attribute.
18642
18724
  *
18643
18725
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority)
18644
18726
  */
@@ -18991,7 +19073,7 @@ declare var HTMLSpanElement: {
18991
19073
  */
18992
19074
  interface HTMLStyleElement extends HTMLElement, LinkStyle {
18993
19075
  /**
18994
- * The **`blocking`** property of the HTMLStyleElement interface is a string indicating that certain operations should be blocked on the fetching of critical subresources.
19076
+ * The read-only **`blocking`** property of the HTMLStyleElement returns a live DOMTokenList object containing the operations that should be blocked on the fetching of an external resource. It reflects the <style> element's blocking content attribute.
18995
19077
  *
18996
19078
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking)
18997
19079
  */
@@ -19537,7 +19619,7 @@ declare var HTMLTableSectionElement: {
19537
19619
  */
19538
19620
  interface HTMLTemplateElement extends HTMLElement {
19539
19621
  /**
19540
- * The **`HTMLTemplateElement.content`** property returns a <template> element's template contents (a DocumentFragment).
19622
+ * The **`content`** property of the HTMLTemplateElement interface returns the <template> element's template contents as a DocumentFragment. This content's ownerDocument is a separate Document from the one that contains the <template> element itself — unless the containing document is itself constructed for the purpose of holding template content.
19541
19623
  *
19542
19624
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
19543
19625
  */
@@ -21530,7 +21612,7 @@ declare var KeyframeEffect: {
21530
21612
  *
21531
21613
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint)
21532
21614
  */
21533
- interface LargestContentfulPaint extends PerformanceEntry {
21615
+ interface LargestContentfulPaint extends PerformanceEntry, PaintTimingMixin {
21534
21616
  /**
21535
21617
  * The **`element`** read-only property of the LargestContentfulPaint interface returns an object representing the Element that is the largest contentful paint.
21536
21618
  *
@@ -23545,6 +23627,182 @@ declare var NamedNodeMap: {
23545
23627
  new(): NamedNodeMap;
23546
23628
  };
23547
23629
 
23630
+ /**
23631
+ * The **`NavigateEvent`** interface of the Navigation API is the event object for the navigate event, which fires when any type of navigation is initiated (this includes usage of History API features like History.go()). NavigateEvent provides access to information about that navigation, and allows developers to intercept and control the navigation handling.
23632
+ *
23633
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent)
23634
+ */
23635
+ interface NavigateEvent extends Event {
23636
+ /**
23637
+ * The **`canIntercept`** read-only property of the NavigateEvent interface returns true if the navigation can be intercepted and have its URL rewritten, or false otherwise
23638
+ *
23639
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/canIntercept)
23640
+ */
23641
+ readonly canIntercept: boolean;
23642
+ /**
23643
+ * The **`destination`** read-only property of the NavigateEvent interface returns a NavigationDestination object representing the destination being navigated to.
23644
+ *
23645
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/destination)
23646
+ */
23647
+ readonly destination: NavigationDestination;
23648
+ /**
23649
+ * The **`downloadRequest`** read-only property of the NavigateEvent interface returns the filename of the file requested for download, in the case of a download navigation (e.g., an <a> or <area> element with a download attribute), or null otherwise.
23650
+ *
23651
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/downloadRequest)
23652
+ */
23653
+ readonly downloadRequest: string | null;
23654
+ /**
23655
+ * The **`formData`** read-only property of the NavigateEvent interface returns the FormData object representing the submitted data in the case of a POST form submission, or null otherwise.
23656
+ *
23657
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/formData)
23658
+ */
23659
+ readonly formData: FormData | null;
23660
+ /**
23661
+ * The **`hasUAVisualTransition`** read-only property of the NavigateEvent interface returns true if the user agent performed a visual transition for this navigation before dispatching this event, or false otherwise.
23662
+ *
23663
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/hasUAVisualTransition)
23664
+ */
23665
+ readonly hasUAVisualTransition: boolean;
23666
+ /**
23667
+ * The **`hashChange`** read-only property of the NavigateEvent interface returns true if the navigation is a fragment navigation (i.e., to a fragment identifier in the same document), or false otherwise.
23668
+ *
23669
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/hashChange)
23670
+ */
23671
+ readonly hashChange: boolean;
23672
+ /**
23673
+ * The **`info`** read-only property of the NavigateEvent interface returns the info data value passed by the initiating navigation operation (e.g., Navigation.back(), or Navigation.navigate()), or undefined if no info data was passed.
23674
+ *
23675
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/info)
23676
+ */
23677
+ readonly info: any;
23678
+ /**
23679
+ * The **`navigationType`** read-only property of the NavigateEvent interface returns the type of the navigation — push, reload, replace, or traverse.
23680
+ *
23681
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/navigationType)
23682
+ */
23683
+ readonly navigationType: NavigationType;
23684
+ /**
23685
+ * The **`signal`** read-only property of the NavigateEvent interface returns an AbortSignal, which will become aborted if the navigation is cancelled (e.g., by the user pressing the browser's "Stop" button, or another navigation starting and thus cancelling the ongoing one).
23686
+ *
23687
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/signal)
23688
+ */
23689
+ readonly signal: AbortSignal;
23690
+ /**
23691
+ * The **`sourceElement`** read-only property of the NavigateEvent interface returns an Element object representing the initiating element, in cases where the navigation was initiated by an element.
23692
+ *
23693
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/sourceElement)
23694
+ */
23695
+ readonly sourceElement: Element | null;
23696
+ /**
23697
+ * The **`userInitiated`** read-only property of the NavigateEvent interface returns true if the navigation was initiated by the user (e.g., by clicking a link, submitting a form, or pressing the browser's "Back"/"Forward" buttons), or false otherwise.
23698
+ *
23699
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/userInitiated)
23700
+ */
23701
+ readonly userInitiated: boolean;
23702
+ /**
23703
+ * The **`intercept()`** method of the NavigateEvent interface intercepts this navigation, turning it into a same-document navigation to the destination URL.
23704
+ *
23705
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/intercept)
23706
+ */
23707
+ intercept(options?: NavigationInterceptOptions): void;
23708
+ /**
23709
+ * The **`scroll()`** method of the NavigateEvent interface can be called to manually trigger the browser-driven scrolling behavior that occurs in response to the navigation, if you want it to happen before the navigation handling has completed.
23710
+ *
23711
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/scroll)
23712
+ */
23713
+ scroll(): void;
23714
+ }
23715
+
23716
+ declare var NavigateEvent: {
23717
+ prototype: NavigateEvent;
23718
+ new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
23719
+ };
23720
+
23721
+ /**
23722
+ * The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
23723
+ *
23724
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation)
23725
+ */
23726
+ interface Navigation extends EventTarget {
23727
+ /**
23728
+ * The **`activation`** read-only property of the Navigation interface returns a NavigationActivation object containing information about the most recent cross-document navigation, which "activated" this Document. The property will stay constant during same-document navigations.
23729
+ *
23730
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/activation)
23731
+ */
23732
+ readonly activation: NavigationActivation | null;
23733
+ /**
23734
+ * The **`canGoBack`** read-only property of the Navigation interface returns true if it is possible to navigate backwards in the navigation history (i.e., the currentEntry is not the first one in the history entry list), and false if it is not.
23735
+ *
23736
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/canGoBack)
23737
+ */
23738
+ readonly canGoBack: boolean;
23739
+ /**
23740
+ * The **`canGoForward`** read-only property of the Navigation interface returns true if it is possible to navigate forwards in the navigation history (i.e., the currentEntry is not the last one in the history entry list), and false if it is not.
23741
+ *
23742
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/canGoForward)
23743
+ */
23744
+ readonly canGoForward: boolean;
23745
+ /**
23746
+ * The **`currentEntry`** read-only property of the Navigation interface returns a NavigationHistoryEntry object representing the location the user is currently navigated to right now.
23747
+ *
23748
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
23749
+ */
23750
+ readonly currentEntry: NavigationHistoryEntry | null;
23751
+ /**
23752
+ * The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
23753
+ *
23754
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/transition)
23755
+ */
23756
+ readonly transition: NavigationTransition | null;
23757
+ /**
23758
+ * The **`back()`** method of the Navigation interface navigates backwards by one entry in the navigation history.
23759
+ *
23760
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/back)
23761
+ */
23762
+ back(options?: NavigationOptions): NavigationResult;
23763
+ /**
23764
+ * The **`entries()`** method of the Navigation interface returns an array of NavigationHistoryEntry objects representing all existing history entries.
23765
+ *
23766
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/entries)
23767
+ */
23768
+ entries(): NavigationHistoryEntry[];
23769
+ /**
23770
+ * The **`forward()`** method of the Navigation interface navigates forwards by one entry in the navigation history.
23771
+ *
23772
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/forward)
23773
+ */
23774
+ forward(options?: NavigationOptions): NavigationResult;
23775
+ /**
23776
+ * The **`navigate()`** method of the Navigation interface navigates to a specific URL, updating any provided state in the history entries list.
23777
+ *
23778
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate)
23779
+ */
23780
+ navigate(url: string | URL, options?: NavigationNavigateOptions): NavigationResult;
23781
+ /**
23782
+ * The **`reload()`** method of the Navigation interface reloads the current URL, updating any provided state in the history entries list.
23783
+ *
23784
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/reload)
23785
+ */
23786
+ reload(options?: NavigationReloadOptions): NavigationResult;
23787
+ /**
23788
+ * The **`traverseTo()`** method of the Navigation interface navigates to the NavigationHistoryEntry identified by the given key.
23789
+ *
23790
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/traverseTo)
23791
+ */
23792
+ traverseTo(key: string, options?: NavigationOptions): NavigationResult;
23793
+ /**
23794
+ * The **`updateCurrentEntry()`** method of the Navigation interface updates the state of the currentEntry; used in cases where the state change will be independent of a navigation or reload.
23795
+ *
23796
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
23797
+ */
23798
+ updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
23799
+ }
23800
+
23801
+ declare var Navigation: {
23802
+ prototype: Navigation;
23803
+ new(): Navigation;
23804
+ };
23805
+
23548
23806
  /**
23549
23807
  * The **`NavigationActivation`** interface of the Navigation API represents a recent cross-document navigation. It contains the navigation type and outgoing and inbound document history entries.
23550
23808
  *
@@ -23576,6 +23834,80 @@ declare var NavigationActivation: {
23576
23834
  new(): NavigationActivation;
23577
23835
  };
23578
23836
 
23837
+ /**
23838
+ * The **`NavigationCurrentEntryChangeEvent`** interface of the Navigation API is the event object for the currententrychange event, which fires when the Navigation.currentEntry has changed.
23839
+ *
23840
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent)
23841
+ */
23842
+ interface NavigationCurrentEntryChangeEvent extends Event {
23843
+ /**
23844
+ * The **`from`** read-only property of the NavigationCurrentEntryChangeEvent interface returns the NavigationHistoryEntry that was navigated from.
23845
+ *
23846
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent/from)
23847
+ */
23848
+ readonly from: NavigationHistoryEntry;
23849
+ /**
23850
+ * The **`navigationType`** read-only property of the NavigationCurrentEntryChangeEvent interface returns the type of the navigation that resulted in the change. The property may be null if the change occurs due to Navigation.updateCurrentEntry().
23851
+ *
23852
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent/navigationType)
23853
+ */
23854
+ readonly navigationType: NavigationType | null;
23855
+ }
23856
+
23857
+ declare var NavigationCurrentEntryChangeEvent: {
23858
+ prototype: NavigationCurrentEntryChangeEvent;
23859
+ new(type: string, eventInitDict: NavigationCurrentEntryChangeEventInit): NavigationCurrentEntryChangeEvent;
23860
+ };
23861
+
23862
+ /**
23863
+ * The **`NavigationDestination`** interface of the Navigation API represents the destination being navigated to in the current navigation.
23864
+ *
23865
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination)
23866
+ */
23867
+ interface NavigationDestination {
23868
+ /**
23869
+ * The **`id`** read-only property of the NavigationDestination interface returns the id value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or an empty string otherwise.
23870
+ *
23871
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/id)
23872
+ */
23873
+ readonly id: string;
23874
+ /**
23875
+ * The **`index`** read-only property of the NavigationDestination interface returns the index value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or -1 otherwise.
23876
+ *
23877
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/index)
23878
+ */
23879
+ readonly index: number;
23880
+ /**
23881
+ * The **`key`** read-only property of the NavigationDestination interface returns the key value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or an empty string otherwise.
23882
+ *
23883
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/key)
23884
+ */
23885
+ readonly key: string;
23886
+ /**
23887
+ * The **`sameDocument`** read-only property of the NavigationDestination interface returns true if the navigation is to the same document as the current Document value, or false otherwise.
23888
+ *
23889
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/sameDocument)
23890
+ */
23891
+ readonly sameDocument: boolean;
23892
+ /**
23893
+ * The **`url`** read-only property of the NavigationDestination interface returns the URL being navigated to.
23894
+ *
23895
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/url)
23896
+ */
23897
+ readonly url: string;
23898
+ /**
23899
+ * The **`getState()`** method of the NavigationDestination interface returns a clone of the developer-supplied state associated with the destination NavigationHistoryEntry, or navigation operation (e.g., navigate()) as appropriate.
23900
+ *
23901
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/getState)
23902
+ */
23903
+ getState(): any;
23904
+ }
23905
+
23906
+ declare var NavigationDestination: {
23907
+ prototype: NavigationDestination;
23908
+ new(): NavigationDestination;
23909
+ };
23910
+
23579
23911
  interface NavigationHistoryEntryEventMap {
23580
23912
  "dispose": Event;
23581
23913
  }
@@ -23635,6 +23967,25 @@ declare var NavigationHistoryEntry: {
23635
23967
  new(): NavigationHistoryEntry;
23636
23968
  };
23637
23969
 
23970
+ /**
23971
+ * The **`NavigationPrecommitController`** interface of the Navigation API defines redirect behavior for a navigation precommit handler.
23972
+ *
23973
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController)
23974
+ */
23975
+ interface NavigationPrecommitController {
23976
+ /**
23977
+ * The **`redirect()`** method of the NavigationPrecommitController interface redirects the browser to a specified URL and specifies history behavior and any desired state information.
23978
+ *
23979
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController/redirect)
23980
+ */
23981
+ redirect(url: string | URL, options?: NavigationNavigateOptions): void;
23982
+ }
23983
+
23984
+ declare var NavigationPrecommitController: {
23985
+ prototype: NavigationPrecommitController;
23986
+ new(): NavigationPrecommitController;
23987
+ };
23988
+
23638
23989
  /**
23639
23990
  * The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
23640
23991
  * Available only in secure contexts.
@@ -23673,6 +24024,38 @@ declare var NavigationPreloadManager: {
23673
24024
  new(): NavigationPreloadManager;
23674
24025
  };
23675
24026
 
24027
+ /**
24028
+ * The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation, that is, a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.
24029
+ *
24030
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
24031
+ */
24032
+ interface NavigationTransition {
24033
+ readonly committed: Promise<void>;
24034
+ /**
24035
+ * The **`finished`** read-only property of the NavigationTransition interface returns a Promise that fulfills at the same time the navigatesuccess event fires, or rejects at the same time the navigateerror event fires.
24036
+ *
24037
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/finished)
24038
+ */
24039
+ readonly finished: Promise<void>;
24040
+ /**
24041
+ * The **`from`** read-only property of the NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.
24042
+ *
24043
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/from)
24044
+ */
24045
+ readonly from: NavigationHistoryEntry;
24046
+ /**
24047
+ * The **`navigationType`** read-only property of the NavigationTransition interface returns the type of the ongoing navigation.
24048
+ *
24049
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/navigationType)
24050
+ */
24051
+ readonly navigationType: NavigationType;
24052
+ }
24053
+
24054
+ declare var NavigationTransition: {
24055
+ prototype: NavigationTransition;
24056
+ new(): NavigationTransition;
24057
+ };
24058
+
23676
24059
  /**
23677
24060
  * The **`Navigator`** interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.
23678
24061
  *
@@ -24016,7 +24399,7 @@ interface Node extends EventTarget {
24016
24399
  */
24017
24400
  appendChild<T extends Node>(node: T): T;
24018
24401
  /**
24019
- * The **`cloneNode()`** method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in a node is also cloned or not.
24402
+ * The **`cloneNode()`** method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in the node is also cloned or not.
24020
24403
  *
24021
24404
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)
24022
24405
  */
@@ -24815,6 +25198,11 @@ declare var PageTransitionEvent: {
24815
25198
  new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;
24816
25199
  };
24817
25200
 
25201
+ interface PaintTimingMixin {
25202
+ readonly paintTime: DOMHighResTimeStamp;
25203
+ readonly presentationTime: DOMHighResTimeStamp | null;
25204
+ }
25205
+
24818
25206
  /**
24819
25207
  * The **`PannerNode`** interface defines an audio-processing object that represents the location, direction, and behavior of an audio source signal in a simulated physical space. This AudioNode uses right-hand Cartesian coordinates to describe the source's position as a vector and its orientation as a 3D directional cone.
24820
25208
  *
@@ -25330,6 +25718,7 @@ interface Performance extends EventTarget {
25330
25718
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/eventCounts)
25331
25719
  */
25332
25720
  readonly eventCounts: EventCounts;
25721
+ readonly interactionCount: number;
25333
25722
  /**
25334
25723
  * The legacy **`Performance.navigation`** read-only property returns a PerformanceNavigation object representing the type of navigation that occurs in the given browsing context, such as the number of redirections needed to fetch the resource.
25335
25724
  * @deprecated
@@ -25755,7 +26144,7 @@ declare var PerformanceObserverEntryList: {
25755
26144
  *
25756
26145
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
25757
26146
  */
25758
- interface PerformancePaintTiming extends PerformanceEntry {
26147
+ interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
25759
26148
  toJSON(): any;
25760
26149
  }
25761
26150
 
@@ -28652,6 +29041,19 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28652
29041
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/download)
28653
29042
  */
28654
29043
  download: string;
29044
+ /**
29045
+ * The **`hreflang`** property of the SVGAElement interface returns a string indicating the language of the linked resource.
29046
+ *
29047
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/hreflang)
29048
+ */
29049
+ hreflang: string;
29050
+ /**
29051
+ * The **`ping`** property of the SVGAElement interface returns a string that reflects the ping attribute, containing a space-separated list of URLs to which, when the hyperlink is followed, POST requests with the body PING will be sent by the browser (in the background). Typically used for tracking.
29052
+ *
29053
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/ping)
29054
+ */
29055
+ ping: string;
29056
+ referrerPolicy: string;
28655
29057
  /**
28656
29058
  * The **`rel`** property of the SVGAElement returns a string reflecting the value of the rel attribute of the SVG <a> element.
28657
29059
  *
@@ -28659,7 +29061,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28659
29061
  */
28660
29062
  rel: string;
28661
29063
  /**
28662
- * The **`relList`** read-only property of the SVGAElement returns a live DOMTokenList reflecting the space-separated string <list-of-Link-Types> values of the rel attribute of the SVG <a> element.
29064
+ * The read-only **`relList`** property of the SVGAElement returns a live DOMTokenList reflecting the space-separated string <list-of-Link-Types> values of the rel attribute of the SVG <a> element.
28663
29065
  *
28664
29066
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/relList)
28665
29067
  */
@@ -28671,6 +29073,12 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28671
29073
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/target)
28672
29074
  */
28673
29075
  readonly target: SVGAnimatedString;
29076
+ /**
29077
+ * The **`type`** property of the SVGAElement interface returns a string indicating the MIME type of the linked resource.
29078
+ *
29079
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/type)
29080
+ */
29081
+ type: string;
28674
29082
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
28675
29083
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
28676
29084
  removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -33939,7 +34347,7 @@ interface StyleSheet {
33939
34347
  */
33940
34348
  readonly href: string | null;
33941
34349
  /**
33942
- * The **`media`** property of the StyleSheet interface specifies the intended destination media for style information. It is a read-only, array-like MediaList object and can be removed with deleteMedium() and added with appendMedium().
34350
+ * The read-only **`media`** property of the StyleSheet interface contains a MediaList object representing the intended destination media for style information.
33943
34351
  *
33944
34352
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/media)
33945
34353
  */
@@ -34252,14 +34660,14 @@ interface TextDecoderCommon {
34252
34660
  }
34253
34661
 
34254
34662
  /**
34255
- * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder.
34663
+ * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
34256
34664
  *
34257
34665
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
34258
34666
  */
34259
34667
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
34260
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
34668
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
34261
34669
  readonly readable: ReadableStream<string>;
34262
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
34670
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream that accepts binary data, in the form of ArrayBuffer, TypedArray, or DataView chunks (SharedArrayBuffer and its views are also allowed), to be decoded into strings. */
34263
34671
  readonly writable: WritableStream<BufferSource>;
34264
34672
  }
34265
34673
 
@@ -34303,14 +34711,14 @@ interface TextEncoderCommon {
34303
34711
  }
34304
34712
 
34305
34713
  /**
34306
- * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder.
34714
+ * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
34307
34715
  *
34308
34716
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
34309
34717
  */
34310
34718
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
34311
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
34719
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
34312
34720
  readonly readable: ReadableStream<Uint8Array>;
34313
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
34721
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
34314
34722
  readonly writable: WritableStream<string>;
34315
34723
  }
34316
34724
 
@@ -34894,13 +35302,13 @@ declare var TrackEvent: {
34894
35302
  */
34895
35303
  interface TransformStream<I = any, O = any> {
34896
35304
  /**
34897
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
35305
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
34898
35306
  *
34899
35307
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
34900
35308
  */
34901
35309
  readonly readable: ReadableStream<O>;
34902
35310
  /**
34903
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
35311
+ * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.
34904
35312
  *
34905
35313
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
34906
35314
  */
@@ -35975,7 +36383,7 @@ interface VisualViewportEventMap {
35975
36383
  }
35976
36384
 
35977
36385
  /**
35978
- * The **`VisualViewport`** interface of the Visual Viewport API represents the visual viewport for a given window. For a page containing iframes, each iframe, as well as the containing page, will have a unique window object. Each window on a page will have a unique VisualViewport representing the properties associated with that window.
36386
+ * The **`VisualViewport`** interface of the CSSOM view API represents the visual viewport for a given window. For a page containing iframes, each iframe, as well as the containing page, will have a unique window object. Each window on a page will have a unique VisualViewport representing the properties associated with that window.
35979
36387
  *
35980
36388
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport)
35981
36389
  */
@@ -39024,7 +39432,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39024
39432
  */
39025
39433
  readonly length: number;
39026
39434
  /**
39027
- * The **`Window.location`** read-only property returns a Location object with information about the current location of the document.
39435
+ * The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
39028
39436
  *
39029
39437
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
39030
39438
  */
@@ -39048,6 +39456,12 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39048
39456
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/name)
39049
39457
  */
39050
39458
  name: string;
39459
+ /**
39460
+ * The **`navigation`** read-only property of the Window interface returns the current window's associated Navigation object.
39461
+ *
39462
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigation)
39463
+ */
39464
+ readonly navigation: Navigation;
39051
39465
  /**
39052
39466
  * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
39053
39467
  *
@@ -39448,7 +39862,7 @@ interface WindowEventHandlers {
39448
39862
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
39449
39863
  onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
39450
39864
  /**
39451
- * @deprecated
39865
+ * @deprecated The unload event is not reliable, consider visibilitychange or pagehide events.
39452
39866
  *
39453
39867
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
39454
39868
  */
@@ -40735,6 +41149,14 @@ interface MutationCallback {
40735
41149
  (mutations: MutationRecord[], observer: MutationObserver): void;
40736
41150
  }
40737
41151
 
41152
+ interface NavigationInterceptHandler {
41153
+ (): void | PromiseLike<void>;
41154
+ }
41155
+
41156
+ interface NavigationPrecommitHandler {
41157
+ (controller: NavigationPrecommitController): void | PromiseLike<void>;
41158
+ }
41159
+
40738
41160
  interface NotificationPermissionCallback {
40739
41161
  (permission: NotificationPermission): void;
40740
41162
  }
@@ -41192,7 +41614,7 @@ declare var innerWidth: number;
41192
41614
  */
41193
41615
  declare var length: number;
41194
41616
  /**
41195
- * The **`Window.location`** read-only property returns a Location object with information about the current location of the document.
41617
+ * The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
41196
41618
  *
41197
41619
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
41198
41620
  */
@@ -41216,6 +41638,12 @@ declare var menubar: BarProp;
41216
41638
  */
41217
41639
  /** @deprecated */
41218
41640
  declare const name: void;
41641
+ /**
41642
+ * The **`navigation`** read-only property of the Window interface returns the current window's associated Navigation object.
41643
+ *
41644
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigation)
41645
+ */
41646
+ declare var navigation: Navigation;
41219
41647
  /**
41220
41648
  * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
41221
41649
  *
@@ -41817,7 +42245,7 @@ declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;
41817
42245
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
41818
42246
  declare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
41819
42247
  /**
41820
- * @deprecated
42248
+ * @deprecated The unload event is not reliable, consider visibilitychange or pagehide events.
41821
42249
  *
41822
42250
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
41823
42251
  */
@@ -42053,6 +42481,9 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required";
42053
42481
  type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
42054
42482
  type MediaSessionPlaybackState = "none" | "paused" | "playing";
42055
42483
  type MediaStreamTrackState = "ended" | "live";
42484
+ type NavigationFocusReset = "after-transition" | "manual";
42485
+ type NavigationHistoryBehavior = "auto" | "push" | "replace";
42486
+ type NavigationScrollBehavior = "after-transition" | "manual";
42056
42487
  type NavigationTimingType = "back_forward" | "navigate" | "reload";
42057
42488
  type NavigationType = "push" | "reload" | "replace" | "traverse";
42058
42489
  type NotificationDirection = "auto" | "ltr" | "rtl";