Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -54,4 +54,12 @@ test(function() {
t.tFoot = document.createElement("thead");
});
})
test(function () {
var table = document.createElementNS("http://www.w3.org/1999/xhtml", "foo:table")
var tfoot = table.createTFoot();
assert_equals(table.tFoot, tfoot);
assert_equals(tfoot.prefix, null);
});
</script>

View file

@ -63,4 +63,12 @@ test(function() {
t2.tHead = t2thead;
});
});
test(function () {
var table = document.createElementNS("http://www.w3.org/1999/xhtml", "foo:table")
var thead = table.createTHead();
assert_equals(table.tHead, thead);
assert_equals(thead.prefix, null);
});
</script>

View file

@ -52,4 +52,13 @@ test(function () {
});
}, "HTMLTableRowElement insertCell(cells.length + 1)");
test(function () {
var table = document.createElementNS("http://www.w3.org/1999/xhtml", "foo:table")
var row = table.insertRow(0);
var cell = row.insertCell(0);
assert_equals(row.cells[0], cell);
assert_equals(cell.prefix, null);
}, "HTMLTableRowElement insertCell will not copy table's prefix");
</script>