2023-08-19 13:58:54 +12:00
|
|
|
#import <DOM/HTMLFormControlsCollection.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
|
2023-09-03 15:44:24 +12:00
|
|
|
[Exposed=Window]
|
2020-07-27 05:04:26 +01:00
|
|
|
interface HTMLFormElement : HTMLElement {
|
|
|
|
|
2023-03-23 03:48:52 -04:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
|
2023-06-18 16:30:43 +01:00
|
|
|
[CEReactions] attribute USVString action;
|
2023-10-25 17:26:24 +02: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 16:30:43 +01:00
|
|
|
[CEReactions, Reflect] attribute DOMString target;
|
2023-10-25 17:26:24 +02:00
|
|
|
[CEReactions, Reflect] attribute DOMString rel;
|
|
|
|
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
|
|
|
|
|
|
|
|
[SameObject] readonly attribute HTMLFormControlsCollection elements;
|
|
|
|
readonly attribute unsigned long length;
|
|
|
|
// FIXME: getter Element (unsigned long index);
|
|
|
|
// FIXME: getter (RadioNodeList or Element) (DOMString name);
|
2020-07-27 05:04:26 +01:00
|
|
|
|
2020-12-09 21:32:04 +00:00
|
|
|
undefined submit();
|
2023-10-25 17:26:24 +02:00
|
|
|
// FIXME: undefined requestSubmit(optional HTMLElement? submitter = null);
|
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
|
|
|
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|