OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 <p style="visibility: collapse;"><button><input><script>document.getElementsByTa
gName('input')[0].offsetTop;</script><input id="test"></input></button></p> | 3 <p style="visibility: collapse;"><button><input><script>document.getElementsByTa
gName('input')[0].offsetTop;</script><input id="test"></input></button></p> |
4 <script> | 4 <script> |
5 if (window.layoutTestController) | 5 if (window.layoutTestController) |
6 layoutTestController.dumpAsText(); | 6 layoutTestController.dumpAsText(); |
7 document.body.offsetTop; | 7 document.body.offsetTop; |
8 document.getElementById('test').parentNode.removeChild(document.getElementById('
test')); | 8 document.getElementById('test').parentNode.removeChild(document.getElementById('
test')); |
9 document.body.offsetTop; | 9 document.body.offsetTop; |
10 </script> | 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> | 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> | 12 <p>This test PASSES if it does not CRASH.</p> |
13 </body> | 13 </body> |
14 </html> | 14 </html> |
OLD | NEW |