summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl
blob: b0813555f49366ff5c8f29b2561a6b1029d92e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
interface HTMLTableElement : HTMLElement {

    attribute HTMLTableCaptionElement? caption;
    HTMLTableCaptionElement createCaption();
    undefined deleteCaption();

    attribute HTMLTableSectionElement? tHead;
    HTMLTableSectionElement createTHead();
    undefined deleteTHead();

    attribute HTMLTableSectionElement? tFoot;
    HTMLTableSectionElement createTFoot();
    undefined deleteTFoot();

    readonly attribute HTMLCollection tBodies;
    HTMLTableSectionElement createTBody();

    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;

};