Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text-autosizing / table-simplified-layout-crash.html
1 <!DOCTYPE HTML>
2 <script src="resources/autosizingTest.js"></script>
3 Test for crbug.com/359387: this test passes if it does not crash.<br/>
4 <style>
5 table {
6   overflow: hidden;
7   width: 200px;
8   position: relative;
9   height: 100px;
10 }
11 </style>
12 <table>
13   <tr>
14     <td style="position: absolute;">
15       <li id="liEl"/>
16     </td>
17   </tr>
18 </table>
19 <script>
20   if (window.testRunner)
21     testRunner.waitUntilDone();
22   window.requestAnimationFrame(function() {
23     liEl.style.overflow = "scroll";
24     window.requestAnimationFrame(function() {
25       if (window.testRunner) {
26         testRunner.dumpAsText();
27         testRunner.notifyDone();
28       }
29     });
30   });
31 </script>