2022-02-15 16:10:51 -03:00
|
|
|
#import <HTML/HTMLElement.idl>
|
2023-10-04 12:55:33 -03:00
|
|
|
#import <HTML/HTMLFormElement.idl>
|
2025-02-17 16:44:26 -03:00
|
|
|
#import <HTML/ValidityState.idl>
|
2022-02-15 16:10:51 -03:00
|
|
|
|
2022-10-07 19:45:09 -03:00
|
|
|
// https://html.spec.whatwg.org/multipage/form-elements.html#htmltextareaelement
|
2023-09-02 10:09:33 -03:00
|
|
|
[Exposed=Window]
|
2020-07-31 23:07:00 -03:00
|
|
|
interface HTMLTextAreaElement : HTMLElement {
|
2023-03-23 04:48:52 -03:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
|
2025-02-09 11:56:54 -03:00
|
|
|
[CEReactions] attribute DOMString autocomplete;
|
2023-11-24 13:39:38 -03:00
|
|
|
[CEReactions] attribute unsigned long cols;
|
2023-10-04 12:55:33 -03:00
|
|
|
[CEReactions, Reflect=dirname] attribute DOMString dirName;
|
|
|
|
|
[CEReactions, Reflect] attribute boolean disabled;
|
|
|
|
|
readonly attribute HTMLFormElement? form;
|
2024-03-01 04:49:04 -03:00
|
|
|
[CEReactions] attribute long maxLength;
|
|
|
|
|
[CEReactions] attribute long minLength;
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions, Reflect] attribute DOMString name;
|
2023-10-04 12:55:33 -03:00
|
|
|
[CEReactions, Reflect] attribute DOMString placeholder;
|
|
|
|
|
[CEReactions, Reflect=readonly] attribute boolean readOnly;
|
|
|
|
|
[CEReactions, Reflect] attribute boolean required;
|
2023-11-24 13:39:38 -03:00
|
|
|
[CEReactions] attribute unsigned long rows;
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions, Reflect] attribute DOMString wrap;
|
2023-10-04 12:55:33 -03:00
|
|
|
|
2020-07-31 23:07:00 -03:00
|
|
|
readonly attribute DOMString type;
|
2025-07-28 10:46:06 -03:00
|
|
|
[CEReactions] attribute Utf16DOMString defaultValue;
|
2025-07-26 13:19:56 -03:00
|
|
|
[LegacyNullToEmptyString] attribute Utf16DOMString value;
|
2023-12-10 13:48:42 -03:00
|
|
|
readonly attribute unsigned long textLength;
|
2020-07-31 23:07:00 -03:00
|
|
|
|
2025-02-25 05:43:11 -03:00
|
|
|
readonly attribute boolean willValidate;
|
2025-02-17 16:44:26 -03:00
|
|
|
readonly attribute ValidityState validity;
|
2025-08-29 13:02:59 -03:00
|
|
|
readonly attribute Utf16DOMString validationMessage;
|
2024-03-06 16:44:05 -03:00
|
|
|
boolean checkValidity();
|
|
|
|
|
boolean reportValidity();
|
|
|
|
|
undefined setCustomValidity(DOMString error);
|
2023-10-04 12:55:33 -03:00
|
|
|
|
2024-05-18 10:10:00 -03:00
|
|
|
readonly attribute NodeList labels;
|
2020-11-09 05:15:10 -03:00
|
|
|
|
2024-08-22 10:20:24 -03:00
|
|
|
undefined select();
|
|
|
|
|
[ImplementedAs=selection_start_binding] attribute unsigned long selectionStart;
|
|
|
|
|
[ImplementedAs=selection_end_binding] attribute unsigned long selectionEnd;
|
|
|
|
|
[ImplementedAs=selection_direction_binding] attribute DOMString selectionDirection;
|
2025-07-25 16:04:25 -03:00
|
|
|
[ImplementedAs=set_range_text_binding] undefined setRangeText(Utf16DOMString replacement);
|
|
|
|
|
[ImplementedAs=set_range_text_binding] undefined setRangeText(Utf16DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
|
2024-08-22 10:20:24 -03:00
|
|
|
undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
|
2020-12-09 18:26:42 -03:00
|
|
|
};
|