mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement HTMLTableElement#createTBody
This commit is contained in:
parent
6a8bc85284
commit
54adae26c6
5 changed files with 32 additions and 54 deletions
|
@ -162,4 +162,12 @@ test(function() {
|
|||
assert_array_equals(table.childNodes, [before, tbody, after1]);
|
||||
assert_tbody(tbody);
|
||||
}, "A tbody node inside a tfoot child node after a tbody child node");
|
||||
|
||||
test(function() {
|
||||
var table = document.createElementNS(htmlNS, "foo:table");
|
||||
var tbody = table.createTBody();
|
||||
|
||||
assert_equals(tbody.prefix, null);
|
||||
}, "A prefixed table creates tbody without prefix");
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue