2018-09-13 22:30:51 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-12-29 12:08:15 +04:00
|
|
|
/* 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.
|
|
|
|
*/
|
|
|
|
|
2016-11-17 12:34:42 +03:00
|
|
|
[HTMLConstructor]
|
2012-12-29 12:08:15 +04:00
|
|
|
interface HTMLTableElement : HTMLElement {
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute HTMLTableCaptionElement? caption;
|
|
|
|
HTMLElement createCaption();
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions]
|
2012-12-29 12:08:15 +04:00
|
|
|
void deleteCaption();
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute HTMLTableSectionElement? tHead;
|
|
|
|
HTMLElement createTHead();
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions]
|
2012-12-29 12:08:15 +04:00
|
|
|
void deleteTHead();
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute HTMLTableSectionElement? tFoot;
|
|
|
|
HTMLElement createTFoot();
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions]
|
2012-12-29 12:08:15 +04:00
|
|
|
void deleteTFoot();
|
|
|
|
readonly attribute HTMLCollection tBodies;
|
2012-12-04 09:04:30 +04:00
|
|
|
HTMLElement createTBody();
|
2012-12-29 12:08:15 +04:00
|
|
|
readonly attribute HTMLCollection rows;
|
|
|
|
[Throws]
|
|
|
|
HTMLElement insertRow(optional long index = -1);
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, Throws]
|
2012-12-29 12:08:15 +04:00
|
|
|
void deleteRow(long index);
|
|
|
|
// attribute boolean sortable;
|
|
|
|
//void stopSorting();
|
|
|
|
};
|
|
|
|
|
|
|
|
partial interface HTMLTableElement {
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute DOMString align;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute DOMString border;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute DOMString frame;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute DOMString rules;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute DOMString summary;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2012-12-29 12:08:15 +04:00
|
|
|
attribute DOMString width;
|
|
|
|
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
|
|
|
attribute DOMString bgColor;
|
|
|
|
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
|
|
|
attribute DOMString cellPadding;
|
|
|
|
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
|
|
|
attribute DOMString cellSpacing;
|
2012-12-29 12:08:15 +04:00
|
|
|
};
|