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:
Greg Guthe 2016-04-10 00:05:52 -04:00
parent 84f01d1d7b
commit 1d59d8784d
8 changed files with 100 additions and 42 deletions

View file

@ -1,5 +0,0 @@
[insertRow-method-01.html]
type: testharness
[insertRow(): INDEX_SIZE_ERR]
expected: FAIL

View file

@ -1,8 +0,0 @@
[insertRow-method-02.html]
type: testharness
[insertRow(): Empty table]
expected: FAIL
[insertRow should insert a tr element]
expected: FAIL

View file

@ -1,11 +0,0 @@
[table-insertRow.html]
type: testharness
[insertRow should not copy prefixes]
expected: FAIL
[insertRow should insert into a tbody, not into a thead, if table.rows is empty]
expected: FAIL
[insertRow should insert into a tbody, not into a tfoot, if table.rows is empty]
expected: FAIL