Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / table-subtree-layout-crash.html
blobf7fc097ce576cc3927c6fb2f336f74edfb8fb2d1
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
6 table {
7 height: 10px;
8 width: 10px;
9 overflow: hidden;
12 </style>
13 <script src="resources/autosizingTest.js"></script>
14 </head>
15 <body>
16 Test for crbug.com/375439: this test passes if it does not crash.<br>
18 <table>
19 <tr>
20 <td>
21 <div id="div">hello</div>
22 </td>
23 </tr>
24 </table>
26 <script>
27 if (window.testRunner)
28 testRunner.waitUntilDone();
30 window.requestAnimationFrame(function () {
31 var node = document.getElementById('div');
32 node.parentNode.removeChild(node);
33 var forceLayout = document.body.offsetTop;
35 if (window.testRunner) {
36 testRunner.dumpAsText();
37 testRunner.notifyDone();
39 });
41 </script>
42 </body>
43 </html>