HTMLFormElement.idl 623 B

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