HTMLTableElement.idl 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. attribute HTMLTableCaptionElement? caption;
  11. HTMLTableCaptionElement createCaption();
  12. undefined deleteCaption();
  13. attribute HTMLTableSectionElement? tHead;
  14. HTMLTableSectionElement createTHead();
  15. undefined deleteTHead();
  16. attribute HTMLTableSectionElement? tFoot;
  17. HTMLTableSectionElement createTFoot();
  18. 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. undefined deleteRow(long index);
  24. [Reflect] attribute DOMString align;
  25. [Reflect] attribute DOMString border;
  26. [Reflect] attribute DOMString frame;
  27. [Reflect] attribute DOMString rules;
  28. [Reflect] attribute DOMString summary;
  29. [Reflect] attribute DOMString width;
  30. [LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
  31. [LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding;
  32. [LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing;
  33. };