HTMLElement.idl 800 B

123456789101112131415161718192021222324252627282930313233
  1. #import <HTML/DOMStringMap.idl>
  2. #import <DOM/EventHandler.idl>
  3. interface HTMLElement : Element {
  4. [Reflect] attribute DOMString title;
  5. [Reflect] attribute DOMString lang;
  6. [Reflect] attribute boolean hidden;
  7. attribute DOMString contentEditable;
  8. undefined click();
  9. // FIXME: Support the optional FocusOptions parameter.
  10. undefined focus();
  11. undefined blur();
  12. [LegacyNullToEmptyString] attribute DOMString innerText;
  13. readonly attribute long offsetTop;
  14. readonly attribute long offsetLeft;
  15. readonly attribute long offsetWidth;
  16. readonly attribute long offsetHeight;
  17. };
  18. HTMLElement includes GlobalEventHandlers;
  19. HTMLElement includes HTMLOrSVGElement;
  20. interface mixin HTMLOrSVGElement {
  21. [SameObject] readonly attribute DOMStringMap dataset;
  22. };