1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/.
6 * The origin of this IDL file is
7 * http://www.whatwg.org/specs/web-apps/current-work/
9 * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
10 * Opera Software ASA. You are granted a license to use, reproduce
11 * and create derivative works of this document.
15 interface HTMLTableCellElement : HTMLElement {
16 [HTMLConstructor] constructor();
18 [CEReactions, SetterThrows]
19 attribute unsigned long colSpan;
20 [CEReactions, SetterThrows]
21 attribute unsigned long rowSpan;
22 //[PutForwards=value] readonly attribute DOMTokenList headers;
23 [CEReactions, SetterThrows]
24 attribute DOMString headers;
25 readonly attribute long cellIndex;
27 // Mozilla-specific extensions
28 [CEReactions, SetterThrows]
29 attribute DOMString abbr;
30 [CEReactions, SetterThrows]
31 attribute DOMString scope;
34 partial interface HTMLTableCellElement {
35 [CEReactions, SetterThrows]
36 attribute DOMString align;
37 [CEReactions, SetterThrows]
38 attribute DOMString axis;
39 [CEReactions, SetterThrows]
40 attribute DOMString height;
41 [CEReactions, SetterThrows]
42 attribute DOMString width;
44 [CEReactions, SetterThrows]
45 attribute DOMString ch;
46 [CEReactions, SetterThrows]
47 attribute DOMString chOff;
48 [CEReactions, SetterThrows]
49 attribute boolean noWrap;
50 [CEReactions, SetterThrows]
51 attribute DOMString vAlign;
53 [CEReactions, SetterThrows]
54 attribute [LegacyNullToEmptyString] DOMString bgColor;