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