HTMLElement.idl 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. interface HTMLElement : Element {
  2. [Reflect] attribute DOMString title;
  3. [Reflect] attribute DOMString lang;
  4. [Reflect] attribute boolean hidden;
  5. attribute DOMString contentEditable;
  6. undefined click();
  7. // FIXME: Support the optional FocusOptions parameter.
  8. undefined focus();
  9. [LegacyNullToEmptyString] attribute DOMString innerText;
  10. readonly attribute long offsetTop;
  11. readonly attribute long offsetLeft;
  12. readonly attribute long offsetWidth;
  13. readonly attribute long offsetHeight;
  14. // FIXME: This should come from a HTMLOrSVGElement mixin
  15. [SameObject] readonly attribute DOMStringMap dataset;
  16. // FIXME: These should all come from a GlobalEventHandlers mixin
  17. attribute EventHandler onabort;
  18. attribute EventHandler onauxclick;
  19. attribute EventHandler onblur;
  20. attribute EventHandler oncancel;
  21. attribute EventHandler oncanplay;
  22. attribute EventHandler oncanplaythrough;
  23. attribute EventHandler onchange;
  24. attribute EventHandler onclick;
  25. attribute EventHandler onclose;
  26. attribute EventHandler oncontextmenu;
  27. attribute EventHandler oncuechange;
  28. attribute EventHandler ondblclick;
  29. attribute EventHandler ondrag;
  30. attribute EventHandler ondragend;
  31. attribute EventHandler ondragenter;
  32. attribute EventHandler ondragleave;
  33. attribute EventHandler ondragover;
  34. attribute EventHandler ondragstart;
  35. attribute EventHandler ondrop;
  36. attribute EventHandler ondurationchange;
  37. attribute EventHandler onemptied;
  38. attribute EventHandler onended;
  39. // FIXME: Should be an OnErrorEventHandler
  40. attribute EventHandler onerror;
  41. attribute EventHandler onfocus;
  42. attribute EventHandler onformdata;
  43. attribute EventHandler oninput;
  44. attribute EventHandler oninvalid;
  45. attribute EventHandler onkeydown;
  46. attribute EventHandler onkeypress;
  47. attribute EventHandler onkeyup;
  48. attribute EventHandler onload;
  49. attribute EventHandler onloadeddata;
  50. attribute EventHandler onloadedmetadata;
  51. attribute EventHandler onloadstart;
  52. attribute EventHandler onmousedown;
  53. [LegacyLenientThis] attribute EventHandler onmouseenter;
  54. [LegacyLenientThis] attribute EventHandler onmouseleave;
  55. attribute EventHandler onmousemove;
  56. attribute EventHandler onmouseout;
  57. attribute EventHandler onmouseover;
  58. attribute EventHandler onmouseup;
  59. attribute EventHandler onpause;
  60. attribute EventHandler onplay;
  61. attribute EventHandler onplaying;
  62. attribute EventHandler onprogress;
  63. attribute EventHandler onratechange;
  64. attribute EventHandler onreset;
  65. attribute EventHandler onresize;
  66. attribute EventHandler onscroll;
  67. attribute EventHandler onsecuritypolicyviolation;
  68. attribute EventHandler onseeked;
  69. attribute EventHandler onseeking;
  70. attribute EventHandler onselect;
  71. attribute EventHandler onslotchange;
  72. attribute EventHandler onstalled;
  73. attribute EventHandler onsubmit;
  74. attribute EventHandler onsuspend;
  75. attribute EventHandler ontimeupdate;
  76. attribute EventHandler ontoggle;
  77. attribute EventHandler onvolumechange;
  78. attribute EventHandler onwaiting;
  79. attribute EventHandler onwebkitanimationend;
  80. attribute EventHandler onwebkitanimationiteration;
  81. attribute EventHandler onwebkitanimationstart;
  82. attribute EventHandler onwebkittransitionend;
  83. attribute EventHandler onwheel;
  84. };