mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement HTMLTableRowElement insertCell and deleteCell
This commit is contained in:
parent
e31ad01103
commit
1f58169263
8 changed files with 108 additions and 106 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue