ladybird/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl
Andrew Kaster 67ceba2e6a LibWeb: Add Exposed attribute and IDL spec links where missing
The intent is to use these to autogenerate prototype declarations for
Window and WorkerGlobalScope classes.

And the spec links are just nice to have :^)
2022-10-09 10:14:57 +02:00

41 lines
1.4 KiB
Text

#import <HTML/HTMLElement.idl>
#import <HTML/HTMLTableCaptionElement.idl>
#import <HTML/HTMLTableRowElement.idl>
#import <HTML/HTMLTableSectionElement.idl>
#import <DOM/HTMLCollection.idl>
// https://html.spec.whatwg.org/multipage/tables.html#htmltableelement
[Exposed=Window]
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;
};