aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/webidls/HTMLTableCellElement.webidl
blob: 7ec277d5bdaf3668f16a926a741712b28e82f98d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmltablecellelement
[Exposed=Window]
interface HTMLTableCellElement : HTMLElement {
  [HTMLConstructor] constructor();

  [CEReactions]
           attribute unsigned long colSpan;
  [CEReactions]
           attribute unsigned long rowSpan;
  // [CEReactions]
  //          attribute DOMString headers;
  readonly attribute long cellIndex;

  // [CEReactions]
  //          attribute DOMString scope; // only conforming for th elements
  // [CEReactions]
  //          attribute DOMString abbr;  // only conforming for th elements

  // also has obsolete members
};

// https://html.spec.whatwg.org/multipage/#HTMLTableCellElement-partial
partial interface HTMLTableCellElement {
  // [CEReactions]
  //          attribute DOMString align;
  // [CEReactions]
  //          attribute DOMString axis;
  // [CEReactions]
  //          attribute DOMString height;
  [CEReactions]
  attribute DOMString width;

  //          attribute DOMString ch;
  // [CEReactions]
  //          attribute DOMString chOff;
  // [CEReactions]
  //          attribute boolean noWrap;
  // [CEReactions]
  //          attribute DOMString vAlign;

  [CEReactions]
  attribute [LegacyNullToEmptyString] DOMString bgColor;
};