HTMLTableElement.idl 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #import <HTML/HTMLElement.idl>
  2. #import <HTML/HTMLTableCaptionElement.idl>
  3. #import <HTML/HTMLTableRowElement.idl>
  4. #import <HTML/HTMLTableSectionElement.idl>
  5. #import <DOM/HTMLCollection.idl>
  6. // https://html.spec.whatwg.org/multipage/tables.html#htmltableelement
  7. [Exposed=Window]
  8. interface HTMLTableElement : HTMLElement {
  9. [HTMLConstructor] constructor();
  10. [CEReactions] attribute HTMLTableCaptionElement? caption;
  11. HTMLTableCaptionElement createCaption();
  12. [CEReactions] undefined deleteCaption();
  13. [CEReactions] attribute HTMLTableSectionElement? tHead;
  14. HTMLTableSectionElement createTHead();
  15. [CEReactions] undefined deleteTHead();
  16. [CEReactions] attribute HTMLTableSectionElement? tFoot;
  17. HTMLTableSectionElement createTFoot();
  18. [CEReactions] undefined deleteTFoot();
  19. [SameObject] readonly attribute HTMLCollection tBodies;
  20. HTMLTableSectionElement createTBody();
  21. [SameObject] readonly attribute HTMLCollection rows;
  22. HTMLTableRowElement insertRow(optional long index = -1);
  23. [CEReactions] undefined deleteRow(long index);
  24. // Obsolete
  25. [CEReactions, Reflect] attribute DOMString align;
  26. [CEReactions, Reflect] attribute DOMString border;
  27. [CEReactions, Reflect] attribute DOMString frame;
  28. [CEReactions, Reflect] attribute DOMString rules;
  29. [CEReactions, Reflect] attribute DOMString summary;
  30. [CEReactions, Reflect] attribute DOMString width;
  31. [CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
  32. [CEReactions, LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding;
  33. [CEReactions, LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing;
  34. };