
This is almost guaranteed not to be all CEReactions we need to add, but this puts us in a much better situation.
25 lines
772 B
Text
25 lines
772 B
Text
#import <DOM/HTMLCollection.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, Reflect=accept-charset] attribute DOMString acceptCharset;
|
|
[CEReactions, Reflect=novalidate] attribute boolean noValidate;
|
|
|
|
undefined submit();
|
|
[CEReactions] undefined reset();
|
|
boolean checkValidity();
|
|
boolean reportValidity();
|
|
|
|
// FIXME: Should be a HTMLFormControlsCollection
|
|
[SameObject] readonly attribute HTMLCollection elements;
|
|
|
|
readonly attribute unsigned long length;
|
|
|
|
};
|