29 lines
661 B
HTML
29 lines
661 B
HTML
<!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>
|