dom/webidl/HTMLTableElement.webidl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 4 * You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5 *
michael@0 6 * The origin of this IDL file is
michael@0 7 * http://www.whatwg.org/specs/web-apps/current-work/
michael@0 8 *
michael@0 9 * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
michael@0 10 * Opera Software ASA. You are granted a license to use, reproduce
michael@0 11 * and create derivative works of this document.
michael@0 12 */
michael@0 13
michael@0 14 interface HTMLTableElement : HTMLElement {
michael@0 15 attribute HTMLTableCaptionElement? caption;
michael@0 16 HTMLElement createCaption();
michael@0 17 void deleteCaption();
michael@0 18 [SetterThrows]
michael@0 19 attribute HTMLTableSectionElement? tHead;
michael@0 20 HTMLElement createTHead();
michael@0 21 void deleteTHead();
michael@0 22 [SetterThrows]
michael@0 23 attribute HTMLTableSectionElement? tFoot;
michael@0 24 HTMLElement createTFoot();
michael@0 25 void deleteTFoot();
michael@0 26 readonly attribute HTMLCollection tBodies;
michael@0 27 HTMLElement createTBody();
michael@0 28 readonly attribute HTMLCollection rows;
michael@0 29 [Throws]
michael@0 30 HTMLElement insertRow(optional long index = -1);
michael@0 31 [Throws]
michael@0 32 void deleteRow(long index);
michael@0 33 // attribute boolean sortable;
michael@0 34 //void stopSorting();
michael@0 35 };
michael@0 36
michael@0 37 partial interface HTMLTableElement {
michael@0 38 [SetterThrows]
michael@0 39 attribute DOMString align;
michael@0 40 [SetterThrows]
michael@0 41 attribute DOMString border;
michael@0 42 [SetterThrows]
michael@0 43 attribute DOMString frame;
michael@0 44 [SetterThrows]
michael@0 45 attribute DOMString rules;
michael@0 46 [SetterThrows]
michael@0 47 attribute DOMString summary;
michael@0 48 [SetterThrows]
michael@0 49 attribute DOMString width;
michael@0 50
michael@0 51 [TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor;
michael@0 52 [TreatNullAs=EmptyString, SetterThrows] attribute DOMString cellPadding;
michael@0 53 [TreatNullAs=EmptyString, SetterThrows] attribute DOMString cellSpacing;
michael@0 54 };

mercurial