blob: c33bec8ff73a35223fe0ab8adb97bf36b3ee7aad [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 row = document.createElement("tr");
table.appendChild(row);
</script>
<script>
// This sets the recalcCells bit on the section.
row.parentNode.removeChild(row);
// Change on cell's height.
document.getElementById("header").setAttribute("height", 1);
</script>
</body>
</html>