Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / position-change-layout.html
blob947601d7fba03a710852f9837f00103e349cd225
1 <html>
2 <head>
3 <script>
4 function test()
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 var table = document.getElementById('table');
9 table.offsetHeight; // Trigger layout.
10 table.createCaption(); // Add a caption and mark the table as needing layout.
11 table.style.cssText = ''; // Remove the absolute positioning.
12 table.innerHTML = 'PASS: If there is no crash, the test passed.'; // Blow away the caption, knowing the housekeeping won't be done.
14 </script>
15 </head>
16 <body onload="test()">
17 <table border="1" id="table" style="position: absolute; top: 10"></table>
18 </body>
19 </html>