Mypal/dom/webidl/HTMLTableElement.webidl

63 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2019-03-11 03:26:37 -07:00
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
* http://www.whatwg.org/specs/web-apps/current-work/
*
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
* Opera Software ASA. You are granted a license to use, reproduce
* and create derivative works of this document.
*/
2020-03-12 10:41:43 -07:00
[HTMLConstructor]
2019-03-11 03:26:37 -07:00
interface HTMLTableElement : HTMLElement {
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute HTMLTableCaptionElement? caption;
HTMLElement createCaption();
2020-03-12 10:41:43 -07:00
[CEReactions]
2019-03-11 03:26:37 -07:00
void deleteCaption();
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute HTMLTableSectionElement? tHead;
HTMLElement createTHead();
2020-03-12 10:41:43 -07:00
[CEReactions]
2019-03-11 03:26:37 -07:00
void deleteTHead();
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute HTMLTableSectionElement? tFoot;
HTMLElement createTFoot();
2020-03-12 10:41:43 -07:00
[CEReactions]
2019-03-11 03:26:37 -07:00
void deleteTFoot();
readonly attribute HTMLCollection tBodies;
HTMLElement createTBody();
readonly attribute HTMLCollection rows;
[Throws]
HTMLElement insertRow(optional long index = -1);
2020-03-12 10:41:43 -07:00
[CEReactions, Throws]
2019-03-11 03:26:37 -07:00
void deleteRow(long index);
// attribute boolean sortable;
//void stopSorting();
};
partial interface HTMLTableElement {
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute DOMString align;
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute DOMString border;
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute DOMString frame;
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute DOMString rules;
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute DOMString summary;
2020-03-12 10:41:43 -07:00
[CEReactions, SetterThrows]
2019-03-11 03:26:37 -07:00
attribute DOMString width;
2020-03-12 10:41:43 -07:00
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString bgColor;
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString cellPadding;
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString cellSpacing;
2019-03-11 03:26:37 -07:00
};