summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
blob: 9be32481e1ebcf62a5000a6a75de2541d74905c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#import <DOM/HTMLCollection.idl>
#import <HTML/HTMLElement.idl>

// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
[Exposed=Window]
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;

};