blob: 49a6d2a3eb005166b22d49f2c3cf88411c147d50 [file] [log] [blame]
<html>
<body>
<p style="visibility: collapse;"><button><input><script>document.getElementsByTagName('input')[0].offsetTop;</script><input id="test"></input></button></p>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
document.body.offsetTop;
document.getElementById('test').parentNode.removeChild(document.getElementById('test'));
document.body.offsetTop;
</script>
<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>
<p>This test PASSES if it does not CRASH.</p>
</body>
</html>