33 lines
692 B
HTML
33 lines
692 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.fixedHeight { height: 100px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table id="table">
|
|
<tr id="row">
|
|
<th>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 the remaining row's height.
|
|
document.getElementById("row").setAttribute("class", "fixedHeight");
|
|
</script>
|
|
</body>
|
|
</html>
|