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