tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

HTMLTableElement.webidl (2276B)


      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/.
      5 *
      6 * The origin of this IDL file is
      7 * http://www.whatwg.org/specs/web-apps/current-work/
      8 *
      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.
     12 */
     13 
     14 [Exposed=Window]
     15 interface HTMLTableElement : HTMLElement {
     16  [HTMLConstructor] constructor();
     17 
     18           [CEReactions, SetterThrows]
     19           attribute HTMLTableCaptionElement? caption;
     20  HTMLElement createCaption();
     21  [CEReactions]
     22  undefined deleteCaption();
     23           [CEReactions, SetterThrows]
     24           attribute HTMLTableSectionElement? tHead;
     25  HTMLElement createTHead();
     26  [CEReactions]
     27  undefined deleteTHead();
     28           [CEReactions, SetterThrows]
     29           attribute HTMLTableSectionElement? tFoot;
     30  HTMLElement createTFoot();
     31  [CEReactions]
     32  undefined deleteTFoot();
     33  readonly attribute HTMLCollection tBodies;
     34  HTMLElement createTBody();
     35  readonly attribute HTMLCollection rows;
     36  [Throws]
     37  HTMLElement insertRow(optional long index = -1);
     38  [CEReactions, Throws]
     39  undefined deleteRow(long index);
     40  //         attribute boolean sortable;
     41  //undefined stopSorting();
     42 };
     43 
     44 partial interface HTMLTableElement {
     45           [CEReactions, SetterThrows]
     46           attribute DOMString align;
     47           [CEReactions, SetterThrows]
     48           attribute DOMString border;
     49           [CEReactions, SetterThrows]
     50           attribute DOMString frame;
     51           [CEReactions, SetterThrows]
     52           attribute DOMString rules;
     53           [CEReactions, SetterThrows]
     54           attribute DOMString summary;
     55           [CEReactions, SetterThrows]
     56           attribute DOMString width;
     57 
     58  [CEReactions, SetterThrows]
     59           attribute [LegacyNullToEmptyString] DOMString bgColor;
     60  [CEReactions, SetterThrows]
     61           attribute [LegacyNullToEmptyString] DOMString cellPadding;
     62  [CEReactions, SetterThrows]
     63           attribute [LegacyNullToEmptyString] DOMString cellSpacing;
     64 };