2024-09-01 12:33:11 -03:00
|
|
|
// https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope
|
|
|
|
|
enum ScopeAttribute {
|
|
|
|
|
"row",
|
|
|
|
|
"col",
|
|
|
|
|
"rowgroup",
|
|
|
|
|
"colgroup"
|
|
|
|
|
};
|
|
|
|
|
|
2022-10-07 19:45:09 -03:00
|
|
|
// https://html.spec.whatwg.org/multipage/tables.html#htmltablecellelement
|
2023-09-02 10:09:33 -03:00
|
|
|
[Exposed=Window]
|
2020-07-27 01:04:26 -03:00
|
|
|
interface HTMLTableCellElement : HTMLElement {
|
|
|
|
|
|
2023-03-23 04:48:52 -03:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions] attribute unsigned long colSpan;
|
|
|
|
|
[CEReactions] attribute unsigned long rowSpan;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString headers;
|
2024-08-06 17:55:36 -03:00
|
|
|
readonly attribute long cellIndex;
|
2020-07-27 01:04:26 -03:00
|
|
|
|
2024-09-01 12:33:11 -03:00
|
|
|
[CEReactions, Enumerated=ScopeAttribute, Reflect] attribute DOMString scope; // only conforming for th elements
|
2023-10-25 12:26:24 -03:00
|
|
|
[CEReactions, Reflect] attribute DOMString abbr; // only conforming for th elements
|
|
|
|
|
|
|
|
|
|
// Obsolete
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions, Reflect] attribute DOMString align;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString axis;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString height;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString width;
|
2020-11-12 01:16:41 -03:00
|
|
|
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions, Reflect=char] attribute DOMString ch;
|
|
|
|
|
[CEReactions, Reflect=charoff] attribute DOMString chOff;
|
|
|
|
|
[CEReactions, Reflect=nowrap] attribute boolean noWrap;
|
|
|
|
|
[CEReactions, Reflect=valign] attribute DOMString vAlign;
|
2020-11-12 01:16:41 -03:00
|
|
|
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
|
2020-11-12 01:16:41 -03:00
|
|
|
|
2020-12-09 18:26:42 -03:00
|
|
|
};
|