ladybird/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
Shannon Booth 2a732e6ddd LibWeb: Port HTMLFormElement interface from DeprecatedString to String
Leaving a FIXME for HTMLFormElement::method as it looks like this could
be Reflect in the IDL.
2023-09-05 20:36:09 -04:00

28 lines
890 B
Plaintext

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