mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
67ceba2e6a
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
20 lines
590 B
Text
20 lines
590 B
Text
#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;
|
|
|
|
};
|