@types/web 0.0.164 → 0.0.166

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.164 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.164.
50
+ You can read what changed in version 0.0.166 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.166.
package/index.d.ts CHANGED
@@ -10160,7 +10160,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10160
10160
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
10161
10161
  */
10162
10162
  type: "submit" | "reset" | "button";
10163
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
10163
+ /**
10164
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
10165
+ *
10166
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
10167
+ */
10164
10168
  readonly validationMessage: string;
10165
10169
  /**
10166
10170
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10191,6 +10195,8 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10191
10195
  /**
10192
10196
  * Sets a custom error message that is displayed when a form is submitted.
10193
10197
  * @param error Sets a custom error message that is displayed when a form is submitted.
10198
+ *
10199
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)
10194
10200
  */
10195
10201
  setCustomValidity(error: string): void;
10196
10202
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10580,8 +10586,13 @@ declare var HTMLEmbedElement: {
10580
10586
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
10581
10587
  */
10582
10588
  interface HTMLFieldSetElement extends HTMLElement {
10589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
10583
10590
  disabled: boolean;
10584
- /** Returns an HTMLCollection of the form controls in the element. */
10591
+ /**
10592
+ * Returns an HTMLCollection of the form controls in the element.
10593
+ *
10594
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
10595
+ */
10585
10596
  readonly elements: HTMLCollection;
10586
10597
  /**
10587
10598
  * Retrieves a reference to the form that the object is embedded in.
@@ -10597,7 +10608,11 @@ interface HTMLFieldSetElement extends HTMLElement {
10597
10608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
10598
10609
  */
10599
10610
  readonly type: string;
10600
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
10611
+ /**
10612
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
10613
+ *
10614
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
10615
+ */
10601
10616
  readonly validationMessage: string;
10602
10617
  /**
10603
10618
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10622,6 +10637,8 @@ interface HTMLFieldSetElement extends HTMLElement {
10622
10637
  /**
10623
10638
  * Sets a custom error message that is displayed when a form is submitted.
10624
10639
  * @param error Sets a custom error message that is displayed when a form is submitted.
10640
+ *
10641
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)
10625
10642
  */
10626
10643
  setCustomValidity(error: string): void;
10627
10644
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -11352,9 +11369,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11352
11369
  autocomplete: AutoFill;
11353
11370
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
11354
11371
  capture: string;
11355
- /** Sets or retrieves the state of the check box or radio button. */
11372
+ /**
11373
+ * Sets or retrieves the state of the check box or radio button.
11374
+ *
11375
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
11376
+ */
11356
11377
  checked: boolean;
11357
- /** Sets or retrieves the state of the check box or radio button. */
11378
+ /**
11379
+ * Sets or retrieves the state of the check box or radio button.
11380
+ *
11381
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked)
11382
+ */
11358
11383
  defaultChecked: boolean;
11359
11384
  /**
11360
11385
  * Sets or retrieves the initial contents of the object.
@@ -11393,7 +11418,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11393
11418
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
11394
11419
  */
11395
11420
  height: number;
11396
- /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11421
+ /**
11422
+ * When set, overrides the rendering of checkbox controls so that the current value is not visible.
11423
+ *
11424
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
11425
+ */
11397
11426
  indeterminate: boolean;
11398
11427
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
11399
11428
  readonly labels: NodeListOf<HTMLLabelElement> | null;
@@ -11494,7 +11523,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11494
11523
  * @deprecated
11495
11524
  */
11496
11525
  useMap: string;
11497
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
11526
+ /**
11527
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
11528
+ *
11529
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
11530
+ */
11498
11531
  readonly validationMessage: string;
11499
11532
  /**
11500
11533
  * Returns a ValidityState object that represents the validity states of an element.
@@ -12335,8 +12368,13 @@ declare var HTMLObjectElement: {
12335
12368
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
12336
12369
  */
12337
12370
  interface HTMLOptGroupElement extends HTMLElement {
12371
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
12338
12372
  disabled: boolean;
12339
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12373
+ /**
12374
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12375
+ *
12376
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
12377
+ */
12340
12378
  label: string;
12341
12379
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12342
12380
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12355,8 +12393,13 @@ declare var HTMLOptGroupElement: {
12355
12393
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
12356
12394
  */
12357
12395
  interface HTMLOptionElement extends HTMLElement {
12358
- /** Sets or retrieves the status of an option. */
12396
+ /**
12397
+ * Sets or retrieves the status of an option.
12398
+ *
12399
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
12400
+ */
12359
12401
  defaultSelected: boolean;
12402
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
12360
12403
  disabled: boolean;
12361
12404
  /**
12362
12405
  * Retrieves a reference to the form that the object is embedded in.
@@ -12364,13 +12407,29 @@ interface HTMLOptionElement extends HTMLElement {
12364
12407
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
12365
12408
  */
12366
12409
  readonly form: HTMLFormElement | null;
12367
- /** Sets or retrieves the ordinal position of an option in a list box. */
12410
+ /**
12411
+ * Sets or retrieves the ordinal position of an option in a list box.
12412
+ *
12413
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
12414
+ */
12368
12415
  readonly index: number;
12369
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12416
+ /**
12417
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12418
+ *
12419
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
12420
+ */
12370
12421
  label: string;
12371
- /** Sets or retrieves whether the option in the list box is the default item. */
12422
+ /**
12423
+ * Sets or retrieves whether the option in the list box is the default item.
12424
+ *
12425
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
12426
+ */
12372
12427
  selected: boolean;
12373
- /** Sets or retrieves the text string specified by the option tag. */
12428
+ /**
12429
+ * Sets or retrieves the text string specified by the option tag.
12430
+ *
12431
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
12432
+ */
12374
12433
  text: string;
12375
12434
  /**
12376
12435
  * Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12463,6 +12522,7 @@ interface HTMLOutputElement extends HTMLElement {
12463
12522
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
12464
12523
  */
12465
12524
  readonly type: string;
12525
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
12466
12526
  readonly validationMessage: string;
12467
12527
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
12468
12528
  readonly validity: ValidityState;
@@ -12480,6 +12540,7 @@ interface HTMLOutputElement extends HTMLElement {
12480
12540
  checkValidity(): boolean;
12481
12541
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
12482
12542
  reportValidity(): boolean;
12543
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
12483
12544
  setCustomValidity(error: string): void;
12484
12545
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12485
12546
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12785,7 +12846,11 @@ interface HTMLSelectElement extends HTMLElement {
12785
12846
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
12786
12847
  */
12787
12848
  readonly type: "select-one" | "select-multiple";
12788
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
12849
+ /**
12850
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
12851
+ *
12852
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
12853
+ */
12789
12854
  readonly validationMessage: string;
12790
12855
  /**
12791
12856
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13574,10 +13639,19 @@ interface HTMLTextAreaElement extends HTMLElement {
13574
13639
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)
13575
13640
  */
13576
13641
  rows: number;
13642
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */
13577
13643
  selectionDirection: "forward" | "backward" | "none";
13578
- /** Gets or sets the end position or offset of a text selection. */
13644
+ /**
13645
+ * Gets or sets the end position or offset of a text selection.
13646
+ *
13647
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd)
13648
+ */
13579
13649
  selectionEnd: number;
13580
- /** Gets or sets the starting position or offset of a text selection. */
13650
+ /**
13651
+ * Gets or sets the starting position or offset of a text selection.
13652
+ *
13653
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart)
13654
+ */
13581
13655
  selectionStart: number;
13582
13656
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
13583
13657
  readonly textLength: number;
@@ -13587,7 +13661,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13587
13661
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
13588
13662
  */
13589
13663
  readonly type: string;
13590
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
13664
+ /**
13665
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
13666
+ *
13667
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)
13668
+ */
13591
13669
  readonly validationMessage: string;
13592
13670
  /**
13593
13671
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13621,13 +13699,20 @@ interface HTMLTextAreaElement extends HTMLElement {
13621
13699
  checkValidity(): boolean;
13622
13700
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
13623
13701
  reportValidity(): boolean;
13624
- /** Highlights the input area of a form element. */
13702
+ /**
13703
+ * Highlights the input area of a form element.
13704
+ *
13705
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/select)
13706
+ */
13625
13707
  select(): void;
13626
13708
  /**
13627
13709
  * Sets a custom error message that is displayed when a form is submitted.
13628
13710
  * @param error Sets a custom error message that is displayed when a form is submitted.
13711
+ *
13712
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)
13629
13713
  */
13630
13714
  setCustomValidity(error: string): void;
13715
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
13631
13716
  setRangeText(replacement: string): void;
13632
13717
  setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
13633
13718
  /**
@@ -13635,6 +13720,8 @@ interface HTMLTextAreaElement extends HTMLElement {
13635
13720
  * @param start The offset into the text field for the start of the selection.
13636
13721
  * @param end The offset into the text field for the end of the selection.
13637
13722
  * @param direction The direction in which the selection is performed.
13723
+ *
13724
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
13638
13725
  */
13639
13726
  setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
13640
13727
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -20614,14 +20701,23 @@ declare var SVGLength: {
20614
20701
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList)
20615
20702
  */
20616
20703
  interface SVGLengthList {
20704
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/length) */
20617
20705
  readonly length: number;
20706
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/numberOfItems) */
20618
20707
  readonly numberOfItems: number;
20708
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/appendItem) */
20619
20709
  appendItem(newItem: SVGLength): SVGLength;
20710
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/clear) */
20620
20711
  clear(): void;
20712
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/getItem) */
20621
20713
  getItem(index: number): SVGLength;
20714
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/initialize) */
20622
20715
  initialize(newItem: SVGLength): SVGLength;
20716
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/insertItemBefore) */
20623
20717
  insertItemBefore(newItem: SVGLength, index: number): SVGLength;
20718
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/removeItem) */
20624
20719
  removeItem(index: number): SVGLength;
