HTMLFormElement.idl 772 B

12345678910111213141516171819202122232425
  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. [HTMLConstructor] constructor();
  7. [CEReactions, Reflect] attribute DOMString name;
  8. [CEReactions, Reflect] attribute DOMString rel;
  9. [CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
  10. [CEReactions, Reflect=novalidate] attribute boolean noValidate;
  11. undefined submit();
  12. [CEReactions] undefined reset();
  13. boolean checkValidity();
  14. boolean reportValidity();
  15. // FIXME: Should be a HTMLFormControlsCollection
  16. [SameObject] readonly attribute HTMLCollection elements;
  17. readonly attribute unsigned long length;
  18. };