HTMLFormElement.idl 890 B

123456789101112131415161718192021222324252627
  1. #import <DOM/HTMLFormControlsCollection.idl>
  2. #import <HTML/HTMLElement.idl>
  3. // https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
  4. [Exposed=Window]
  5. interface HTMLFormElement : HTMLElement {
  6. [HTMLConstructor] constructor();
  7. [CEReactions, Reflect] attribute DOMString name;
  8. [CEReactions, Reflect] attribute DOMString rel;
  9. [CEReactions] attribute DOMString method;
  10. [CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
  11. [CEReactions, Reflect=novalidate] attribute boolean noValidate;
  12. [CEReactions] attribute USVString action;
  13. [CEReactions, Reflect] attribute DOMString target;
  14. undefined submit();
  15. [CEReactions] undefined reset();
  16. boolean checkValidity();
  17. boolean reportValidity();
  18. [SameObject] readonly attribute HTMLFormControlsCollection elements;
  19. readonly attribute unsigned long length;
  20. };