Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / deprecated-flexbox / crash-button-input-autofocus.html
blobc20eb46cb3a7d4b808f8632b47666d2f3f520b35
1 <html>
2 <body>
3 <p style="visibility: collapse;"><button><input autofocus><input id="test"></input></button></p>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 document.body.offsetTop;
8 document.getElementById('test').parentNode.removeChild(document.getElementById('test'));
9 document.body.offsetTop;
10 </script>
11 <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=63776">63776</a>: Partial layout when a flex-box has visibility: collapse</p>
12 <p>This test PASSES if it does not CRASH.</p>
13 </body>
14 </html>