Auto merge of #10508 - g-k:insert-row, r=KiChjang

Insert row

Fixes #9269

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10508)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-19 01:38:38 +05:30
commit 19a5a9ad08
8 changed files with 100 additions and 42 deletions

View file

@ -6,7 +6,7 @@
// https://html.spec.whatwg.org/multipage/#htmltableelement
interface HTMLTableElement : HTMLElement {
attribute HTMLTableCaptionElement? caption;
HTMLElement createCaption();
HTMLTableCaptionElement createCaption();
void deleteCaption();
[SetterThrows]
attribute HTMLTableSectionElement? tHead;
@ -19,10 +19,8 @@ interface HTMLTableElement : HTMLElement {
readonly attribute HTMLCollection tBodies;
HTMLTableSectionElement createTBody();
readonly attribute HTMLCollection rows;
//HTMLElement insertRow(optional long index = -1);
[Throws] HTMLTableRowElement insertRow(optional long index = -1);
//void deleteRow(long index);
// attribute boolean sortable;
//void stopSorting();
// also has obsolete members
};