Serenity Operating System
1#import <DOM/HTMLCollection.idl>
2#import <HTML/HTMLElement.idl>
3
4// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
5[Exposed=Window]
6interface HTMLFormElement : HTMLElement {
7
8 [Reflect] attribute DOMString name;
9 [Reflect] attribute DOMString rel;
10 [Reflect=accept-charset] attribute DOMString acceptCharset;
11 [Reflect=novalidate] attribute boolean noValidate;
12
13 undefined submit();
14 [CEReactions] undefined reset();
15
16 // FIXME: Should be a HTMLFormControlsCollection
17 [SameObject] readonly attribute HTMLCollection elements;
18
19 readonly attribute unsigned long length;
20
21};