HTMLElement.idl 777 B

12345678910111213141516171819202122232425262728293031
  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. [LegacyNullToEmptyString] attribute DOMString innerText;
  12. readonly attribute long offsetTop;
  13. readonly attribute long offsetLeft;
  14. readonly attribute long offsetWidth;
  15. readonly attribute long offsetHeight;
  16. };
  17. HTMLElement includes GlobalEventHandlers;
  18. HTMLElement includes HTMLOrSVGElement;
  19. interface mixin HTMLOrSVGElement {
  20. [SameObject] readonly attribute DOMStringMap dataset;
  21. };