@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/index.d.ts CHANGED
@@ -950,12 +950,12 @@ interface KeySystemTrackConfiguration {
950
950
  }
951
951
 
952
952
  interface KeyboardEventInit extends EventModifierInit {
953
- /** @deprecated */
953
+ /** @deprecated `charCode` is inconsistent across environments, consider using `key` instead. */
954
954
  charCode?: number;
955
955
  code?: string;
956
956
  isComposing?: boolean;
957
957
  key?: string;
958
- /** @deprecated */
958
+ /** @deprecated `keyCode` is inconsistent across environments, consider using `key` instead. */
959
959
  keyCode?: number;
960
960
  location?: number;
961
961
  repeat?: boolean;
@@ -1260,11 +1260,59 @@ interface MutationObserverInit {
1260
1260
  subtree?: boolean;
1261
1261
  }
1262
1262
 
1263
+ interface NavigateEventInit extends EventInit {
1264
+ canIntercept?: boolean;
1265
+ destination: NavigationDestination;
1266
+ downloadRequest?: string | null;
1267
+ formData?: FormData | null;
1268
+ hasUAVisualTransition?: boolean;
1269
+ hashChange?: boolean;
1270
+ info?: any;
1271
+ navigationType?: NavigationType;
1272
+ signal: AbortSignal;
1273
+ sourceElement?: Element | null;
1274
+ userInitiated?: boolean;
1275
+ }
1276
+
1277
+ interface NavigationCurrentEntryChangeEventInit extends EventInit {
1278
+ from: NavigationHistoryEntry;
1279
+ navigationType?: NavigationType | null;
1280
+ }
1281
+
1282
+ interface NavigationInterceptOptions {
1283
+ focusReset?: NavigationFocusReset;
1284
+ handler?: NavigationInterceptHandler;
1285
+ precommitHandler?: NavigationPrecommitHandler;
1286
+ scroll?: NavigationScrollBehavior;
1287
+ }
1288
+
1289
+ interface NavigationNavigateOptions extends NavigationOptions {
1290
+ history?: NavigationHistoryBehavior;
1291
+ state?: any;
1292
+ }
1293
+
1294
+ interface NavigationOptions {
1295
+ info?: any;
1296
+ }
1297
+
1263
1298
  interface NavigationPreloadState {
1264
1299
  enabled?: boolean;
1265
1300
  headerValue?: string;
1266
1301
  }
1267
1302
 
1303
+ interface NavigationReloadOptions extends NavigationOptions {
1304
+ state?: any;
1305
+ }
1306
+
1307
+ interface NavigationResult {
1308
+ committed?: Promise<NavigationHistoryEntry>;
1309
+ finished?: Promise<NavigationHistoryEntry>;
1310
+ }
1311
+
1312
+ interface NavigationUpdateCurrentEntryOptions {
1313
+ state: any;
1314
+ }
1315
+
1268
1316
  interface NotificationOptions {
1269
1317
  badge?: string;
1270
1318
  body?: string;
@@ -2204,6 +2252,10 @@ interface ShareData {
2204
2252
  url?: string;
2205
2253
  }
2206
2254
 
2255
+ interface ShowPopoverOptions {
2256
+ source?: HTMLElement;
2257
+ }
2258
+
2207
2259
  interface SpeechRecognitionErrorEventInit extends EventInit {
2208
2260
  error: SpeechRecognitionErrorCode;
2209
2261
  message?: string;
@@ -2319,6 +2371,10 @@ interface ToggleEventInit extends EventInit {
2319
2371
  source?: Element | null;
2320
2372
  }
2321
2373
 
2374
+ interface TogglePopoverOptions extends ShowPopoverOptions {
2375
+ force?: boolean;
2376
+ }
2377
+
2322
2378
  interface TouchEventInit extends EventModifierInit {
2323
2379
  changedTouches?: Touch[];
2324
2380
  targetTouches?: Touch[];
@@ -2613,8 +2669,8 @@ interface WebTransportErrorOptions {
2613
2669
  }
2614
2670
 
2615
2671
  interface WebTransportHash {
2616
- algorithm?: string;
2617
- value?: BufferSource;
2672
+ algorithm: string;
2673
+ value: BufferSource;
2618
2674
  }
2619
2675
 
2620
2676
  interface WebTransportOptions {
@@ -4832,7 +4888,7 @@ declare var CSSCounterStyleRule: {
4832
4888
  */
4833
4889
  interface CSSFontFaceRule extends CSSRule {
4834
4890
  /**
4835
- * 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.
4891
+ * The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
4836
4892
  *
4837
4893
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
4838
4894
  */
@@ -4964,7 +5020,7 @@ interface CSSImportRule extends CSSRule {
4964
5020
  */
4965
5021
  readonly layerName: string | null;
4966
5022
  /**
4967
- * The read-only **`media`** property of the CSSImportRule interface returns a MediaList object, containing the value of the media attribute of the associated stylesheet.
5023
+ * The read-only **`media`** property of the CSSImportRule interface returns a MediaList object representing the media query list of the @import rule.
4968
5024
  *
4969
5025
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)
4970
5026
  */
@@ -5002,7 +5058,7 @@ interface CSSKeyframeRule extends CSSRule {
5002
5058
  */
5003
5059
  keyText: string;
5004
5060
  /**
5005
- * The read-only **`CSSKeyframeRule.style`** property is the CSSStyleDeclaration interface for the declaration block of the CSSKeyframeRule.
5061
+ * The read-only **`style`** property of the CSSKeyframeRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @keyframes rule's body.
5006
5062
  *
5007
5063
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
5008
5064
  */
@@ -5292,7 +5348,7 @@ declare var CSSMatrixComponent: {
5292
5348
  */
5293
5349
  interface CSSMediaRule extends CSSConditionRule {
5294
5350
  /**
5295
- * The read-only **`media`** property of the CSSMediaRule interface returns a MediaList representing the intended destination medium for style information.
5351
+ * The read-only **`media`** property of the CSSMediaRule interface contains a MediaList object representing the media query list of the @media rule.
5296
5352
  *
5297
5353
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)
5298
5354
  */
@@ -5496,7 +5552,7 @@ interface CSSPageRule extends CSSGroupingRule {
5496
5552
  */
5497
5553
  selectorText: string;
5498
5554
  /**
5499
- * 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.
5555
+ * The read-only **`style`** property of the CSSPageRule interface contains a CSSPageDescriptors object representing the descriptors available in the @page rule's body.
5500
5556
  *
5501
5557
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
5502
5558
  */
@@ -5694,7 +5750,7 @@ interface CSSPositionTryRule extends CSSRule {
5694
5750
  */
5695
5751
  readonly name: string;
5696
5752
  /**
5697
- * 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.
5753
+ * The read-only **`style`** property of the CSSPositionTryRule interface contains a CSSPositionTryDescriptors object representing the descriptors available in the @position-try rule's body.
5698
5754
  *
5699
5755
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
5700
5756
  */
@@ -6189,7 +6245,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6189
6245
  */
6190
6246
  animationRangeStart: string;
6191
6247
  /**
6192
- * The animation-timeline CSS property specifies the timeline that is used to control the progress of a CSS animation.
6248
+ * The animation-timeline CSS property specifies the timeline used to control the progress of a CSS animation.
6193
6249
  *
6194
6250
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-timeline)
6195
6251
  */
@@ -6977,6 +7033,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6977
7033
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/empty-cells)
6978
7034
  */
6979
7035
  emptyCells: string;
7036
+ /**
7037
+ * 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.
7038
+ *
7039
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/field-sizing)
7040
+ */
7041
+ fieldSizing: string;
6980
7042
  /**
6981
7043
  * 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.
6982
7044
  *
@@ -7634,6 +7696,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7634
7696
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-depth)
7635
7697
  */
7636
7698
  mathDepth: string;
7699
+ /**
7700
+ * The math-shift property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.
7701
+ *
7702
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-shift)
7703
+ */
7704
+ mathShift: string;
7637
7705
  /**
7638
7706
  * The math-style property indicates whether MathML equations should render with normal or compact height.
7639
7707
  *
@@ -8039,6 +8107,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8039
8107
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-try-order)
8040
8108
  */
8041
8109
  positionTryOrder: string;
8110
+ /**
8111
+ * 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.
8112
+ *
8113
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-visibility)
8114
+ */
8115
+ positionVisibility: string;
8042
8116
  /**
8043
8117
  * 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.
8044
8118
  *
@@ -8268,13 +8342,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8268
8342
  */
8269
8343
  scrollSnapType: string;
8270
8344
  /**
8271
- * 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.
8345
+ * 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).
8272
8346
  *
8273
8347
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline)
8274
8348
  */
8275
8349
  scrollTimeline: string;
8276
8350
  /**
8277
- * 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.
8351
+ * 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).
8278
8352
  *
8279
8353
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
8280
8354
  */
@@ -8682,7 +8756,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8682
8756
  */
8683
8757
  verticalAlign: string;
8684
8758
  /**
8685
- * 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.
8759
+ * The view-timeline CSS shorthand property defines a named view progress timeline's name, direction, and inset values.
8686
8760
  *
8687
8761
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline)
8688
8762
  */
@@ -9184,7 +9258,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
9184
9258
  */
9185
9259
  wordSpacing: string;
9186
9260
  /**
9187
- * @deprecated
9261
+ * @deprecated `word-wrap` is a legacy alias of `overflow-wrap`.
9188
9262
  *
9189
9263
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-wrap)
9190
9264
  */
@@ -9239,7 +9313,7 @@ interface CSSStyleRule extends CSSGroupingRule {
9239
9313
  */
9240
9314
  selectorText: string;
9241
9315
  /**
9242
- * The read-only **`style`** property is a CSSStyleProperties object that represents the inline styles of a style rule (CSSStyleRule).
9316
+ * The read-only **`style`** property of the CSSStyleRule interface contains a CSSStyleProperties object representing the properties list in this style rule's body.
9243
9317
  *
9244
9318
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
9245
9319
  */
@@ -10295,14 +10369,14 @@ declare var CompositionEvent: {
10295
10369
  };
10296
10370
 
10297
10371
  /**
10298
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
10372
+ * 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.
10299
10373
  *
10300
10374
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
10301
10375
  */
10302
10376
  interface CompressionStream extends GenericTransformStream {
10303
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
10377
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
10304
10378
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
10305
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
10379
+ /** 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. */
10306
10380
  readonly writable: WritableStream<BufferSource>;
10307
10381
  }
10308
10382
 
@@ -11778,14 +11852,14 @@ declare var DataTransferItemList: {
11778
11852
  };
11779
11853
 
11780
11854
  /**
11781
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
11855
+ * 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.
11782
11856
  *
11783
11857
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
11784
11858
  */
11785
11859
  interface DecompressionStream extends GenericTransformStream {
11786
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
11860
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
11787
11861
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
11788
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
11862
+ /** 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. */
11789
11863
  readonly writable: WritableStream<BufferSource>;
11790
11864
  }
11791
11865
 
@@ -11978,6 +12052,12 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
11978
12052
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/URL)
11979
12053
  */
11980
12054
  readonly URL: string;
12055
+ /**
12056
+ * The **`activeViewTransition`** read-only property of the Document interface returns a ViewTransition instance representing the view transition currently active on the document.
12057
+ *
12058
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeViewTransition)
12059
+ */
12060
+ readonly activeViewTransition: ViewTransition | null;
11981
12061
  /**
11982
12062
  * 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.
11983
12063
  * @deprecated
@@ -12186,7 +12266,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12186
12266
  */
12187
12267
  readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;
12188
12268
  /**
12189
- * 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.
12269
+ * 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.
12190
12270
  *
12191
12271
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
12192
12272
  */
@@ -12397,6 +12477,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12397
12477
  createEvent(eventInterface: "MessageEvent"): MessageEvent;
12398
12478
  createEvent(eventInterface: "MouseEvent"): MouseEvent;
12399
12479
  createEvent(eventInterface: "MouseEvents"): MouseEvent;
12480
+ createEvent(eventInterface: "NavigateEvent"): NavigateEvent;
12481
+ createEvent(eventInterface: "NavigationCurrentEntryChangeEvent"): NavigationCurrentEntryChangeEvent;
12400
12482
  createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
12401
12483
  createEvent(eventInterface: "PageRevealEvent"): PageRevealEvent;
12402
12484
  createEvent(eventInterface: "PageSwapEvent"): PageSwapEvent;
@@ -12540,7 +12622,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12540
12622
  */
12541
12623
  hasStorageAccess(): Promise<boolean>;
12542
12624
  /**
12543
- * 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.
12625
+ * 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.
12544
12626
  *
12545
12627
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)
12546
12628
  */
@@ -12923,7 +13005,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
12923
13005
  */
12924
13006
  readonly attributes: NamedNodeMap;
12925
13007
  /**
12926
- * 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.
13008
+ * 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.
12927
13009
  *
12928
13010
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
12929
13011
  */
@@ -13001,7 +13083,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13001
13083
  outerHTML: string;
13002
13084
  readonly ownerDocument: Document;
13003
13085
  /**
13004
- * 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.
13086
+ * 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.
13005
13087
  *
13006
13088
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part)
13007
13089
  */
@@ -15298,7 +15380,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
15298
15380
  */
15299
15381
  rel: string;
15300
15382
  /**
15301
- * 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.
15383
+ * 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.
15302
15384
  *
15303
15385
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList)
15304
15386
  */
@@ -15382,7 +15464,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
15382
15464
  */
15383
15465
  rel: string;
15384
15466
  /**
15385
- * 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.
15467
+ * 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.
15386
15468
  *
15387
15469
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList)
15388
15470
  */
@@ -16107,13 +16189,13 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
16107
16189
  *
16108
16190
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover)
16109
16191
  */
16110
- showPopover(): void;
16192
+ showPopover(options?: ShowPopoverOptions): void;
16111
16193
  /**
16112
16194
  * 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.
16113
16195
  *
16114
16196
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
16115
16197
  */
16116
- togglePopover(options?: boolean): boolean;
16198
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
16117
16199
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
16118
16200
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
16119
16201
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -16391,7 +16473,7 @@ interface HTMLFormElement extends HTMLElement {
16391
16473
  */
16392
16474
  rel: string;
16393
16475
  /**
16394
- * 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.
16476
+ * 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.
16395
16477
  *
16396
16478
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList)
16397
16479
  */
@@ -16748,7 +16830,7 @@ interface HTMLIFrameElement extends HTMLElement {
16748
16830
  */
16749
16831
  referrerPolicy: ReferrerPolicy;
16750
16832
  /**
16751
- * The **`sandbox`** read-only property of the HTMLIFrameElement interface returns a DOMTokenList indicating extra restrictions on the behavior of the nested content.
16833
+ * 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.
16752
16834
  *
16753
16835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox)
16754
16836
  */
@@ -16798,82 +16880,82 @@ declare var HTMLIFrameElement: {
16798
16880
  */
16799
16881
  interface HTMLImageElement extends HTMLElement {
16800
16882
  /**
16801
- * The obsolete **`align`** property of the HTMLImageElement interface is a string which indicates how to position the image relative to its container.
16883
+ * 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.
16802
16884
  * @deprecated
16803
16885
  *
16804
16886
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/align)
16805
16887
  */
16806
16888
  align: string;
16807
16889
  /**
16808
- * The HTMLImageElement property **`alt`** provides fallback (alternate) text to display when the image specified by the <img> element is not loaded.
16890
+ * 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.
16809
16891
  *
16810
16892
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt)
16811
16893
  */
16812
16894
  alt: string;
16813
16895
  /**
16814
- * 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.
16896
+ * 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.
16815
16897
  * @deprecated
16816
16898
  *
16817
16899
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/border)
16818
16900
  */
16819
16901
  border: string;
16820
16902
  /**
16821
- * The read-only HTMLImageElement interface's **`complete`** attribute is a Boolean value which indicates whether or not the image has completely loaded.
16903
+ * The **`complete`** read-only property of the HTMLImageElement interface is a Boolean value indicating whether or not the image has completely loaded.
16822
16904
  *
16823
16905
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/complete)
16824
16906
  */
16825
16907
  readonly complete: boolean;
16826
16908
  /**
16827
- * The HTMLImageElement interface's **`crossOrigin`** attribute is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image.
16909
+ * 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.
16828
16910
  *
16829
16911
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin)
16830
16912
  */
16831
16913
  crossOrigin: string | null;
16832
16914
  /**
16833
- * The read-only HTMLImageElement property **`currentSrc`** indicates the URL of the image which is currently presented in the <img> element it represents.
16915
+ * The **`currentSrc`** read-only property of the HTMLImageElement interface indicates the URL of the image selected by the browser to load.
16834
16916
  *
16835
16917
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/currentSrc)
16836
16918
  */
16837
16919
  readonly currentSrc: string;
16838
16920
  /**
16839
- * 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.
16921
+ * 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.
16840
16922
  *
16841
16923
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding)
16842
16924
  */
16843
16925
  decoding: "async" | "sync" | "auto";
16844
16926
  /**
16845
- * 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.
16927
+ * 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.
16846
16928
  *
16847
16929
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority)
16848
16930
  */
16849
16931
  fetchPriority: "high" | "low" | "auto";
16850
16932
  /**
16851
- * 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.
16933
+ * 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.
16852
16934
  *
16853
16935
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
16854
16936
  */
16855
16937
  height: number;
16856
16938
  /**
16857
- * 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.
16939
+ * 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.
16858
16940
  * @deprecated
16859
16941
  *
16860
16942
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/hspace)
16861
16943
  */
16862
16944
  hspace: number;
16863
16945
  /**
16864
- * 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.
16946
+ * 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.
16865
16947
  *
16866
16948
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap)
16867
16949
  */
16868
16950
  isMap: boolean;
16869
16951
  /**
16870
- * 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.
16952
+ * 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.
16871
16953
  *
16872
16954
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
16873
16955
  */
16874
16956
  loading: "eager" | "lazy";
16875
16957
  /**
16876
- * 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.
16958
+ * 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.
16877
16959
  * @deprecated
16878
16960
  *
16879
16961
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc)
@@ -16882,81 +16964,81 @@ interface HTMLImageElement extends HTMLElement {
16882
16964
  /** @deprecated */
16883
16965
  lowsrc: string;
16884
16966
  /**
16885
- * 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.
16967
+ * 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.
16886
16968
  * @deprecated
16887
16969
  *
16888
16970
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/name)
16889
16971
  */
16890
16972
  name: string;
16891
16973
  /**
16892
- * 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.
16974
+ * The read-only **`naturalHeight`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected height of the image in CSS pixels.
16893
16975
  *
16894
16976
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)
16895
16977
  */
16896
16978
  readonly naturalHeight: number;
16897
16979
  /**
16898
- * The HTMLImageElement interface's read-only **`naturalWidth`** property returns the intrinsic (natural), density-corrected width of the image in CSS pixels.
16980
+ * The read-only **`naturalWidth`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected width of the image in CSS pixels.
16899
16981
  *
16900
16982
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalWidth)
16901
16983
  */
16902
16984
  readonly naturalWidth: number;
16903
16985
  /**
16904
- * The **`HTMLImageElement.referrerPolicy`** property reflects the HTML referrerpolicy attribute of the <img> element defining which referrer is sent when fetching the resource.
16986
+ * 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.
16905
16987
  *
16906
16988
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)
16907
16989
  */
16908
16990
  referrerPolicy: string;
16909
16991
  /**
16910
- * 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.
16992
+ * 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.
16911
16993
  *
16912
16994
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
16913
16995
  */
16914
16996
  sizes: string;
16915
16997
  /**
16916
- * The HTMLImageElement property **`src`**, which reflects the HTML src attribute, specifies the image to display in the <img> element.
16998
+ * 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.
16917
16999
  *
16918
17000
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src)
16919
17001
  */
16920
17002
  src: string;
16921
17003
  /**
16922
- * 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.
17004
+ * 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.
16923
17005
  *
16924
17006
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset)
16925
17007
  */
16926
17008
  srcset: string;
16927
17009
  /**
16928
- * 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.
17010
+ * 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.
16929
17011
  *
16930
17012
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
16931
17013
  */
16932
17014
  useMap: string;
16933
17015
  /**
16934
- * 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.
17016
+ * 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.
16935
17017
  * @deprecated
16936
17018
  *
16937
17019
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/vspace)
16938
17020
  */
16939
17021
  vspace: number;
16940
17022
  /**
16941
- * 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.
17023
+ * 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.
16942
17024
  *
16943
17025
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
16944
17026
  */
16945
17027
  width: number;
16946
17028
  /**
16947
- * 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.
17029
+ * 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.
16948
17030
  *
16949
17031
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)
16950
17032
  */
16951
17033
  readonly x: number;
16952
17034
  /**
16953
- * 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.
17035
+ * 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.
16954
17036
  *
16955
17037
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)
16956
17038
  */
16957
17039
  readonly y: number;
16958
17040
  /**
16959
- * 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.
17041
+ * 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.
16960
17042
  *
16961
17043
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)
16962
17044
  */
@@ -17422,7 +17504,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17422
17504
  */
17423
17505
  as: string;
17424
17506
  /**
17425
- * The **`blocking`** property of the HTMLLinkElement interface is a string indicating that certain operations should be blocked on the fetching of an external resource.
17507
+ * 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.
17426
17508
  *
17427
17509
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking)
17428
17510
  */
@@ -17443,7 +17525,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17443
17525
  */
17444
17526
  disabled: boolean;
17445
17527
  /**
17446
- * 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.
17528
+ * 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.
17447
17529
  *
17448
17530
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority)
17449
17531
  */
@@ -17497,7 +17579,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17497
17579
  */
17498
17580
  rel: string;
17499
17581
  /**
17500
- * 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.
17582
+ * 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.
17501
17583
  *
17502
17584
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList)
17503
17585
  */
@@ -17506,7 +17588,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
17506
17588
  /** @deprecated */
17507
17589
  rev: string;
17508
17590
  /**
17509
- * 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.
17591
+ * 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.
17510
17592
  *
17511
17593
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes)
17512
17594
  */
@@ -18382,7 +18464,7 @@ interface HTMLOutputElement extends HTMLElement {
18382
18464
  */
18383
18465
  readonly form: HTMLFormElement | null;
18384
18466
  /**
18385
- * 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.
18467
+ * 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.
18386
18468
  *
18387
18469
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor)
18388
18470
  */
@@ -18618,7 +18700,7 @@ interface HTMLScriptElement extends HTMLElement {
18618
18700
  */
18619
18701
  async: boolean;
18620
18702
  /**
18621
- * The **`blocking`** property of the HTMLScriptElement interface is a string indicating that certain operations should be blocked on the fetching of the script.
18703
+ * 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.
18622
18704
  *
18623
18705
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking)
18624
18706
  */
@@ -18641,7 +18723,7 @@ interface HTMLScriptElement extends HTMLElement {
18641
18723
  /** @deprecated */
18642
18724
  event: string;
18643
18725
  /**
18644
- * 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.
18726
+ * 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.
18645
18727
  *
18646
18728
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority)
18647
18729
  */
@@ -18994,7 +19076,7 @@ declare var HTMLSpanElement: {
18994
19076
  */
18995
19077
  interface HTMLStyleElement extends HTMLElement, LinkStyle {
18996
19078
  /**
18997
- * The **`blocking`** property of the HTMLStyleElement interface is a string indicating that certain operations should be blocked on the fetching of critical subresources.
19079
+ * 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.
18998
19080
  *
18999
19081
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking)
19000
19082
  */
@@ -19540,7 +19622,7 @@ declare var HTMLTableSectionElement: {
19540
19622
  */
19541
19623
  interface HTMLTemplateElement extends HTMLElement {
19542
19624
  /**
19543
- * The **`HTMLTemplateElement.content`** property returns a <template> element's template contents (a DocumentFragment).
19625
+ * 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.
19544
19626
  *
19545
19627
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
19546
19628
  */
@@ -21533,7 +21615,7 @@ declare var KeyframeEffect: {
21533
21615
  *
21534
21616
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint)
21535
21617
  */
21536
- interface LargestContentfulPaint extends PerformanceEntry {
21618
+ interface LargestContentfulPaint extends PerformanceEntry, PaintTimingMixin {
21537
21619
  /**
21538
21620
  * The **`element`** read-only property of the LargestContentfulPaint interface returns an object representing the Element that is the largest contentful paint.
21539
21621
  *
@@ -23548,6 +23630,182 @@ declare var NamedNodeMap: {
23548
23630
  new(): NamedNodeMap;
23549
23631
  };
23550
23632
 
23633
+ /**
23634
+ * 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.
23635
+ *
23636
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent)
23637
+ */
23638
+ interface NavigateEvent extends Event {
23639
+ /**
23640
+ * 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
23641
+ *
23642
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/canIntercept)
23643
+ */
23644
+ readonly canIntercept: boolean;
23645
+ /**
23646
+ * The **`destination`** read-only property of the NavigateEvent interface returns a NavigationDestination object representing the destination being navigated to.
23647
+ *
23648
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/destination)
23649
+ */
23650
+ readonly destination: NavigationDestination;
23651
+ /**
23652
+ * 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.
23653
+ *
23654
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/downloadRequest)
23655
+ */
23656
+ readonly downloadRequest: string | null;
23657
+ /**
23658
+ * 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.
23659
+ *
23660
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/formData)
23661
+ */
23662
+ readonly formData: FormData | null;
23663
+ /**
23664
+ * 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.
23665
+ *
23666
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/hasUAVisualTransition)
23667
+ */
23668
+ readonly hasUAVisualTransition: boolean;
23669
+ /**
23670
+ * 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.
23671
+ *
23672
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/hashChange)
23673
+ */
23674
+ readonly hashChange: boolean;
23675
+ /**
23676
+ * 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.
23677
+ *
23678
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/info)
23679
+ */
23680
+ readonly info: any;
23681
+ /**
23682
+ * The **`navigationType`** read-only property of the NavigateEvent interface returns the type of the navigation — push, reload, replace, or traverse.
23683
+ *
23684
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/navigationType)
23685
+ */
23686
+ readonly navigationType: NavigationType;
23687
+ /**
23688
+ * 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).
23689
+ *
23690
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/signal)
23691
+ */
23692
+ readonly signal: AbortSignal;
23693
+ /**
23694
+ * 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.
23695
+ *
23696
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/sourceElement)
23697
+ */
23698
+ readonly sourceElement: Element | null;
23699
+ /**
23700
+ * 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.
23701
+ *
23702
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/userInitiated)
23703
+ */
23704
+ readonly userInitiated: boolean;
23705
+ /**
23706
+ * The **`intercept()`** method of the NavigateEvent interface intercepts this navigation, turning it into a same-document navigation to the destination URL.
23707
+ *
23708
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/intercept)
23709
+ */
23710
+ intercept(options?: NavigationInterceptOptions): void;
23711
+ /**
23712
+ * 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.
23713
+ *
23714
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/scroll)
23715
+ */
23716
+ scroll(): void;
23717
+ }
23718
+
23719
+ declare var NavigateEvent: {
23720
+ prototype: NavigateEvent;
23721
+ new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
23722
+ };
23723
+
23724
+ /**
23725
+ * 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.
23726
+ *
23727
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation)
23728
+ */
23729
+ interface Navigation extends EventTarget {
23730
+ /**
23731
+ * 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.
23732
+ *
23733
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/activation)
23734
+ */
23735
+ readonly activation: NavigationActivation | null;
23736
+ /**
23737
+ * 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.
23738
+ *
23739
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/canGoBack)
23740
+ */
23741
+ readonly canGoBack: boolean;
23742
+ /**
23743
+ * 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.
23744
+ *
23745
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/canGoForward)
23746
+ */
23747
+ readonly canGoForward: boolean;
23748
+ /**
23749
+ * The **`currentEntry`** read-only property of the Navigation interface returns a NavigationHistoryEntry object representing the location the user is currently navigated to right now.
23750
+ *
23751
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
23752
+ */
23753
+ readonly currentEntry: NavigationHistoryEntry | null;
23754
+ /**
23755
+ * 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.
23756
+ *
23757
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/transition)
23758
+ */
23759
+ readonly transition: NavigationTransition | null;
23760
+ /**
23761
+ * The **`back()`** method of the Navigation interface navigates backwards by one entry in the navigation history.
23762
+ *
23763
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/back)
23764
+ */
23765
+ back(options?: NavigationOptions): NavigationResult;
23766
+ /**
23767
+ * The **`entries()`** method of the Navigation interface returns an array of NavigationHistoryEntry objects representing all existing history entries.
23768
+ *
23769
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/entries)
23770
+ */
23771
+ entries(): NavigationHistoryEntry[];
23772
+ /**
23773
+ * The **`forward()`** method of the Navigation interface navigates forwards by one entry in the navigation history.
23774
+ *
23775
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/forward)
23776
+ */
23777
+ forward(options?: NavigationOptions): NavigationResult;
23778
+ /**
23779
+ * The **`navigate()`** method of the Navigation interface navigates to a specific URL, updating any provided state in the history entries list.
23780
+ *
23781
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate)
23782
+ */
23783
+ navigate(url: string | URL, options?: NavigationNavigateOptions): NavigationResult;
23784
+ /**
23785
+ * The **`reload()`** method of the Navigation interface reloads the current URL, updating any provided state in the history entries list.
23786
+ *
23787
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/reload)
23788
+ */
23789
+ reload(options?: NavigationReloadOptions): NavigationResult;
23790
+ /**
23791
+ * The **`traverseTo()`** method of the Navigation interface navigates to the NavigationHistoryEntry identified by the given key.
23792
+ *
23793
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/traverseTo)
23794
+ */
23795
+ traverseTo(key: string, options?: NavigationOptions): NavigationResult;
23796
+ /**
23797
+ * 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.
23798
+ *
23799
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
23800
+ */
23801
+ updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
23802
+ }
23803
+
23804
+ declare var Navigation: {
23805
+ prototype: Navigation;
23806
+ new(): Navigation;
23807
+ };
23808
+
23551
23809
  /**
23552
23810
  * 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.
23553
23811
  *
@@ -23579,6 +23837,80 @@ declare var NavigationActivation: {
23579
23837
  new(): NavigationActivation;
23580
23838
  };
23581
23839
 
23840
+ /**
23841
+ * The **`NavigationCurrentEntryChangeEvent`** interface of the Navigation API is the event object for the currententrychange event, which fires when the Navigation.currentEntry has changed.
23842
+ *
23843
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent)
23844
+ */
23845
+ interface NavigationCurrentEntryChangeEvent extends Event {
23846
+ /**
23847
+ * The **`from`** read-only property of the NavigationCurrentEntryChangeEvent interface returns the NavigationHistoryEntry that was navigated from.
23848
+ *
23849
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent/from)
23850
+ */
23851
+ readonly from: NavigationHistoryEntry;
23852
+ /**
23853
+ * 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().
23854
+ *
23855
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent/navigationType)
23856
+ */
23857
+ readonly navigationType: NavigationType | null;
23858
+ }
23859
+
23860
+ declare var NavigationCurrentEntryChangeEvent: {
23861
+ prototype: NavigationCurrentEntryChangeEvent;
23862
+ new(type: string, eventInitDict: NavigationCurrentEntryChangeEventInit): NavigationCurrentEntryChangeEvent;
23863
+ };
23864
+
23865
+ /**
23866
+ * The **`NavigationDestination`** interface of the Navigation API represents the destination being navigated to in the current navigation.
23867
+ *
23868
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination)
23869
+ */
23870
+ interface NavigationDestination {
23871
+ /**
23872
+ * 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.
23873
+ *
23874
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/id)
23875
+ */
23876
+ readonly id: string;
23877
+ /**
23878
+ * 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.
23879
+ *
23880
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/index)
23881
+ */
23882
+ readonly index: number;
23883
+ /**
23884
+ * 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.
23885
+ *
23886
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/key)
23887
+ */
23888
+ readonly key: string;
23889
+ /**
23890
+ * 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.
23891
+ *
23892
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/sameDocument)
23893
+ */
23894
+ readonly sameDocument: boolean;
23895
+ /**
23896
+ * The **`url`** read-only property of the NavigationDestination interface returns the URL being navigated to.
23897
+ *
23898
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/url)
23899
+ */
23900
+ readonly url: string;
23901
+ /**
23902
+ * 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.
23903
+ *
23904
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/getState)
23905
+ */
23906
+ getState(): any;
23907
+ }
23908
+
23909
+ declare var NavigationDestination: {
23910
+ prototype: NavigationDestination;
23911
+ new(): NavigationDestination;
23912
+ };
23913
+
23582
23914
  interface NavigationHistoryEntryEventMap {
23583
23915
  "dispose": Event;
23584
23916
  }
@@ -23638,6 +23970,25 @@ declare var NavigationHistoryEntry: {
23638
23970
  new(): NavigationHistoryEntry;
23639
23971
  };
23640
23972
 
23973
+ /**
23974
+ * The **`NavigationPrecommitController`** interface of the Navigation API defines redirect behavior for a navigation precommit handler.
23975
+ *
23976
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController)
23977
+ */
23978
+ interface NavigationPrecommitController {
23979
+ /**
23980
+ * The **`redirect()`** method of the NavigationPrecommitController interface redirects the browser to a specified URL and specifies history behavior and any desired state information.
23981
+ *
23982
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController/redirect)
23983
+ */
23984
+ redirect(url: string | URL, options?: NavigationNavigateOptions): void;
23985
+ }
23986
+
23987
+ declare var NavigationPrecommitController: {
23988
+ prototype: NavigationPrecommitController;
23989
+ new(): NavigationPrecommitController;
23990
+ };
23991
+
23641
23992
  /**
23642
23993
  * The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
23643
23994
  * Available only in secure contexts.
@@ -23676,6 +24027,38 @@ declare var NavigationPreloadManager: {
23676
24027
  new(): NavigationPreloadManager;
23677
24028
  };
23678
24029
 
24030
+ /**
24031
+ * 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.
24032
+ *
24033
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
24034
+ */
24035
+ interface NavigationTransition {
24036
+ readonly committed: Promise<void>;
24037
+ /**
24038
+ * 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.
24039
+ *
24040
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/finished)
24041
+ */
24042
+ readonly finished: Promise<void>;
24043
+ /**
24044
+ * The **`from`** read-only property of the NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.
24045
+ *
24046
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/from)
24047
+ */
24048
+ readonly from: NavigationHistoryEntry;
24049
+ /**
24050
+ * The **`navigationType`** read-only property of the NavigationTransition interface returns the type of the ongoing navigation.
24051
+ *
24052
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/navigationType)
24053
+ */
24054
+ readonly navigationType: NavigationType;
24055
+ }
24056
+
24057
+ declare var NavigationTransition: {
24058
+ prototype: NavigationTransition;
24059
+ new(): NavigationTransition;
24060
+ };
24061
+
23679
24062
  /**
23680
24063
  * 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.
23681
24064
  *
@@ -24019,7 +24402,7 @@ interface Node extends EventTarget {
24019
24402
  */
24020
24403
  appendChild<T extends Node>(node: T): T;
24021
24404
  /**
24022
- * 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.
24405
+ * 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.
24023
24406
  *
24024
24407
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)
24025
24408
  */
@@ -24818,6 +25201,11 @@ declare var PageTransitionEvent: {
24818
25201
  new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;
24819
25202
  };
24820
25203
 
25204
+ interface PaintTimingMixin {
25205
+ readonly paintTime: DOMHighResTimeStamp;
25206
+ readonly presentationTime: DOMHighResTimeStamp | null;
25207
+ }
25208
+
24821
25209
  /**
24822
25210
  * 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.
24823
25211
  *
@@ -25333,6 +25721,7 @@ interface Performance extends EventTarget {
25333
25721
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/eventCounts)
25334
25722
  */
25335
25723
  readonly eventCounts: EventCounts;
25724
+ readonly interactionCount: number;
25336
25725
  /**
25337
25726
  * 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.
25338
25727
  * @deprecated
@@ -25758,7 +26147,7 @@ declare var PerformanceObserverEntryList: {
25758
26147
  *
25759
26148
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
25760
26149
  */
25761
- interface PerformancePaintTiming extends PerformanceEntry {
26150
+ interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
25762
26151
  toJSON(): any;
25763
26152
  }
25764
26153
 
@@ -28655,6 +29044,19 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28655
29044
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/download)
28656
29045
  */
28657
29046
  download: string;
29047
+ /**
29048
+ * The **`hreflang`** property of the SVGAElement interface returns a string indicating the language of the linked resource.
29049
+ *
29050
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/hreflang)
29051
+ */
29052
+ hreflang: string;
29053
+ /**
29054
+ * 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.
29055
+ *
29056
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/ping)
29057
+ */
29058
+ ping: string;
29059
+ referrerPolicy: string;
28658
29060
  /**
28659
29061
  * The **`rel`** property of the SVGAElement returns a string reflecting the value of the rel attribute of the SVG <a> element.
28660
29062
  *
@@ -28662,7 +29064,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28662
29064
  */
28663
29065
  rel: string;
28664
29066
  /**
28665
- * 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.
29067
+ * 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.
28666
29068
  *
28667
29069
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/relList)
28668
29070
  */
@@ -28674,6 +29076,12 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28674
29076
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/target)
28675
29077
  */
28676
29078
  readonly target: SVGAnimatedString;
29079
+ /**
29080
+ * The **`type`** property of the SVGAElement interface returns a string indicating the MIME type of the linked resource.
29081
+ *
29082
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/type)
29083
+ */
29084
+ type: string;
28677
29085
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
28678
29086
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
28679
29087
  removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -33942,7 +34350,7 @@ interface StyleSheet {
33942
34350
  */
33943
34351
  readonly href: string | null;
33944
34352
  /**
33945
- * 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().
34353
+ * The read-only **`media`** property of the StyleSheet interface contains a MediaList object representing the intended destination media for style information.
33946
34354
  *
33947
34355
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/media)
33948
34356
  */
@@ -34255,14 +34663,14 @@ interface TextDecoderCommon {
34255
34663
  }
34256
34664
 
34257
34665
  /**
34258
- * 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.
34666
+ * 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.
34259
34667
  *
34260
34668
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
34261
34669
  */
34262
34670
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
34263
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
34671
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
34264
34672
  readonly readable: ReadableStream<string>;
34265
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
34673
+ /** 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. */
34266
34674
  readonly writable: WritableStream<BufferSource>;
34267
34675
  }
34268
34676
 
@@ -34306,14 +34714,14 @@ interface TextEncoderCommon {
34306
34714
  }
34307
34715
 
34308
34716
  /**
34309
- * 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.
34717
+ * 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.
34310
34718
  *
34311
34719
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
34312
34720
  */
34313
34721
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
34314
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
34722
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
34315
34723
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
34316
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
34724
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
34317
34725
  readonly writable: WritableStream<string>;
34318
34726
  }
34319
34727
 
@@ -34897,13 +35305,13 @@ declare var TrackEvent: {
34897
35305
  */
34898
35306
  interface TransformStream<I = any, O = any> {
34899
35307
  /**
34900
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
35308
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
34901
35309
  *
34902
35310
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
34903
35311
  */
34904
35312
  readonly readable: ReadableStream<O>;
34905
35313
  /**
34906
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
35314
+ * 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.
34907
35315
  *
34908
35316
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
34909
35317
  */
@@ -35978,7 +36386,7 @@ interface VisualViewportEventMap {
35978
36386
  }
35979
36387
 
35980
36388
  /**
35981
- * 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.
36389
+ * 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.
35982
36390
  *
35983
36391
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport)
35984
36392
  */
@@ -39027,7 +39435,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39027
39435
  */
39028
39436
  readonly length: number;
39029
39437
  /**
39030
- * The **`Window.location`** read-only property returns a Location object with information about the current location of the document.
39438
+ * The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
39031
39439
  *
39032
39440
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
39033
39441
  */
@@ -39051,6 +39459,12 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39051
39459
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/name)
39052
39460
  */
39053
39461
  name: string;
39462
+ /**
39463
+ * The **`navigation`** read-only property of the Window interface returns the current window's associated Navigation object.
39464
+ *
39465
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigation)
39466
+ */
39467
+ readonly navigation: Navigation;
39054
39468
  /**
39055
39469
  * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
39056
39470
  *
@@ -39451,7 +39865,7 @@ interface WindowEventHandlers {
39451
39865
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
39452
39866
  onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
39453
39867
  /**
39454
- * @deprecated
39868
+ * @deprecated The unload event is not reliable, consider visibilitychange or pagehide events.
39455
39869
  *
39456
39870
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
39457
39871
  */
@@ -40738,6 +41152,14 @@ interface MutationCallback {
40738
41152
  (mutations: MutationRecord[], observer: MutationObserver): void;
40739
41153
  }
40740
41154
 
41155
+ interface NavigationInterceptHandler {
41156
+ (): void | PromiseLike<void>;
41157
+ }
41158
+
41159
+ interface NavigationPrecommitHandler {
41160
+ (controller: NavigationPrecommitController): void | PromiseLike<void>;
41161
+ }
41162
+
40741
41163
  interface NotificationPermissionCallback {
40742
41164
  (permission: NotificationPermission): void;
40743
41165
  }
@@ -41195,7 +41617,7 @@ declare var innerWidth: number;
41195
41617
  */
41196
41618
  declare var length: number;
41197
41619
  /**
41198
- * The **`Window.location`** read-only property returns a Location object with information about the current location of the document.
41620
+ * The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
41199
41621
  *
41200
41622
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
41201
41623
  */
@@ -41219,6 +41641,12 @@ declare var menubar: BarProp;
41219
41641
  */
41220
41642
  /** @deprecated */
41221
41643
  declare const name: void;
41644
+ /**
41645
+ * The **`navigation`** read-only property of the Window interface returns the current window's associated Navigation object.
41646
+ *
41647
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigation)
41648
+ */
41649
+ declare var navigation: Navigation;
41222
41650
  /**
41223
41651
  * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
41224
41652
  *
@@ -41820,7 +42248,7 @@ declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;
41820
42248
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
41821
42249
  declare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
41822
42250
  /**
41823
- * @deprecated
42251
+ * @deprecated The unload event is not reliable, consider visibilitychange or pagehide events.
41824
42252
  *
41825
42253
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
41826
42254
  */
@@ -42056,6 +42484,9 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required";
42056
42484
  type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
42057
42485
  type MediaSessionPlaybackState = "none" | "paused" | "playing";
42058
42486
  type MediaStreamTrackState = "ended" | "live";
42487
+ type NavigationFocusReset = "after-transition" | "manual";
42488
+ type NavigationHistoryBehavior = "auto" | "push" | "replace";
42489
+ type NavigationScrollBehavior = "after-transition" | "manual";
42059
42490
  type NavigationTimingType = "back_forward" | "navigate" | "reload";
42060
42491
  type NavigationType = "push" | "reload" | "replace" | "traverse";
42061
42492
  type NotificationDirection = "auto" | "ltr" | "rtl";