HTMLElement.idl 1015 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #import <HTML/DOMStringMap.idl>
  2. #import <DOM/EventHandler.idl>
  3. // https://html.spec.whatwg.org/multipage/semantics.html#htmlelement
  4. [Exposed=Window]
  5. interface HTMLElement : Element {
  6. [Reflect] attribute DOMString title;
  7. [Reflect] attribute DOMString lang;
  8. attribute DOMString dir;
  9. [Reflect] attribute boolean hidden;
  10. attribute DOMString contentEditable;
  11. undefined click();
  12. // FIXME: Support the optional FocusOptions parameter.
  13. undefined focus();
  14. undefined blur();
  15. [LegacyNullToEmptyString] attribute DOMString innerText;
  16. readonly attribute long offsetTop;
  17. readonly attribute long offsetLeft;
  18. readonly attribute long offsetWidth;
  19. readonly attribute long offsetHeight;
  20. };
  21. HTMLElement includes GlobalEventHandlers;
  22. HTMLElement includes HTMLOrSVGElement;
  23. interface mixin HTMLOrSVGElement {
  24. [SameObject] readonly attribute DOMStringMap dataset;
  25. [CEReactions, Reflect] attribute boolean autofocus;
  26. [CEReactions] attribute long tabIndex;
  27. };