HTMLFormElement.idl 919 B

12345678910111213141516171819202122232425262728
  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] 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. // FIXME: Should be a HTMLFormControlsCollection
  19. [SameObject] readonly attribute HTMLCollection elements;
  20. readonly attribute unsigned long length;
  21. };