mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Implement HTMLTableRowElement insertCell and deleteCell
This commit is contained in:
@@ -43,4 +43,12 @@ test(function () {
|
||||
});
|
||||
}, "HTMLTableRowElement deleteCell(cells.length)");
|
||||
|
||||
test(function () {
|
||||
assert_equals(tr.cells.length, 1);
|
||||
tr.deleteCell(-1);
|
||||
assert_equals(tr.cells.length, 0);
|
||||
tr.deleteCell(-1);
|
||||
assert_equals(tr.cells.length, 0);
|
||||
}, "HTMLTableRowElement deleteCell(-1) with no cells");
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user