@types/web 0.0.239 → 0.0.241

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.239 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.239.
50
+ You can read what changed in version 0.0.241 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.241.
package/index.d.ts CHANGED
@@ -3214,6 +3214,9 @@ interface Attr extends Node {
3214
3214
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
3215
3215
  */
3216
3216
  value: string;
3217
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
3218
+ get textContent(): string;
3219
+ set textContent(value: string | null);
3217
3220
  }
3218
3221
 
3219
3222
  declare var Attr: {
@@ -7914,6 +7917,9 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
7914
7917
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
7915
7918
  */
7916
7919
  substringData(offset: number, count: number): string;
7920
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
7921
+ get textContent(): string;
7922
+ set textContent(value: string | null);
7917
7923
  }
7918
7924
 
7919
7925
  declare var CharacterData: {
@@ -10368,6 +10374,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10368
10374
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
10369
10375
  */
10370
10376
  writeln(...text: string[]): void;
10377
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10378
+ get textContent(): null;
10371
10379
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
10372
10380
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
10373
10381
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -10378,7 +10386,7 @@ declare var Document: {
10378
10386
  prototype: Document;
10379
10387
  new(): Document;
10380
10388
  /**
10381
- * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse a string of HTML, which may contain declarative shadow roots, in order to create a new Document instance.
10389
+ * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10382
10390
  *
10383
10391
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
10384
10392
  */
@@ -10393,6 +10401,9 @@ declare var Document: {
10393
10401
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
10394
10402
  readonly ownerDocument: Document;
10395
10403
  getElementById(elementId: string): HTMLElement | null;
10404
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10405
+ get textContent(): string;
10406
+ set textContent(value: string | null);
10396
10407
  }
10397
10408
 
10398
10409
  declare var DocumentFragment: {
@@ -10469,6 +10480,8 @@ interface DocumentType extends Node, ChildNode {
10469
10480
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
10470
10481
  */
10471
10482
  readonly systemId: string;
10483
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10484
+ get textContent(): null;
10472
10485
  }
10473
10486
 
10474
10487
  declare var DocumentType: {
@@ -11047,7 +11060,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11047
11060
  */
11048
11061
  setAttributeNodeNS(attr: Attr): Attr | null;
11049
11062
  /**
11050
- * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, which then replaces the element's subtree in the DOM.
11063
+ * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11051
11064
  *
11052
11065
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
11053
11066
  */
@@ -11070,6 +11083,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11070
11083
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
11071
11084
  */
11072
11085
  webkitMatchesSelector(selectors: string): boolean;
11086
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
11087
+ get textContent(): string;
11088
+ set textContent(value: string | null);
11073
11089
  addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11074
11090
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
11075
11091
  removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -29001,7 +29017,7 @@ declare var SVGPatternElement: {
29001
29017
  };
29002
29018
 
29003
29019
  /**
29004
- * The **`SVGPointList`** interface represents a list of SVGPoint objects.
29020
+ * The **`SVGPointList`** interface represents a list of DOMPoint objects.
29005
29021
  *
29006
29022
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList)
29007
29023
  */
@@ -29019,7 +29035,7 @@ interface SVGPointList {
29019
29035
  */
29020
29036
  readonly numberOfItems: number;
29021
29037
  /**
29022
- * The **`appendItem()`** method of the SVGPointList interface adds a SVGPoint to the end of the list.
29038
+ * The **`appendItem()`** method of the SVGPointList interface adds a DOMPoint to the end of the list.
29023
29039
  *
29024
29040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
29025
29041
  */
@@ -29037,25 +29053,25 @@ interface SVGPointList {
29037
29053
  */
29038
29054
  getItem(index: number): DOMPoint;
29039
29055
  /**
29040
- * The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new SVGPoint object to the list.
29056
+ * The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
29041
29057
  *
29042
29058
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
29043
29059
  */
29044
29060
  initialize(newItem: DOMPoint): DOMPoint;
29045
29061
  /**
29046
- * The **`insertItemBefore()`** method of the SVGPointList interface inserts a SVGPoint before another item in the list.
29062
+ * The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
29047
29063
  *
29048
29064
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
29049
29065
  */
29050
29066
  insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;
29051
29067
  /**
29052
- * The **`removeItem()`** method of the SVGPointList interface removes a SVGPoint from the list.
29068
+ * The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
29053
29069
  *
29054
29070
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
29055
29071
  */
29056
29072
  removeItem(index: number): DOMPoint;
29057
29073
  /**
29058
- * The **`replaceItem()`** method of the SVGPointList interface replaces a SVGPoint in the list.
29074
+ * The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
29059
29075
  *
29060
29076
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
29061
29077
  */
@@ -29349,7 +29365,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
29349
29365
  */
29350
29366
  createSVGNumber(): SVGNumber;
29351
29367
  /**
29352
- * The `createSVGPoint()` method of the SVGSVGElement interface creates an SVGPoint object outside of any document trees.
29368
+ * The `createSVGPoint()` method of the SVGSVGElement interface creates a DOMPoint object outside of any document trees.
29353
29369
  *
29354
29370
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
29355
29371
  */
@@ -30751,7 +30767,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
30751
30767
  */
30752
30768
  getHTML(options?: GetHTMLOptions): string;
30753
30769
  /**
30754
- * The **`setHTMLUnsafe()`** method of the ShadowRoot interface is used to parse a string of HTML into a DocumentFragment, which then replaces the element's subtree in the DOM.
30770
+ * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
30755
30771
  *
30756
30772
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
30757
30773
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.239",
3
+ "version": "0.0.241",
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
@@ -3214,6 +3214,9 @@ interface Attr extends Node {
3214
3214
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
3215
3215
  */
3216
3216
  value: string;
3217
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
3218
+ get textContent(): string;
3219
+ set textContent(value: string | null);
3217
3220
  }
3218
3221
 
3219
3222
  declare var Attr: {
@@ -7907,6 +7910,9 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
7907
7910
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
7908
7911
  */
7909
7912
  substringData(offset: number, count: number): string;
7913
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
7914
+ get textContent(): string;
7915
+ set textContent(value: string | null);
7910
7916
  }
7911
7917
 
7912
7918
  declare var CharacterData: {
@@ -10361,6 +10367,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10361
10367
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
10362
10368
  */
10363
10369
  writeln(...text: string[]): void;
10370
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10371
+ get textContent(): null;
10364
10372
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
10365
10373
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
10366
10374
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -10371,7 +10379,7 @@ declare var Document: {
10371
10379
  prototype: Document;
10372
10380
  new(): Document;
10373
10381
  /**
10374
- * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse a string of HTML, which may contain declarative shadow roots, in order to create a new Document instance.
10382
+ * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10375
10383
  *
10376
10384
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
10377
10385
  */
@@ -10386,6 +10394,9 @@ declare var Document: {
10386
10394
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
10387
10395
  readonly ownerDocument: Document;
10388
10396
  getElementById(elementId: string): HTMLElement | null;
10397
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10398
+ get textContent(): string;
10399
+ set textContent(value: string | null);
10389
10400
  }
10390
10401
 
10391
10402
  declare var DocumentFragment: {
@@ -10462,6 +10473,8 @@ interface DocumentType extends Node, ChildNode {
10462
10473
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
10463
10474
  */
10464
10475
  readonly systemId: string;
10476
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10477
+ get textContent(): null;
10465
10478
  }
10466
10479
 
10467
10480
  declare var DocumentType: {
@@ -11038,7 +11051,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11038
11051
  */
11039
11052
  setAttributeNodeNS(attr: Attr): Attr | null;
11040
11053
  /**
11041
- * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, which then replaces the element's subtree in the DOM.
11054
+ * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11042
11055
  *
11043
11056
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
11044
11057
  */
@@ -11061,6 +11074,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11061
11074
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
11062
11075
  */
11063
11076
  webkitMatchesSelector(selectors: string): boolean;
11077
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
11078
+ get textContent(): string;
11079
+ set textContent(value: string | null);
11064
11080
  addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11065
11081
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
11066
11082
  removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -28980,7 +28996,7 @@ declare var SVGPatternElement: {
28980
28996
  };
28981
28997
 
28982
28998
  /**
28983
- * The **`SVGPointList`** interface represents a list of SVGPoint objects.
28999
+ * The **`SVGPointList`** interface represents a list of DOMPoint objects.
28984
29000
  *
28985
29001
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList)
28986
29002
  */
@@ -28998,7 +29014,7 @@ interface SVGPointList {
28998
29014
  */
28999
29015
  readonly numberOfItems: number;
29000
29016
  /**
29001
- * The **`appendItem()`** method of the SVGPointList interface adds a SVGPoint to the end of the list.
29017
+ * The **`appendItem()`** method of the SVGPointList interface adds a DOMPoint to the end of the list.
29002
29018
  *
29003
29019
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
29004
29020
  */
@@ -29016,25 +29032,25 @@ interface SVGPointList {
29016
29032
  */
29017
29033
  getItem(index: number): DOMPoint;
29018
29034
  /**
29019
- * The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new SVGPoint object to the list.
29035
+ * The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
29020
29036
  *
29021
29037
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
29022
29038
  */
29023
29039
  initialize(newItem: DOMPoint): DOMPoint;
29024
29040
  /**
29025
- * The **`insertItemBefore()`** method of the SVGPointList interface inserts a SVGPoint before another item in the list.
29041
+ * The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
29026
29042
  *
29027
29043
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
29028
29044
  */
29029
29045
  insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;
29030
29046
  /**
29031
- * The **`removeItem()`** method of the SVGPointList interface removes a SVGPoint from the list.
29047
+ * The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
29032
29048
  *
29033
29049
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
29034
29050
  */
29035
29051
  removeItem(index: number): DOMPoint;
29036
29052
  /**
29037
- * The **`replaceItem()`** method of the SVGPointList interface replaces a SVGPoint in the list.
29053
+ * The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
29038
29054
  *
29039
29055
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
29040
29056
  */
@@ -29328,7 +29344,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
29328
29344
  */
29329
29345
  createSVGNumber(): SVGNumber;
29330
29346
  /**
29331
- * The `createSVGPoint()` method of the SVGSVGElement interface creates an SVGPoint object outside of any document trees.
29347
+ * The `createSVGPoint()` method of the SVGSVGElement interface creates a DOMPoint object outside of any document trees.
29332
29348
  *
29333
29349
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
29334
29350
  */
@@ -30730,7 +30746,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
30730
30746
  */
30731
30747
  getHTML(options?: GetHTMLOptions): string;
30732
30748
  /**
30733
- * The **`setHTMLUnsafe()`** method of the ShadowRoot interface is used to parse a string of HTML into a DocumentFragment, which then replaces the element's subtree in the DOM.
30749
+ * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
30734
30750
  *
30735
30751
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
30736
30752
  */
package/ts5.6/index.d.ts CHANGED
@@ -3214,6 +3214,9 @@ interface Attr extends Node {
3214
3214
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
3215
3215
  */
3216
3216
  value: string;
3217
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
3218
+ get textContent(): string;
3219
+ set textContent(value: string | null);
3217
3220
  }
3218
3221
 
3219
3222
  declare var Attr: {
@@ -7914,6 +7917,9 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
7914
7917
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
7915
7918
  */
7916
7919
  substringData(offset: number, count: number): string;
7920
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
7921
+ get textContent(): string;
7922
+ set textContent(value: string | null);
7917
7923
  }
7918
7924
 
7919
7925
  declare var CharacterData: {
@@ -10368,6 +10374,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10368
10374
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
10369
10375
  */
10370
10376
  writeln(...text: string[]): void;
10377
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10378
+ get textContent(): null;
10371
10379
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
10372
10380
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
10373
10381
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -10378,7 +10386,7 @@ declare var Document: {
10378
10386
  prototype: Document;
10379
10387
  new(): Document;
10380
10388
  /**
10381
- * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse a string of HTML, which may contain declarative shadow roots, in order to create a new Document instance.
10389
+ * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10382
10390
  *
10383
10391
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
10384
10392
  */
@@ -10393,6 +10401,9 @@ declare var Document: {
10393
10401
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
10394
10402
  readonly ownerDocument: Document;
10395
10403
  getElementById(elementId: string): HTMLElement | null;
10404
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10405
+ get textContent(): string;
10406
+ set textContent(value: string | null);
10396
10407
  }
10397
10408
 
10398
10409
  declare var DocumentFragment: {
@@ -10469,6 +10480,8 @@ interface DocumentType extends Node, ChildNode {
10469
10480
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
10470
10481
  */
10471
10482
  readonly systemId: string;
10483
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10484
+ get textContent(): null;
10472
10485
  }
10473
10486
 
10474
10487
  declare var DocumentType: {
@@ -11047,7 +11060,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11047
11060
  */
11048
11061
  setAttributeNodeNS(attr: Attr): Attr | null;
11049
11062
  /**
11050
- * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, which then replaces the element's subtree in the DOM.
11063
+ * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11051
11064
  *
11052
11065
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
11053
11066
  */
@@ -11070,6 +11083,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11070
11083
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
11071
11084
  */
11072
11085
  webkitMatchesSelector(selectors: string): boolean;
11086
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
11087
+ get textContent(): string;
11088
+ set textContent(value: string | null);
11073
11089
  addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11074
11090
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
11075
11091
  removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -29001,7 +29017,7 @@ declare var SVGPatternElement: {
29001
29017
  };
29002
29018
 
29003
29019
  /**
29004
- * The **`SVGPointList`** interface represents a list of SVGPoint objects.
29020
+ * The **`SVGPointList`** interface represents a list of DOMPoint objects.
29005
29021
  *
29006
29022
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList)
29007
29023
  */
@@ -29019,7 +29035,7 @@ interface SVGPointList {
29019
29035
  */
29020
29036
  readonly numberOfItems: number;
29021
29037
  /**
29022
- * The **`appendItem()`** method of the SVGPointList interface adds a SVGPoint to the end of the list.
29038
+ * The **`appendItem()`** method of the SVGPointList interface adds a DOMPoint to the end of the list.
29023
29039
  *
29024
29040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
29025
29041
  */
@@ -29037,25 +29053,25 @@ interface SVGPointList {
29037
29053
  */
29038
29054
  getItem(index: number): DOMPoint;
29039
29055
  /**
29040
- * The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new SVGPoint object to the list.
29056
+ * The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
29041
29057
  *
29042
29058
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
29043
29059
  */
29044
29060
  initialize(newItem: DOMPoint): DOMPoint;
29045
29061
  /**
29046
- * The **`insertItemBefore()`** method of the SVGPointList interface inserts a SVGPoint before another item in the list.
29062
+ * The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
29047
29063
  *
29048
29064
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
29049
29065
  */
29050
29066
  insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;
29051
29067
  /**
29052
- * The **`removeItem()`** method of the SVGPointList interface removes a SVGPoint from the list.
29068
+ * The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
29053
29069
  *
29054
29070
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
29055
29071
  */
29056
29072
  removeItem(index: number): DOMPoint;
29057
29073
  /**
29058
- * The **`replaceItem()`** method of the SVGPointList interface replaces a SVGPoint in the list.
29074
+ * The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
29059
29075
  *
29060
29076
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
29061
29077
  */
@@ -29349,7 +29365,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
29349
29365
  */
29350
29366
  createSVGNumber(): SVGNumber;
29351
29367
  /**
29352
- * The `createSVGPoint()` method of the SVGSVGElement interface creates an SVGPoint object outside of any document trees.
29368
+ * The `createSVGPoint()` method of the SVGSVGElement interface creates a DOMPoint object outside of any document trees.
29353
29369
  *
29354
29370
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
29355
29371
  */
@@ -30751,7 +30767,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
30751
30767
  */
30752
30768
  getHTML(options?: GetHTMLOptions): string;
30753
30769
  /**
30754
- * The **`setHTMLUnsafe()`** method of the ShadowRoot interface is used to parse a string of HTML into a DocumentFragment, which then replaces the element's subtree in the DOM.
30770
+ * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
30755
30771
  *
30756
30772
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
30757
30773
  */