mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Implement deleteRow and insertRow for <table> element
Continued from #6936
This commit is contained in:
@@ -43,4 +43,12 @@ test(function () {
|
||||
});
|
||||
}, "HTMLTableSectionElement deleteRow(-2)");
|
||||
|
||||
test(function () {
|
||||
assert_equals(tbody.rows.length, 1);
|
||||
tbody.deleteRow(-1);
|
||||
assert_equals(tbody.rows.length, 0);
|
||||
tbody.deleteRow(-1);
|
||||
assert_equals(tbody.rows.length, 0);
|
||||
}, "HTMLTableSectionElement deleteRow(-1) with no rows");
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user