Implement HTMLTableElement#createTBody

This commit is contained in:
David Zbarsky 2015-08-07 20:48:32 -04:00
parent 6a8bc85284
commit 54adae26c6
5 changed files with 32 additions and 54 deletions

View file

@ -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>