
rows returns a HTMLCollection of all the tr elements contained within the table. We leave the SameObject attribute off the attribute in the IDL as we cannot currently return the same HTMLCollection every time (see the FIXME on DOM::Document::applets) The WrapperGenerator currently does not correctly handle the default value for the type long on insertRow. Currently not specifying the index will insert a row at index 0.
18 lines
685 B
Text
18 lines
685 B
Text
interface HTMLTableElement : HTMLElement {
|
|
|
|
readonly attribute HTMLCollection rows;
|
|
HTMLTableRowElement insertRow(optional long index = -1);
|
|
undefined deleteRow(long index);
|
|
|
|
[Reflect] attribute DOMString align;
|
|
[Reflect] attribute DOMString border;
|
|
[Reflect] attribute DOMString frame;
|
|
[Reflect] attribute DOMString rules;
|
|
[Reflect] attribute DOMString summary;
|
|
[Reflect] attribute DOMString width;
|
|
|
|
[LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
|
|
[LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding;
|
|
[LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing;
|
|
|
|
};
|