blob: c465d93b7a6b0c3bf8864fc3b31cbeb7c56ef459 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<table id="table">
<tr>
<th id="header" height="50">Bug 72004: Crash in styleDidChange when changing a table cell's height.<br></th>
<th>If this test does not crash, it has PASSED.</th>
</tr>
</table>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var table = document.getElementById("table");
var header = document.getElementById("header");
var row = document.createElement("tr");
table.insertBefore(row, table.firstChild);
</script>
<script>
// This sets the recalcCells bit on the section.
row.parentNode.removeChild(row);
// Change on cell's height.
header.setAttribute("height", 1);
</script>
</body>
</html>