mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Implement HTMLTableElement.insertRow()
refs: https://github.com/servo/servo/issues/9269 and update HTMLTableElement.webidl insertRow returns an HTMLTableRowElement and throws an IndexSizeError sortable and stopSorting were removed.
This commit is contained in:
parent
84f01d1d7b
commit
1d59d8784d
8 changed files with 100 additions and 42 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue