2023-08-19 04:58:54 +03:00
|
|
|
#import <DOM/HTMLFormControlsCollection.idl>
|
2022-02-15 22:10:51 +03:00
|
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
|
2022-10-08 01:45:09 +03:00
|
|
|
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
|
2024-01-10 20:45:28 +03:00
|
|
|
[Exposed=Window, LegacyOverrideBuiltIns, LegacyUnenumerableNamedProperties]
|
2020-07-27 07:04:26 +03:00
|
|
|
interface HTMLFormElement : HTMLElement {
|
|
|
|
|
2023-03-23 10:48:52 +03:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2023-03-01 04:45:18 +03:00
|
|
|
[CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
|
2023-06-18 18:30:43 +03:00
|
|
|
[CEReactions] attribute USVString action;
|
2023-10-25 18:26:24 +03:00
|
|
|
// FIXME: [CEReactions] attribute DOMString autocomplete;
|
|
|
|
// FIXME: [CEReactions] attribute DOMString enctype;
|
|
|
|
// FIXME: [CEReactions] attribute DOMString encoding;
|
|
|
|
[CEReactions] attribute DOMString method;
|
|
|
|
[CEReactions, Reflect] attribute DOMString name;
|
|
|
|
[CEReactions, Reflect=novalidate] attribute boolean noValidate;
|
2023-06-18 18:30:43 +03:00
|
|
|
[CEReactions, Reflect] attribute DOMString target;
|
2023-10-25 18:26:24 +03:00
|
|
|
[CEReactions, Reflect] attribute DOMString rel;
|
|
|
|
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
|
|
|
|
|
|
|
|
[SameObject] readonly attribute HTMLFormControlsCollection elements;
|
|
|
|
readonly attribute unsigned long length;
|
2024-01-10 20:45:28 +03:00
|
|
|
getter Element (unsigned long index);
|
|
|
|
getter (RadioNodeList or Element) (DOMString name);
|
2020-07-27 07:04:26 +03:00
|
|
|
|
2020-12-10 00:32:04 +03:00
|
|
|
undefined submit();
|
2023-10-25 18:26:24 +03:00
|
|
|
// FIXME: undefined requestSubmit(optional HTMLElement? submitter = null);
|
2022-12-23 03:32:20 +03:00
|
|
|
[CEReactions] undefined reset();
|
2023-03-05 01:58:25 +03:00
|
|
|
boolean checkValidity();
|
|
|
|
boolean reportValidity();
|
2020-11-22 00:53:18 +03:00
|
|
|
|
2020-12-10 00:26:42 +03:00
|
|
|
};
|