HTMLElement.idl 3.4 KB

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