Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / table-row-change-height-with-needsCellRecalc-section.html
blob33503ccbd06fd3a37b60314372ce79362e26c8a6
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .fixedHeight { height: 100px; }
6 </style>
7 </head>
8 <body>
9 <table id="table">
10 <tr id="row">
11 <th>Bug 72004: Crash in styleDidChange when changing a table cell's height.<br></th>
12 <th>If this test does not crash, it has PASSED.</th>
13 </tr>
14 </table>
15 <script>
16 if (window.testRunner)
17 testRunner.dumpAsText();
19 var table = document.getElementById("table");
20 var row = document.createElement("tr");
21 table.appendChild(row);
23 </script>
24 <script>
25 // This sets the recalcCells bit on the section.
26 row.parentNode.removeChild(row);
28 // Change the remaining row's height.
29 document.getElementById("row").setAttribute("class", "fixedHeight");
30 </script>
31 </body>
32 </html>