ladybird/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
Andreas Kling fa17776a51 LibWeb: Support HTMLFormElement.elements and HTMLFormElement.length
Note that we implement .elements as a HTMLCollection for now, instead of
the correct HTMLFormControlsCollection subclass. This covers most
use-cases already.

1% progression on ACID3. :^)
2022-02-25 21:19:06 +01:00

18 lines
500 B
Text

#import <DOM/HTMLCollection.idl>
#import <HTML/HTMLElement.idl>
interface HTMLFormElement : HTMLElement {
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString rel;
[Reflect=accept-charset] attribute DOMString acceptCharset;
[Reflect=novalidate] attribute boolean noValidate;
undefined submit();
// FIXME: Should be [SameObject] and a HTMLFormControlsCollection
readonly attribute HTMLCollection elements;
readonly attribute unsigned long length;
};