HTMLTableElement.idl 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. attribute HTMLTableCaptionElement? caption;
  10. HTMLTableCaptionElement createCaption();
  11. undefined deleteCaption();
  12. attribute HTMLTableSectionElement? tHead;
  13. HTMLTableSectionElement createTHead();
  14. undefined deleteTHead();
  15. attribute HTMLTableSectionElement? tFoot;
  16. HTMLTableSectionElement createTFoot();
  17. undefined deleteTFoot();
  18. [SameObject] readonly attribute HTMLCollection tBodies;
  19. HTMLTableSectionElement createTBody();
  20. [SameObject] readonly attribute HTMLCollection rows;
  21. HTMLTableRowElement insertRow(optional long index = -1);
  22. undefined deleteRow(long index);
  23. [Reflect] attribute DOMString align;
  24. [Reflect] attribute DOMString border;
  25. [Reflect] attribute DOMString frame;
  26. [Reflect] attribute DOMString rules;
  27. [Reflect] attribute DOMString summary;
  28. [Reflect] attribute DOMString width;
  29. [LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
  30. [LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding;
  31. [LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing;
  32. };