Serenity Operating System
at master 41 lines 1.4 kB view raw
1#import <HTML/HTMLElement.idl> 2#import <HTML/HTMLTableCaptionElement.idl> 3#import <HTML/HTMLTableRowElement.idl> 4#import <HTML/HTMLTableSectionElement.idl> 5#import <DOM/HTMLCollection.idl> 6 7// https://html.spec.whatwg.org/multipage/tables.html#htmltableelement 8[Exposed=Window] 9interface HTMLTableElement : HTMLElement { 10 11 attribute HTMLTableCaptionElement? caption; 12 HTMLTableCaptionElement createCaption(); 13 undefined deleteCaption(); 14 15 attribute HTMLTableSectionElement? tHead; 16 HTMLTableSectionElement createTHead(); 17 undefined deleteTHead(); 18 19 attribute HTMLTableSectionElement? tFoot; 20 HTMLTableSectionElement createTFoot(); 21 undefined deleteTFoot(); 22 23 [SameObject] readonly attribute HTMLCollection tBodies; 24 HTMLTableSectionElement createTBody(); 25 26 [SameObject] readonly attribute HTMLCollection rows; 27 HTMLTableRowElement insertRow(optional long index = -1); 28 undefined deleteRow(long index); 29 30 [Reflect] attribute DOMString align; 31 [Reflect] attribute DOMString border; 32 [Reflect] attribute DOMString frame; 33 [Reflect] attribute DOMString rules; 34 [Reflect] attribute DOMString summary; 35 [Reflect] attribute DOMString width; 36 37 [LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor; 38 [LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding; 39 [LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing; 40 41};