HTMLFormElement.idl 682 B

1234567891011121314151617181920212223
  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. boolean checkValidity();
  13. boolean reportValidity();
  14. // FIXME: Should be a HTMLFormControlsCollection
  15. [SameObject] readonly attribute HTMLCollection elements;
  16. readonly attribute unsigned long length;
  17. };