ladybird/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
2023-03-23 13:37:40 +01:00

25 lines
720 B
Text

#import <DOM/HTMLCollection.idl>
#import <HTML/HTMLElement.idl>
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
[Exposed=Window]
interface HTMLFormElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString rel;
[Reflect=accept-charset] attribute DOMString acceptCharset;
[Reflect=novalidate] attribute boolean noValidate;
undefined submit();
[CEReactions] undefined reset();
boolean checkValidity();
boolean reportValidity();
// FIXME: Should be a HTMLFormControlsCollection
[SameObject] readonly attribute HTMLCollection elements;
readonly attribute unsigned long length;
};