diff options
author | Yoav Alon <yoava333@gmail.com> | 2016-03-13 21:47:35 +0200 |
---|---|---|
committer | Yoav Alon <yoava333@gmail.com> | 2016-04-12 18:35:55 +0300 |
commit | 5e3dcae71f5a1cf9b08866ae278cadd4d295beaf (patch) | |
tree | 7fb477ddb623af00b1270b982c9d525051a477ad /components/script/dom/webidls/HTMLTableElement.webidl | |
parent | dfb482a2b7fdb570f34e9092384fa74a3e1b54e3 (diff) | |
download | servo-5e3dcae71f5a1cf9b08866ae278cadd4d295beaf.tar.gz servo-5e3dcae71f5a1cf9b08866ae278cadd4d295beaf.zip |
Implement the table section IDL attributes for HTML tables
Diffstat (limited to 'components/script/dom/webidls/HTMLTableElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLTableElement.webidl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/components/script/dom/webidls/HTMLTableElement.webidl b/components/script/dom/webidls/HTMLTableElement.webidl index 2697f4c1e93..af95685b5b5 100644 --- a/components/script/dom/webidls/HTMLTableElement.webidl +++ b/components/script/dom/webidls/HTMLTableElement.webidl @@ -8,13 +8,15 @@ interface HTMLTableElement : HTMLElement { attribute HTMLTableCaptionElement? caption; HTMLElement createCaption(); void deleteCaption(); - // attribute HTMLTableSectionElement? tHead; - //HTMLElement createTHead(); - //void deleteTHead(); - // attribute HTMLTableSectionElement? tFoot; - //HTMLElement createTFoot(); - //void deleteTFoot(); - //readonly attribute HTMLCollection tBodies; + [SetterThrows] + attribute HTMLTableSectionElement? tHead; + HTMLTableSectionElement createTHead(); + void deleteTHead(); + [SetterThrows] + attribute HTMLTableSectionElement? tFoot; + HTMLTableSectionElement createTFoot(); + void deleteTFoot(); + readonly attribute HTMLCollection tBodies; HTMLTableSectionElement createTBody(); readonly attribute HTMLCollection rows; //HTMLElement insertRow(optional long index = -1); |