@@ -10158,7 +10158,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
1015810158 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
1015910159 */
1016010160 type: "submit" | "reset" | "button";
10161- /** 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. */
10161+ /**
10162+ * 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+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
10165+ */
1016210166 readonly validationMessage: string;
1016310167 /**
1016410168 * Returns a ValidityState object that represents the validity states of an element.
@@ -10189,6 +10193,8 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
1018910193 /**
1019010194 * Sets a custom error message that is displayed when a form is submitted.
1019110195 * @param error Sets a custom error message that is displayed when a form is submitted.
10196+ *
10197+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)
1019210198 */
1019310199 setCustomValidity(error: string): void;
1019410200 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10578,8 +10584,13 @@ declare var HTMLEmbedElement: {
1057810584 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
1057910585 */
1058010586interface HTMLFieldSetElement extends HTMLElement {
10587+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
1058110588 disabled: boolean;
10582- /** Returns an HTMLCollection of the form controls in the element. */
10589+ /**
10590+ * Returns an HTMLCollection of the form controls in the element.
10591+ *
10592+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
10593+ */
1058310594 readonly elements: HTMLCollection;
1058410595 /**
1058510596 * Retrieves a reference to the form that the object is embedded in.
@@ -10595,7 +10606,11 @@ interface HTMLFieldSetElement extends HTMLElement {
1059510606 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
1059610607 */
1059710608 readonly type: string;
10598- /** 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. */
10609+ /**
10610+ * 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+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
10613+ */
1059910614 readonly validationMessage: string;
1060010615 /**
1060110616 * Returns a ValidityState object that represents the validity states of an element.
@@ -10620,6 +10635,8 @@ interface HTMLFieldSetElement extends HTMLElement {
1062010635 /**
1062110636 * Sets a custom error message that is displayed when a form is submitted.
1062210637 * @param error Sets a custom error message that is displayed when a form is submitted.
10638+ *
10639+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)
1062310640 */
1062410641 setCustomValidity(error: string): void;
1062510642 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -11399,7 +11416,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
1139911416 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
1140011417 */
1140111418 height: number;
11402- /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11419+ /**
11420+ * When set, overrides the rendering of checkbox controls so that the current value is not visible.
11421+ *
11422+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
11423+ */
1140311424 indeterminate: boolean;
1140411425 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
1140511426 readonly labels: NodeListOf<HTMLLabelElement> | null;
@@ -11500,7 +11521,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
1150011521 * @deprecated
1150111522 */
1150211523 useMap: string;
11503- /** 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. */
11524+ /**
11525+ * 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+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
11528+ */
1150411529 readonly validationMessage: string;
1150511530 /**
1150611531 * Returns a ValidityState object that represents the validity states of an element.
@@ -12341,8 +12366,13 @@ declare var HTMLObjectElement: {
1234112366 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
1234212367 */
1234312368interface HTMLOptGroupElement extends HTMLElement {
12369+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
1234412370 disabled: boolean;
12345- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12371+ /**
12372+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12373+ *
12374+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
12375+ */
1234612376 label: string;
1234712377 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1234812378 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12361,22 +12391,43 @@ declare var HTMLOptGroupElement: {
1236112391 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
1236212392 */
1236312393interface HTMLOptionElement extends HTMLElement {
12364- /** Sets or retrieves the status of an option. */
12394+ /**
12395+ * Sets or retrieves the status of an option.
12396+ *
12397+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
12398+ */
1236512399 defaultSelected: boolean;
12400+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
1236612401 disabled: boolean;
1236712402 /**
1236812403 * Retrieves a reference to the form that the object is embedded in.
1236912404 *
1237012405 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
1237112406 */
1237212407 readonly form: HTMLFormElement | null;
12373- /** Sets or retrieves the ordinal position of an option in a list box. */
12408+ /**
12409+ * Sets or retrieves the ordinal position of an option in a list box.
12410+ *
12411+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
12412+ */
1237412413 readonly index: number;
12375- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12414+ /**
12415+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12416+ *
12417+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
12418+ */
1237612419 label: string;
12377- /** Sets or retrieves whether the option in the list box is the default item. */
12420+ /**
12421+ * Sets or retrieves whether the option in the list box is the default item.
12422+ *
12423+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
12424+ */
1237812425 selected: boolean;
12379- /** Sets or retrieves the text string specified by the option tag. */
12426+ /**
12427+ * Sets or retrieves the text string specified by the option tag.
12428+ *
12429+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
12430+ */
1238012431 text: string;
1238112432 /**
1238212433 * Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12469,6 +12520,7 @@ interface HTMLOutputElement extends HTMLElement {
1246912520 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
1247012521 */
1247112522 readonly type: string;
12523+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
1247212524 readonly validationMessage: string;
1247312525 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
1247412526 readonly validity: ValidityState;
@@ -12486,6 +12538,7 @@ interface HTMLOutputElement extends HTMLElement {
1248612538 checkValidity(): boolean;
1248712539 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
1248812540 reportValidity(): boolean;
12541+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
1248912542 setCustomValidity(error: string): void;
1249012543 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1249112544 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12791,7 +12844,11 @@ interface HTMLSelectElement extends HTMLElement {
1279112844 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
1279212845 */
1279312846 readonly type: "select-one" | "select-multiple";
12794- /** 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. */
12847+ /**
12848+ * 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+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
12851+ */
1279512852 readonly validationMessage: string;
1279612853 /**
1279712854 * Returns a ValidityState object that represents the validity states of an element.
@@ -13602,7 +13659,11 @@ interface HTMLTextAreaElement extends HTMLElement {
1360213659 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
1360313660 */
1360413661 readonly type: string;
13605- /** 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. */
13662+ /**
13663+ * 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+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)
13666+ */
1360613667 readonly validationMessage: string;
1360713668 /**
1360813669 * Returns a ValidityState object that represents the validity states of an element.
@@ -13645,6 +13706,8 @@ interface HTMLTextAreaElement extends HTMLElement {
1364513706 /**
1364613707 * Sets a custom error message that is displayed when a form is submitted.
1364713708 * @param error Sets a custom error message that is displayed when a form is submitted.
13709+ *
13710+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)
1364813711 */
1364913712 setCustomValidity(error: string): void;
1365013713 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
0 commit comments