@types/web 0.0.339 → 0.0.341

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/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.339 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.339.
50
+ You can read what changed in version 0.0.341 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.341.
package/index.d.ts CHANGED
@@ -354,7 +354,7 @@ interface CSSNumericType {
354
354
  }
355
355
 
356
356
  interface CSSStyleSheetInit {
357
- baseURL?: string;
357
+ baseURL?: string | null;
358
358
  disabled?: boolean;
359
359
  media?: MediaList | string;
360
360
  }
@@ -5379,7 +5379,7 @@ declare var CSSCounterStyleRule: {
5379
5379
  */
5380
5380
  interface CSSFontFaceRule extends CSSRule {
5381
5381
  /**
5382
- * The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
5382
+ * The read-only **`style`** property of the CSSFontFaceRule interface returns a CSSFontFaceDescriptors object representing the descriptors available in the @font-face rule's body.
5383
5383
  *
5384
5384
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
5385
5385
  */
@@ -7392,7 +7392,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7392
7392
  */
7393
7393
  columnWidth: string;
7394
7394
  /**
7395
- * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
7395
+ * The **`columns`** CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.
7396
7396
  *
7397
7397
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/columns)
7398
7398
  */
@@ -11291,7 +11291,7 @@ declare var CryptoKey: {
11291
11291
  };
11292
11292
 
11293
11293
  /**
11294
- * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
11294
+ * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. To create a scoped registry, use the CustomElementRegistry() constructor.
11295
11295
  *
11296
11296
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
11297
11297
  */
@@ -11314,7 +11314,11 @@ interface CustomElementRegistry {
11314
11314
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
11315
11315
  */
11316
11316
  getName(constructor: CustomElementConstructor): string | null;
11317
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
11317
+ /**
11318
+ * The **`initialize()`** method of the CustomElementRegistry interface associates this registry with a DOM subtree, setting the customElementRegistry of each inclusive descendant that doesn't already have one, and attempting to upgrade any custom elements found.
11319
+ *
11320
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize)
11321
+ */
11318
11322
  initialize(root: Node): void;
11319
11323
  /**
11320
11324
  * The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
@@ -13624,7 +13628,11 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13624
13628
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
13625
13629
  */
13626
13630
  readonly currentCSSZoom: number;
13627
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
13631
+ /**
13632
+ * The **`customElementRegistry`** read-only property of the Element interface returns the CustomElementRegistry object associated with this element, or null if one has not been set.
13633
+ *
13634
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry)
13635
+ */
13628
13636
  readonly customElementRegistry: CustomElementRegistry | null;
13629
13637
  /**
13630
13638
  * The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
@@ -17099,7 +17107,7 @@ declare var HTMLAllCollection: {
17099
17107
  *
17100
17108
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17101
17109
  */
17102
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17110
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17103
17111
  /** @deprecated */
17104
17112
  charset: string;
17105
17113
  /** @deprecated */
@@ -17181,7 +17189,7 @@ declare var HTMLAnchorElement: {
17181
17189
  *
17182
17190
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17183
17191
  */
17184
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17192
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17185
17193
  /**
17186
17194
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17187
17195
  *
@@ -18433,30 +18441,6 @@ declare var HTMLHtmlElement: {
18433
18441
  };
18434
18442
 
18435
18443
  interface HTMLHyperlinkElementUtils {
18436
- /**
18437
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18438
- *
18439
- * Can be set, to change the URL's fragment (ignores leading "#").
18440
- *
18441
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18442
- */
18443
- hash: string;
18444
- /**
18445
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18446
- *
18447
- * Can be set, to change the URL's host and port.
18448
- *
18449
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18450
- */
18451
- host: string;
18452
- /**
18453
- * Returns the hyperlink's URL's host.
18454
- *
18455
- * Can be set, to change the URL's host.
18456
- *
18457
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18458
- */
18459
- hostname: string;
18460
18444
  /**
18461
18445
  * Returns the hyperlink's URL.
18462
18446
  *
@@ -18466,60 +18450,6 @@ interface HTMLHyperlinkElementUtils {
18466
18450
  */
18467
18451
  href: string;
18468
18452
  toString(): string;
18469
- /**
18470
- * Returns the hyperlink's URL's origin.
18471
- *
18472
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18473
- */
18474
- readonly origin: string;
18475
- /**
18476
- * Returns the hyperlink's URL's password.
18477
- *
18478
- * Can be set, to change the URL's password.
18479
- *
18480
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18481
- */
18482
- password: string;
18483
- /**
18484
- * Returns the hyperlink's URL's path.
18485
- *
18486
- * Can be set, to change the URL's path.
18487
- *
18488
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18489
- */
18490
- pathname: string;
18491
- /**
18492
- * Returns the hyperlink's URL's port.
18493
- *
18494
- * Can be set, to change the URL's port.
18495
- *
18496
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18497
- */
18498
- port: string;
18499
- /**
18500
- * Returns the hyperlink's URL's scheme.
18501
- *
18502
- * Can be set, to change the URL's scheme.
18503
- *
18504
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18505
- */
18506
- protocol: string;
18507
- /**
18508
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18509
- *
18510
- * Can be set, to change the URL's query (ignores leading "?").
18511
- *
18512
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18513
- */
18514
- search: string;
18515
- /**
18516
- * Returns the hyperlink's URL's username.
18517
- *
18518
- * Can be set, to change the URL's username.
18519
- *
18520
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18521
- */
18522
- username: string;
18523
18453
  }
18524
18454
 
18525
18455
  /**
@@ -19660,7 +19590,7 @@ interface HTMLMediaElement extends HTMLElement {
19660
19590
  */
19661
19591
  canPlayType(type: string): CanPlayTypeResult;
19662
19592
  /**
19663
- * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
19593
+ * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object that streams a real-time capture of the content being rendered in the media element.
19664
19594
  *
19665
19595
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19666
19596
  */
@@ -21402,7 +21332,11 @@ interface HTMLTemplateElement extends HTMLElement {
21402
21332
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21403
21333
  */
21404
21334
  shadowRootClonable: boolean;
21405
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
21335
+ /**
21336
+ * The **`shadowRootCustomElementRegistry`** property of the HTMLTemplateElement interface reflects the value of the shadowrootcustomelementregistry attribute of the associated <template> element.
21337
+ *
21338
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry)
21339
+ */
21406
21340
  shadowRootCustomElementRegistry: string;
21407
21341
  /**
21408
21342
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
@@ -22050,6 +21984,87 @@ declare var History: {
22050
21984
  new(): History;
22051
21985
  };
22052
21986
 
21987
+ interface HyperlinkElementUtils {
21988
+ /**
21989
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21990
+ *
21991
+ * Can be set, to change the URL's fragment (ignores leading "#").
21992
+ *
21993
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21994
+ */
21995
+ hash: string;
21996
+ /**
21997
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21998
+ *
21999
+ * Can be set, to change the URL's host and port.
22000
+ *
22001
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
22002
+ */
22003
+ host: string;
22004
+ /**
22005
+ * Returns the hyperlink's URL's host.
22006
+ *
22007
+ * Can be set, to change the URL's host.
22008
+ *
22009
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
22010
+ */
22011
+ hostname: string;
22012
+ /**
22013
+ * Returns the hyperlink's URL's origin.
22014
+ *
22015
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
22016
+ */
22017
+ readonly origin: string;
22018
+ /**
22019
+ * Returns the hyperlink's URL's password.
22020
+ *
22021
+ * Can be set, to change the URL's password.
22022
+ *
22023
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22024
+ */
22025
+ password: string;
22026
+ /**
22027
+ * Returns the hyperlink's URL's path.
22028
+ *
22029
+ * Can be set, to change the URL's path.
22030
+ *
22031
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22032
+ */
22033
+ pathname: string;
22034
+ /**
22035
+ * Returns the hyperlink's URL's port.
22036
+ *
22037
+ * Can be set, to change the URL's port.
22038
+ *
22039
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22040
+ */
22041
+ port: string;
22042
+ /**
22043
+ * Returns the hyperlink's URL's scheme.
22044
+ *
22045
+ * Can be set, to change the URL's scheme.
22046
+ *
22047
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22048
+ */
22049
+ protocol: string;
22050
+ /**
22051
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22052
+ *
22053
+ * Can be set, to change the URL's query (ignores leading "?").
22054
+ *
22055
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22056
+ */
22057
+ search: string;
22058
+ /**
22059
+ * Returns the hyperlink's URL's username.
22060
+ *
22061
+ * Can be set, to change the URL's username.
22062
+ *
22063
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22064
+ */
22065
+ username: string;
22066
+ }
22067
+
22053
22068
  /**
22054
22069
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22055
22070
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.339",
3
+ "version": "0.0.341",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -351,7 +351,7 @@ interface CSSNumericType {
351
351
  }
352
352
 
353
353
  interface CSSStyleSheetInit {
354
- baseURL?: string;
354
+ baseURL?: string | null;
355
355
  disabled?: boolean;
356
356
  media?: MediaList | string;
357
357
  }
@@ -5376,7 +5376,7 @@ declare var CSSCounterStyleRule: {
5376
5376
  */
5377
5377
  interface CSSFontFaceRule extends CSSRule {
5378
5378
  /**
5379
- * The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
5379
+ * The read-only **`style`** property of the CSSFontFaceRule interface returns a CSSFontFaceDescriptors object representing the descriptors available in the @font-face rule's body.
5380
5380
  *
5381
5381
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
5382
5382
  */
@@ -7382,7 +7382,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7382
7382
  */
7383
7383
  columnWidth: string;
7384
7384
  /**
7385
- * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
7385
+ * The **`columns`** CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.
7386
7386
  *
7387
7387
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/columns)
7388
7388
  */
@@ -11280,7 +11280,7 @@ declare var CryptoKey: {
11280
11280
  };
11281
11281
 
11282
11282
  /**
11283
- * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
11283
+ * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. To create a scoped registry, use the CustomElementRegistry() constructor.
11284
11284
  *
11285
11285
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
11286
11286
  */
@@ -11303,7 +11303,11 @@ interface CustomElementRegistry {
11303
11303
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
11304
11304
  */
11305
11305
  getName(constructor: CustomElementConstructor): string | null;
11306
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
11306
+ /**
11307
+ * The **`initialize()`** method of the CustomElementRegistry interface associates this registry with a DOM subtree, setting the customElementRegistry of each inclusive descendant that doesn't already have one, and attempting to upgrade any custom elements found.
11308
+ *
11309
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize)
11310
+ */
11307
11311
  initialize(root: Node): void;
11308
11312
  /**
11309
11313
  * The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
@@ -13612,7 +13616,11 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13612
13616
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
13613
13617
  */
13614
13618
  readonly currentCSSZoom: number;
13615
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
13619
+ /**
13620
+ * The **`customElementRegistry`** read-only property of the Element interface returns the CustomElementRegistry object associated with this element, or null if one has not been set.
13621
+ *
13622
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry)
13623
+ */
13616
13624
  readonly customElementRegistry: CustomElementRegistry | null;
13617
13625
  /**
13618
13626
  * The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
@@ -17085,7 +17093,7 @@ declare var HTMLAllCollection: {
17085
17093
  *
17086
17094
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17087
17095
  */
17088
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17096
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17089
17097
  /** @deprecated */
17090
17098
  charset: string;
17091
17099
  /** @deprecated */
@@ -17166,7 +17174,7 @@ declare var HTMLAnchorElement: {
17166
17174
  *
17167
17175
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17168
17176
  */
17169
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17177
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17170
17178
  /**
17171
17179
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17172
17180
  *
@@ -18416,30 +18424,6 @@ declare var HTMLHtmlElement: {
18416
18424
  };
18417
18425
 
18418
18426
  interface HTMLHyperlinkElementUtils {
18419
- /**
18420
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18421
- *
18422
- * Can be set, to change the URL's fragment (ignores leading "#").
18423
- *
18424
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18425
- */
18426
- hash: string;
18427
- /**
18428
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18429
- *
18430
- * Can be set, to change the URL's host and port.
18431
- *
18432
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18433
- */
18434
- host: string;
18435
- /**
18436
- * Returns the hyperlink's URL's host.
18437
- *
18438
- * Can be set, to change the URL's host.
18439
- *
18440
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18441
- */
18442
- hostname: string;
18443
18427
  /**
18444
18428
  * Returns the hyperlink's URL.
18445
18429
  *
@@ -18449,60 +18433,6 @@ interface HTMLHyperlinkElementUtils {
18449
18433
  */
18450
18434
  href: string;
18451
18435
  toString(): string;
18452
- /**
18453
- * Returns the hyperlink's URL's origin.
18454
- *
18455
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18456
- */
18457
- readonly origin: string;
18458
- /**
18459
- * Returns the hyperlink's URL's password.
18460
- *
18461
- * Can be set, to change the URL's password.
18462
- *
18463
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18464
- */
18465
- password: string;
18466
- /**
18467
- * Returns the hyperlink's URL's path.
18468
- *
18469
- * Can be set, to change the URL's path.
18470
- *
18471
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18472
- */
18473
- pathname: string;
18474
- /**
18475
- * Returns the hyperlink's URL's port.
18476
- *
18477
- * Can be set, to change the URL's port.
18478
- *
18479
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18480
- */
18481
- port: string;
18482
- /**
18483
- * Returns the hyperlink's URL's scheme.
18484
- *
18485
- * Can be set, to change the URL's scheme.
18486
- *
18487
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18488
- */
18489
- protocol: string;
18490
- /**
18491
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18492
- *
18493
- * Can be set, to change the URL's query (ignores leading "?").
18494
- *
18495
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18496
- */
18497
- search: string;
18498
- /**
18499
- * Returns the hyperlink's URL's username.
18500
- *
18501
- * Can be set, to change the URL's username.
18502
- *
18503
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18504
- */
18505
- username: string;
18506
18436
  }
18507
18437
 
18508
18438
  /**
@@ -19639,7 +19569,7 @@ interface HTMLMediaElement extends HTMLElement {
19639
19569
  */
19640
19570
  canPlayType(type: string): CanPlayTypeResult;
19641
19571
  /**
19642
- * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
19572
+ * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object that streams a real-time capture of the content being rendered in the media element.
19643
19573
  *
19644
19574
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19645
19575
  */
@@ -21378,7 +21308,11 @@ interface HTMLTemplateElement extends HTMLElement {
21378
21308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21379
21309
  */
21380
21310
  shadowRootClonable: boolean;
21381
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
21311
+ /**
21312
+ * The **`shadowRootCustomElementRegistry`** property of the HTMLTemplateElement interface reflects the value of the shadowrootcustomelementregistry attribute of the associated <template> element.
21313
+ *
21314
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry)
21315
+ */
21382
21316
  shadowRootCustomElementRegistry: string;
21383
21317
  /**
21384
21318
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
@@ -22026,6 +21960,87 @@ declare var History: {
22026
21960
  new(): History;
22027
21961
  };
22028
21962
 
21963
+ interface HyperlinkElementUtils {
21964
+ /**
21965
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21966
+ *
21967
+ * Can be set, to change the URL's fragment (ignores leading "#").
21968
+ *
21969
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21970
+ */
21971
+ hash: string;
21972
+ /**
21973
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21974
+ *
21975
+ * Can be set, to change the URL's host and port.
21976
+ *
21977
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21978
+ */
21979
+ host: string;
21980
+ /**
21981
+ * Returns the hyperlink's URL's host.
21982
+ *
21983
+ * Can be set, to change the URL's host.
21984
+ *
21985
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
21986
+ */
21987
+ hostname: string;
21988
+ /**
21989
+ * Returns the hyperlink's URL's origin.
21990
+ *
21991
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
21992
+ */
21993
+ readonly origin: string;
21994
+ /**
21995
+ * Returns the hyperlink's URL's password.
21996
+ *
21997
+ * Can be set, to change the URL's password.
21998
+ *
21999
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22000
+ */
22001
+ password: string;
22002
+ /**
22003
+ * Returns the hyperlink's URL's path.
22004
+ *
22005
+ * Can be set, to change the URL's path.
22006
+ *
22007
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22008
+ */
22009
+ pathname: string;
22010
+ /**
22011
+ * Returns the hyperlink's URL's port.
22012
+ *
22013
+ * Can be set, to change the URL's port.
22014
+ *
22015
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22016
+ */
22017
+ port: string;
22018
+ /**
22019
+ * Returns the hyperlink's URL's scheme.
22020
+ *
22021
+ * Can be set, to change the URL's scheme.
22022
+ *
22023
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22024
+ */
22025
+ protocol: string;
22026
+ /**
22027
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22028
+ *
22029
+ * Can be set, to change the URL's query (ignores leading "?").
22030
+ *
22031
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22032
+ */
22033
+ search: string;
22034
+ /**
22035
+ * Returns the hyperlink's URL's username.
22036
+ *
22037
+ * Can be set, to change the URL's username.
22038
+ *
22039
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22040
+ */
22041
+ username: string;
22042
+ }
22043
+
22029
22044
  /**
22030
22045
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22031
22046
  *
package/ts5.6/index.d.ts CHANGED
@@ -351,7 +351,7 @@ interface CSSNumericType {
351
351
  }
352
352
 
353
353
  interface CSSStyleSheetInit {
354
- baseURL?: string;
354
+ baseURL?: string | null;
355
355
  disabled?: boolean;
356
356
  media?: MediaList | string;
357
357
  }
@@ -5376,7 +5376,7 @@ declare var CSSCounterStyleRule: {
5376
5376
  */
5377
5377
  interface CSSFontFaceRule extends CSSRule {
5378
5378
  /**
5379
- * The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
5379
+ * The read-only **`style`** property of the CSSFontFaceRule interface returns a CSSFontFaceDescriptors object representing the descriptors available in the @font-face rule's body.
5380
5380
  *
5381
5381
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
5382
5382
  */
@@ -7389,7 +7389,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7389
7389
  */
7390
7390
  columnWidth: string;
7391
7391
  /**
7392
- * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
7392
+ * The **`columns`** CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.
7393
7393
  *
7394
7394
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/columns)
7395
7395
  */
@@ -11288,7 +11288,7 @@ declare var CryptoKey: {
11288
11288
  };
11289
11289
 
11290
11290
  /**
11291
- * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
11291
+ * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. To create a scoped registry, use the CustomElementRegistry() constructor.
11292
11292
  *
11293
11293
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
11294
11294
  */
@@ -11311,7 +11311,11 @@ interface CustomElementRegistry {
11311
11311
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
11312
11312
  */
11313
11313
  getName(constructor: CustomElementConstructor): string | null;
11314
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
11314
+ /**
11315
+ * The **`initialize()`** method of the CustomElementRegistry interface associates this registry with a DOM subtree, setting the customElementRegistry of each inclusive descendant that doesn't already have one, and attempting to upgrade any custom elements found.
11316
+ *
11317
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize)
11318
+ */
11315
11319
  initialize(root: Node): void;
11316
11320
  /**
11317
11321
  * The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
@@ -13621,7 +13625,11 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13621
13625
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
13622
13626
  */
13623
13627
  readonly currentCSSZoom: number;
13624
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
13628
+ /**
13629
+ * The **`customElementRegistry`** read-only property of the Element interface returns the CustomElementRegistry object associated with this element, or null if one has not been set.
13630
+ *
13631
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry)
13632
+ */
13625
13633
  readonly customElementRegistry: CustomElementRegistry | null;
13626
13634
  /**
13627
13635
  * The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
@@ -17096,7 +17104,7 @@ declare var HTMLAllCollection: {
17096
17104
  *
17097
17105
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17098
17106
  */
17099
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17107
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17100
17108
  /** @deprecated */
17101
17109
  charset: string;
17102
17110
  /** @deprecated */
@@ -17178,7 +17186,7 @@ declare var HTMLAnchorElement: {
17178
17186
  *
17179
17187
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17180
17188
  */
17181
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17189
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17182
17190
  /**
17183
17191
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17184
17192
  *
@@ -18430,30 +18438,6 @@ declare var HTMLHtmlElement: {
18430
18438
  };
18431
18439
 
18432
18440
  interface HTMLHyperlinkElementUtils {
18433
- /**
18434
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18435
- *
18436
- * Can be set, to change the URL's fragment (ignores leading "#").
18437
- *
18438
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18439
- */
18440
- hash: string;
18441
- /**
18442
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18443
- *
18444
- * Can be set, to change the URL's host and port.
18445
- *
18446
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18447
- */
18448
- host: string;
18449
- /**
18450
- * Returns the hyperlink's URL's host.
18451
- *
18452
- * Can be set, to change the URL's host.
18453
- *
18454
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18455
- */
18456
- hostname: string;
18457
18441
  /**
18458
18442
  * Returns the hyperlink's URL.
18459
18443
  *
@@ -18463,60 +18447,6 @@ interface HTMLHyperlinkElementUtils {
18463
18447
  */
18464
18448
  href: string;
18465
18449
  toString(): string;
18466
- /**
18467
- * Returns the hyperlink's URL's origin.
18468
- *
18469
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18470
- */
18471
- readonly origin: string;
18472
- /**
18473
- * Returns the hyperlink's URL's password.
18474
- *
18475
- * Can be set, to change the URL's password.
18476
- *
18477
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18478
- */
18479
- password: string;
18480
- /**
18481
- * Returns the hyperlink's URL's path.
18482
- *
18483
- * Can be set, to change the URL's path.
18484
- *
18485
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18486
- */
18487
- pathname: string;
18488
- /**
18489
- * Returns the hyperlink's URL's port.
18490
- *
18491
- * Can be set, to change the URL's port.
18492
- *
18493
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18494
- */
18495
- port: string;
18496
- /**
18497
- * Returns the hyperlink's URL's scheme.
18498
- *
18499
- * Can be set, to change the URL's scheme.
18500
- *
18501
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18502
- */
18503
- protocol: string;
18504
- /**
18505
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18506
- *
18507
- * Can be set, to change the URL's query (ignores leading "?").
18508
- *
18509
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18510
- */
18511
- search: string;
18512
- /**
18513
- * Returns the hyperlink's URL's username.
18514
- *
18515
- * Can be set, to change the URL's username.
18516
- *
18517
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18518
- */
18519
- username: string;
18520
18450
  }
18521
18451
 
18522
18452
  /**
@@ -19657,7 +19587,7 @@ interface HTMLMediaElement extends HTMLElement {
19657
19587
  */
19658
19588
  canPlayType(type: string): CanPlayTypeResult;
19659
19589
  /**
19660
- * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
19590
+ * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object that streams a real-time capture of the content being rendered in the media element.
19661
19591
  *
19662
19592
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19663
19593
  */
@@ -21399,7 +21329,11 @@ interface HTMLTemplateElement extends HTMLElement {
21399
21329
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21400
21330
  */
21401
21331
  shadowRootClonable: boolean;
21402
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
21332
+ /**
21333
+ * The **`shadowRootCustomElementRegistry`** property of the HTMLTemplateElement interface reflects the value of the shadowrootcustomelementregistry attribute of the associated <template> element.
21334
+ *
21335
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry)
21336
+ */
21403
21337
  shadowRootCustomElementRegistry: string;
21404
21338
  /**
21405
21339
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
@@ -22047,6 +21981,87 @@ declare var History: {
22047
21981
  new(): History;
22048
21982
  };
22049
21983
 
21984
+ interface HyperlinkElementUtils {
21985
+ /**
21986
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21987
+ *
21988
+ * Can be set, to change the URL's fragment (ignores leading "#").
21989
+ *
21990
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21991
+ */
21992
+ hash: string;
21993
+ /**
21994
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21995
+ *
21996
+ * Can be set, to change the URL's host and port.
21997
+ *
21998
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21999
+ */
22000
+ host: string;
22001
+ /**
22002
+ * Returns the hyperlink's URL's host.
22003
+ *
22004
+ * Can be set, to change the URL's host.
22005
+ *
22006
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
22007
+ */
22008
+ hostname: string;
22009
+ /**
22010
+ * Returns the hyperlink's URL's origin.
22011
+ *
22012
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
22013
+ */
22014
+ readonly origin: string;
22015
+ /**
22016
+ * Returns the hyperlink's URL's password.
22017
+ *
22018
+ * Can be set, to change the URL's password.
22019
+ *
22020
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22021
+ */
22022
+ password: string;
22023
+ /**
22024
+ * Returns the hyperlink's URL's path.
22025
+ *
22026
+ * Can be set, to change the URL's path.
22027
+ *
22028
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22029
+ */
22030
+ pathname: string;
22031
+ /**
22032
+ * Returns the hyperlink's URL's port.
22033
+ *
22034
+ * Can be set, to change the URL's port.
22035
+ *
22036
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22037
+ */
22038
+ port: string;
22039
+ /**
22040
+ * Returns the hyperlink's URL's scheme.
22041
+ *
22042
+ * Can be set, to change the URL's scheme.
22043
+ *
22044
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22045
+ */
22046
+ protocol: string;
22047
+ /**
22048
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22049
+ *
22050
+ * Can be set, to change the URL's query (ignores leading "?").
22051
+ *
22052
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22053
+ */
22054
+ search: string;
22055
+ /**
22056
+ * Returns the hyperlink's URL's username.
22057
+ *
22058
+ * Can be set, to change the URL's username.
22059
+ *
22060
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22061
+ */
22062
+ username: string;
22063
+ }
22064
+
22050
22065
  /**
22051
22066
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22052
22067
  *
package/ts5.9/index.d.ts CHANGED
@@ -351,7 +351,7 @@ interface CSSNumericType {
351
351
  }
352
352
 
353
353
  interface CSSStyleSheetInit {
354
- baseURL?: string;
354
+ baseURL?: string | null;
355
355
  disabled?: boolean;
356
356
  media?: MediaList | string;
357
357
  }
@@ -5376,7 +5376,7 @@ declare var CSSCounterStyleRule: {
5376
5376
  */
5377
5377
  interface CSSFontFaceRule extends CSSRule {
5378
5378
  /**
5379
- * The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
5379
+ * The read-only **`style`** property of the CSSFontFaceRule interface returns a CSSFontFaceDescriptors object representing the descriptors available in the @font-face rule's body.
5380
5380
  *
5381
5381
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
5382
5382
  */
@@ -7389,7 +7389,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7389
7389
  */
7390
7390
  columnWidth: string;
7391
7391
  /**
7392
- * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
7392
+ * The **`columns`** CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.
7393
7393
  *
7394
7394
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/columns)
7395
7395
  */
@@ -11288,7 +11288,7 @@ declare var CryptoKey: {
11288
11288
  };
11289
11289
 
11290
11290
  /**
11291
- * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
11291
+ * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. To create a scoped registry, use the CustomElementRegistry() constructor.
11292
11292
  *
11293
11293
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
11294
11294
  */
@@ -11311,7 +11311,11 @@ interface CustomElementRegistry {
11311
11311
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
11312
11312
  */
11313
11313
  getName(constructor: CustomElementConstructor): string | null;
11314
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
11314
+ /**
11315
+ * The **`initialize()`** method of the CustomElementRegistry interface associates this registry with a DOM subtree, setting the customElementRegistry of each inclusive descendant that doesn't already have one, and attempting to upgrade any custom elements found.
11316
+ *
11317
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize)
11318
+ */
11315
11319
  initialize(root: Node): void;
11316
11320
  /**
11317
11321
  * The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
@@ -13621,7 +13625,11 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13621
13625
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
13622
13626
  */
13623
13627
  readonly currentCSSZoom: number;
13624
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
13628
+ /**
13629
+ * The **`customElementRegistry`** read-only property of the Element interface returns the CustomElementRegistry object associated with this element, or null if one has not been set.
13630
+ *
13631
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry)
13632
+ */
13625
13633
  readonly customElementRegistry: CustomElementRegistry | null;
13626
13634
  /**
13627
13635
  * The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
@@ -17096,7 +17104,7 @@ declare var HTMLAllCollection: {
17096
17104
  *
17097
17105
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17098
17106
  */
17099
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17107
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17100
17108
  /** @deprecated */
17101
17109
  charset: string;
17102
17110
  /** @deprecated */
@@ -17178,7 +17186,7 @@ declare var HTMLAnchorElement: {
17178
17186
  *
17179
17187
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17180
17188
  */
17181
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17189
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17182
17190
  /**
17183
17191
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17184
17192
  *
@@ -18430,30 +18438,6 @@ declare var HTMLHtmlElement: {
18430
18438
  };
18431
18439
 
18432
18440
  interface HTMLHyperlinkElementUtils {
18433
- /**
18434
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18435
- *
18436
- * Can be set, to change the URL's fragment (ignores leading "#").
18437
- *
18438
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18439
- */
18440
- hash: string;
18441
- /**
18442
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18443
- *
18444
- * Can be set, to change the URL's host and port.
18445
- *
18446
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18447
- */
18448
- host: string;
18449
- /**
18450
- * Returns the hyperlink's URL's host.
18451
- *
18452
- * Can be set, to change the URL's host.
18453
- *
18454
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18455
- */
18456
- hostname: string;
18457
18441
  /**
18458
18442
  * Returns the hyperlink's URL.
18459
18443
  *
@@ -18463,60 +18447,6 @@ interface HTMLHyperlinkElementUtils {
18463
18447
  */
18464
18448
  href: string;
18465
18449
  toString(): string;
18466
- /**
18467
- * Returns the hyperlink's URL's origin.
18468
- *
18469
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18470
- */
18471
- readonly origin: string;
18472
- /**
18473
- * Returns the hyperlink's URL's password.
18474
- *
18475
- * Can be set, to change the URL's password.
18476
- *
18477
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18478
- */
18479
- password: string;
18480
- /**
18481
- * Returns the hyperlink's URL's path.
18482
- *
18483
- * Can be set, to change the URL's path.
18484
- *
18485
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18486
- */
18487
- pathname: string;
18488
- /**
18489
- * Returns the hyperlink's URL's port.
18490
- *
18491
- * Can be set, to change the URL's port.
18492
- *
18493
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18494
- */
18495
- port: string;
18496
- /**
18497
- * Returns the hyperlink's URL's scheme.
18498
- *
18499
- * Can be set, to change the URL's scheme.
18500
- *
18501
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18502
- */
18503
- protocol: string;
18504
- /**
18505
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18506
- *
18507
- * Can be set, to change the URL's query (ignores leading "?").
18508
- *
18509
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18510
- */
18511
- search: string;
18512
- /**
18513
- * Returns the hyperlink's URL's username.
18514
- *
18515
- * Can be set, to change the URL's username.
18516
- *
18517
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18518
- */
18519
- username: string;
18520
18450
  }
18521
18451
 
18522
18452
  /**
@@ -19657,7 +19587,7 @@ interface HTMLMediaElement extends HTMLElement {
19657
19587
  */
19658
19588
  canPlayType(type: string): CanPlayTypeResult;
19659
19589
  /**
19660
- * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
19590
+ * The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object that streams a real-time capture of the content being rendered in the media element.
19661
19591
  *
19662
19592
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19663
19593
  */
@@ -21399,7 +21329,11 @@ interface HTMLTemplateElement extends HTMLElement {
21399
21329
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21400
21330
  */
21401
21331
  shadowRootClonable: boolean;
21402
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
21332
+ /**
21333
+ * The **`shadowRootCustomElementRegistry`** property of the HTMLTemplateElement interface reflects the value of the shadowrootcustomelementregistry attribute of the associated <template> element.
21334
+ *
21335
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry)
21336
+ */
21403
21337
  shadowRootCustomElementRegistry: string;
21404
21338
  /**
21405
21339
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
@@ -22047,6 +21981,87 @@ declare var History: {
22047
21981
  new(): History;
22048
21982
  };
22049
21983
 
21984
+ interface HyperlinkElementUtils {
21985
+ /**
21986
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21987
+ *
21988
+ * Can be set, to change the URL's fragment (ignores leading "#").
21989
+ *
21990
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21991
+ */
21992
+ hash: string;
21993
+ /**
21994
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21995
+ *
21996
+ * Can be set, to change the URL's host and port.
21997
+ *
21998
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21999
+ */
22000
+ host: string;
22001
+ /**
22002
+ * Returns the hyperlink's URL's host.
22003
+ *
22004
+ * Can be set, to change the URL's host.
22005
+ *
22006
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
22007
+ */
22008
+ hostname: string;
22009
+ /**
22010
+ * Returns the hyperlink's URL's origin.
22011
+ *
22012
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
22013
+ */
22014
+ readonly origin: string;
22015
+ /**
22016
+ * Returns the hyperlink's URL's password.
22017
+ *
22018
+ * Can be set, to change the URL's password.
22019
+ *
22020
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22021
+ */
22022
+ password: string;
22023
+ /**
22024
+ * Returns the hyperlink's URL's path.
22025
+ *
22026
+ * Can be set, to change the URL's path.
22027
+ *
22028
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22029
+ */
22030
+ pathname: string;
22031
+ /**
22032
+ * Returns the hyperlink's URL's port.
22033
+ *
22034
+ * Can be set, to change the URL's port.
22035
+ *
22036
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22037
+ */
22038
+ port: string;
22039
+ /**
22040
+ * Returns the hyperlink's URL's scheme.
22041
+ *
22042
+ * Can be set, to change the URL's scheme.
22043
+ *
22044
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22045
+ */
22046
+ protocol: string;
22047
+ /**
22048
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22049
+ *
22050
+ * Can be set, to change the URL's query (ignores leading "?").
22051
+ *
22052
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22053
+ */
22054
+ search: string;
22055
+ /**
22056
+ * Returns the hyperlink's URL's username.
22057
+ *
22058
+ * Can be set, to change the URL's username.
22059
+ *
22060
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22061
+ */
22062
+ username: string;
22063
+ }
22064
+
22050
22065
  /**
22051
22066
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22052
22067
  *