@types/web 0.0.340 → 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.340 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.340.
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
@@ -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.
@@ -19582,7 +19590,7 @@ interface HTMLMediaElement extends HTMLElement {
19582
19590
  */
19583
19591
  canPlayType(type: string): CanPlayTypeResult;
19584
19592
  /**
19585
- * 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.
19586
19594
  *
19587
19595
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19588
19596
  */
@@ -21324,7 +21332,11 @@ interface HTMLTemplateElement extends HTMLElement {
21324
21332
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21325
21333
  */
21326
21334
  shadowRootClonable: boolean;
21327
- /** [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
+ */
21328
21340
  shadowRootCustomElementRegistry: string;
21329
21341
  /**
21330
21342
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.340",
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
@@ -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.
@@ -19561,7 +19569,7 @@ interface HTMLMediaElement extends HTMLElement {
19561
19569
  */
19562
19570
  canPlayType(type: string): CanPlayTypeResult;
19563
19571
  /**
19564
- * 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.
19565
19573
  *
19566
19574
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19567
19575
  */
@@ -21300,7 +21308,11 @@ interface HTMLTemplateElement extends HTMLElement {
21300
21308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21301
21309
  */
21302
21310
  shadowRootClonable: boolean;
21303
- /** [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
+ */
21304
21316
  shadowRootCustomElementRegistry: string;
21305
21317
  /**
21306
21318
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
package/ts5.6/index.d.ts CHANGED
@@ -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.
@@ -19579,7 +19587,7 @@ interface HTMLMediaElement extends HTMLElement {
19579
19587
  */
19580
19588
  canPlayType(type: string): CanPlayTypeResult;
19581
19589
  /**
19582
- * 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.
19583
19591
  *
19584
19592
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19585
19593
  */
@@ -21321,7 +21329,11 @@ interface HTMLTemplateElement extends HTMLElement {
21321
21329
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21322
21330
  */
21323
21331
  shadowRootClonable: boolean;
21324
- /** [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
+ */
21325
21337
  shadowRootCustomElementRegistry: string;
21326
21338
  /**
21327
21339
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
package/ts5.9/index.d.ts CHANGED
@@ -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.
@@ -19579,7 +19587,7 @@ interface HTMLMediaElement extends HTMLElement {
19579
19587
  */
19580
19588
  canPlayType(type: string): CanPlayTypeResult;
19581
19589
  /**
19582
- * 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.
19583
19591
  *
19584
19592
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
19585
19593
  */
@@ -21321,7 +21329,11 @@ interface HTMLTemplateElement extends HTMLElement {
21321
21329
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21322
21330
  */
21323
21331
  shadowRootClonable: boolean;
21324
- /** [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
+ */
21325
21337
  shadowRootCustomElementRegistry: string;
21326
21338
  /**
21327
21339
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.