HTMLButtonElement.idl 1.3 KB

1234567891011121314151617181920212223242526272829
  1. #import <HTML/HTMLElement.idl>
  2. #import <HTML/HTMLFormElement.idl>
  3. // https://html.spec.whatwg.org/multipage/semantics.html#htmlbuttonelement
  4. [Exposed=Window]
  5. interface HTMLButtonElement : HTMLElement {
  6. [HTMLConstructor] constructor();
  7. [CEReactions, Reflect] attribute boolean disabled;
  8. readonly attribute HTMLFormElement? form;
  9. [CEReactions, Reflect=formaction] attribute USVString formAction;
  10. [CEReactions, Reflect=formenctype] attribute DOMString formEnctype;
  11. [CEReactions, Reflect=formmethod] attribute DOMString formMethod;
  12. [CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
  13. [CEReactions, Reflect=formtarget] attribute DOMString formTarget;
  14. [CEReactions, Reflect] attribute DOMString name;
  15. [CEReactions, Reflect] attribute DOMString type;
  16. [CEReactions, Reflect] attribute DOMString value;
  17. // FIXME: readonly attribute boolean willValidate;
  18. // FIXME: readonly attribute ValidityState validity;
  19. // FIXME: readonly attribute DOMString validationMessage;
  20. // FIXME: boolean checkValidity();
  21. // FIXME: boolean reportValidity();
  22. // FIXME: undefined setCustomValidity(DOMString error);
  23. // FIXME: readonly attribute NodeList labels;
  24. };
  25. // FIXME: HTMLButtonElement includes PopoverInvokerElement;