HTMLFormElement.idl 586 B

1234567891011121314151617181920
  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. // FIXME: Should be a HTMLFormControlsCollection
  12. [SameObject] readonly attribute HTMLCollection elements;
  13. readonly attribute unsigned long length;
  14. };