HTMLTableCellElement.idl 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #import <HTML/HTMLElement.idl>
  2. // https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope
  3. enum ScopeAttribute {
  4. "row",
  5. "col",
  6. "rowgroup",
  7. "colgroup"
  8. };
  9. // https://html.spec.whatwg.org/multipage/tables.html#htmltablecellelement
  10. [Exposed=Window]
  11. interface HTMLTableCellElement : HTMLElement {
  12. [HTMLConstructor] constructor();
  13. [CEReactions] attribute unsigned long colSpan;
  14. [CEReactions] attribute unsigned long rowSpan;
  15. [CEReactions, Reflect] attribute DOMString headers;
  16. readonly attribute long cellIndex;
  17. [CEReactions, Enumerated=ScopeAttribute, Reflect] attribute DOMString scope; // only conforming for th elements
  18. [CEReactions, Reflect] attribute DOMString abbr; // only conforming for th elements
  19. // Obsolete
  20. [CEReactions, Reflect] attribute DOMString align;
  21. [CEReactions, Reflect] attribute DOMString axis;
  22. [CEReactions, Reflect] attribute DOMString height;
  23. [CEReactions, Reflect] attribute DOMString width;
  24. [CEReactions, Reflect=char] attribute DOMString ch;
  25. [CEReactions, Reflect=charoff] attribute DOMString chOff;
  26. [CEReactions, Reflect=nowrap] attribute boolean noWrap;
  27. [CEReactions, Reflect=valign] attribute DOMString vAlign;
  28. [CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
  29. };