2022-02-25 21:19:06 +01:00
|
|
|
#import <DOM/HTMLCollection.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
|
|
|
|
[Exposed=Window]
|
2020-07-27 05:04:26 +01:00
|
|
|
interface HTMLFormElement : HTMLElement {
|
|
|
|
|
2023-03-23 03:48:52 -04:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2020-07-27 05:04:26 +01:00
|
|
|
[Reflect] attribute DOMString name;
|
|
|
|
[Reflect] attribute DOMString rel;
|
2020-08-09 17:10:41 +01:00
|
|
|
[Reflect=accept-charset] attribute DOMString acceptCharset;
|
2020-11-09 08:15:10 +00:00
|
|
|
[Reflect=novalidate] attribute boolean noValidate;
|
2020-07-27 05:04:26 +01:00
|
|
|
|
2020-12-09 21:32:04 +00:00
|
|
|
undefined submit();
|
2022-12-22 19:32:20 -05:00
|
|
|
[CEReactions] undefined reset();
|
2023-03-04 23:58:25 +01:00
|
|
|
boolean checkValidity();
|
|
|
|
boolean reportValidity();
|
2020-11-21 21:53:18 +00:00
|
|
|
|
2022-11-24 19:04:05 +01:00
|
|
|
// FIXME: Should be a HTMLFormControlsCollection
|
|
|
|
[SameObject] readonly attribute HTMLCollection elements;
|
2022-02-25 21:19:06 +01:00
|
|
|
|
|
|
|
readonly attribute unsigned long length;
|
|
|
|
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|