20720
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/replaceItem) */
20625
20721
  replaceItem(newItem: SVGLength, index: number): SVGLength;
20626
20722
  [index: number]: SVGLength;
20627
20723
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.164",
3
+ "version": "0.0.166",
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
@@ -10160,7 +10160,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10160
10160
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
10161
10161
  */
10162
10162
  type: "submit" | "reset" | "button";
10163
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
10163
+ /**
10164
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
10165
+ *
10166
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
10167
+ */
10164
10168
  readonly validationMessage: string;
10165
10169
  /**
10166
10170
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10191,6 +10195,8 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10191
10195
  /**
10192
10196
  * Sets a custom error message that is displayed when a form is submitted.
10193
10197
  * @param error Sets a custom error message that is displayed when a form is submitted.
10198
+ *
10199
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)
10194
10200
  */
10195
10201
  setCustomValidity(error: string): void;
10196
10202
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10580,8 +10586,13 @@ declare var HTMLEmbedElement: {
10580
10586
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
10581
10587
  */
10582
10588
  interface HTMLFieldSetElement extends HTMLElement {
10589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
10583
10590
  disabled: boolean;
10584
- /** Returns an HTMLCollection of the form controls in the element. */
10591
+ /**
10592
+ * Returns an HTMLCollection of the form controls in the element.
10593
+ *
10594
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
10595
+ */
10585
10596
  readonly elements: HTMLCollection;
10586
10597
  /**
10587
10598
  * Retrieves a reference to the form that the object is embedded in.
@@ -10597,7 +10608,11 @@ interface HTMLFieldSetElement extends HTMLElement {
10597
10608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
10598
10609
  */
10599
10610
  readonly type: string;
10600
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
10611
+ /**
10612
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
10613
+ *
10614
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
10615
+ */
10601
10616
  readonly validationMessage: string;
10602
10617
  /**
10603
10618
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10622,6 +10637,8 @@ interface HTMLFieldSetElement extends HTMLElement {
10622
10637
  /**
10623
10638
  * Sets a custom error message that is displayed when a form is submitted.
10624
10639
  * @param error Sets a custom error message that is displayed when a form is submitted.
10640
+ *
10641
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)
10625
10642
  */
10626
10643
  setCustomValidity(error: string): void;
10627
10644
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -11352,9 +11369,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11352
11369
  autocomplete: AutoFill;
11353
11370
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
11354
11371
  capture: string;
11355
- /** Sets or retrieves the state of the check box or radio button. */
11372
+ /**
11373
+ * Sets or retrieves the state of the check box or radio button.
11374
+ *
11375
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
11376
+ */
11356
11377
  checked: boolean;
11357
- /** Sets or retrieves the state of the check box or radio button. */
11378
+ /**
11379
+ * Sets or retrieves the state of the check box or radio button.
11380
+ *
11381
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked)
11382
+ */
11358
11383
  defaultChecked: boolean;
11359
11384
  /**
11360
11385
  * Sets or retrieves the initial contents of the object.
@@ -11393,7 +11418,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11393
11418
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
11394
11419
  */
11395
11420
  height: number;
11396
- /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11421
+ /**
11422
+ * When set, overrides the rendering of checkbox controls so that the current value is not visible.
11423
+ *
11424
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
11425
+ */
11397
11426
  indeterminate: boolean;
11398
11427
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
11399
11428
  readonly labels: NodeListOf<HTMLLabelElement> | null;
@@ -11494,7 +11523,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11494
11523
  * @deprecated
11495
11524
  */
11496
11525
  useMap: string;
11497
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
11526
+ /**
11527
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
11528
+ *
11529
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
11530
+ */
11498
11531
  readonly validationMessage: string;
11499
11532
  /**
11500
11533
  * Returns a ValidityState object that represents the validity states of an element.
@@ -12335,8 +12368,13 @@ declare var HTMLObjectElement: {
12335
12368
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
12336
12369
  */
12337
12370
  interface HTMLOptGroupElement extends HTMLElement {
12371
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
12338
12372
  disabled: boolean;
12339
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12373
+ /**
12374
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12375
+ *
12376
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
12377
+ */
12340
12378
  label: string;
12341
12379
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12342
12380
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12355,8 +12393,13 @@ declare var HTMLOptGroupElement: {
12355
12393
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
12356
12394
  */
12357
12395
  interface HTMLOptionElement extends HTMLElement {
12358
- /** Sets or retrieves the status of an option. */
12396
+ /**
12397
+ * Sets or retrieves the status of an option.
12398
+ *
12399
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
12400
+ */
12359
12401
  defaultSelected: boolean;
12402
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
12360
12403
  disabled: boolean;
12361
12404
  /**
12362
12405
  * Retrieves a reference to the form that the object is embedded in.
@@ -12364,13 +12407,29 @@ interface HTMLOptionElement extends HTMLElement {
12364
12407
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
12365
12408
  */
12366
12409
  readonly form: HTMLFormElement | null;
12367
- /** Sets or retrieves the ordinal position of an option in a list box. */
12410
+ /**
12411
+ * Sets or retrieves the ordinal position of an option in a list box.
12412
+ *
12413
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
12414
+ */
12368
12415
  readonly index: number;
12369
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12416
+ /**
12417
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12418
+ *
12419
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
12420
+ */
12370
12421
  label: string;
12371
- /** Sets or retrieves whether the option in the list box is the default item. */
12422
+ /**
12423
+ * Sets or retrieves whether the option in the list box is the default item.
12424
+ *
12425
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
12426
+ */
12372
12427
  selected: boolean;
12373
- /** Sets or retrieves the text string specified by the option tag. */
12428
+ /**
12429
+ * Sets or retrieves the text string specified by the option tag.
12430
+ *
12431
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
12432
+ */
12374
12433
  text: string;
12375
12434
  /**
12376
12435
  * Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12463,6 +12522,7 @@ interface HTMLOutputElement extends HTMLElement {
12463
12522
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
12464
12523
  */
12465
12524
  readonly type: string;
12525
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
12466
12526
  readonly validationMessage: string;
12467
12527
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
12468
12528
  readonly validity: ValidityState;
@@ -12480,6 +12540,7 @@ interface HTMLOutputElement extends HTMLElement {
12480
12540
  checkValidity(): boolean;
12481
12541
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
12482
12542
  reportValidity(): boolean;
12543
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
12483
12544
  setCustomValidity(error: string): void;
12484
12545
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12485
12546
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12785,7 +12846,11 @@ interface HTMLSelectElement extends HTMLElement {
12785
12846
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
12786
12847
  */
12787
12848
  readonly type: "select-one" | "select-multiple";
12788
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
12849
+ /**
12850
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
12851
+ *
12852
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
12853
+ */
12789
12854
  readonly validationMessage: string;
12790
12855
  /**
12791
12856
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13574,10 +13639,19 @@ interface HTMLTextAreaElement extends HTMLElement {
13574
13639
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)
13575
13640
  */
13576
13641
  rows: number;
13642
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */
13577
13643
  selectionDirection: "forward" | "backward" | "none";
13578
- /** Gets or sets the end position or offset of a text selection. */
13644
+ /**
13645
+ * Gets or sets the end position or offset of a text selection.
13646
+ *
13647
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd)
13648
+ */
13579
13649
  selectionEnd: number;
13580
- /** Gets or sets the starting position or offset of a text selection. */
13650
+ /**
13651
+ * Gets or sets the starting position or offset of a text selection.
13652
+ *
13653
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart)
13654
+ */
13581
13655
  selectionStart: number;
13582
13656
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
13583
13657
  readonly textLength: number;
@@ -13587,7 +13661,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13587
13661
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
13588
13662
  */
13589
13663
  readonly type: string;
13590
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
13664
+ /**
13665
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
13666
+ *
13667
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)
13668
+ */
13591
13669
  readonly validationMessage: string;
13592
13670
  /**
13593
13671
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13621,13 +13699,20 @@ interface HTMLTextAreaElement extends HTMLElement {
13621
13699
  checkValidity(): boolean;
13622
13700
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
13623
13701
  reportValidity(): boolean;
13624
- /** Highlights the input area of a form element. */
13702
+ /**
13703
+ * Highlights the input area of a form element.
13704
+ *
13705
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/select)
13706
+ */
13625
13707
  select(): void;
13626
13708
  /**
13627
13709
  * Sets a custom error message that is displayed when a form is submitted.
13628
13710
  * @param error Sets a custom error message that is displayed when a form is submitted.
13711
+ *
13712
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)
13629
13713
  */
13630
13714
  setCustomValidity(error: string): void;
13715
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
13631
13716
  setRangeText(replacement: string): void;
13632
13717
  setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
13633
13718
  /**
@@ -13635,6 +13720,8 @@ interface HTMLTextAreaElement extends HTMLElement {
13635
13720
  * @param start The offset into the text field for the start of the selection.
13636
13721
  * @param end The offset into the text field for the end of the selection.
13637
13722
  * @param direction The direction in which the selection is performed.
13723
+ *
13724
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
13638
13725
  */
13639
13726
  setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
13640
13727
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -20614,14 +20701,23 @@ declare var SVGLength: {
20614
20701
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList)
20615
20702
  */
20616
20703
  interface SVGLengthList {
20704
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/length) */
20617
20705
  readonly length: number;
20706
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/numberOfItems) */
20618
20707
  readonly numberOfItems: number;
20708
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/appendItem) */
20619
20709
  appendItem(newItem: SVGLength): SVGLength;
20710
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/clear) */
20620
20711
  clear(): void;
20712
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/getItem) */
20621
20713
  getItem(index: number): SVGLength;
20714
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/initialize) */
20622
20715
  initialize(newItem: SVGLength): SVGLength;
20716
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/insertItemBefore) */
20623
20717
  insertItemBefore(newItem: SVGLength, index: number): SVGLength;
20718
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/removeItem) */
20624
20719
  removeItem(index: number): SVGLength;
20720
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/replaceItem) */
20625
20721
  replaceItem(newItem: SVGLength, index: number): SVGLength;
20626
20722
  [index: number]: SVGLength;
20627
20723
  }