blob: 64f95c3cf3bc2f19b2b649eb24ad7a7979cdb3c7 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link href="resources/flexbox.css" rel="stylesheet">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<script>
window.onload = function() {
document.body.offsetHeight;
document.getElementById('to-hide').style.display = "none";
checkLayout(".flexbox");
};
</script>
</head>
<body>
<div id=log></div>
<div class="flexbox" style="height: 100px;" data-expected-height="100">
<div style="width: 100%; overflow: auto; padding-bottom: 100px; background-color: red;" data-expected-height="100">
<div style="position: relative; height: 100px; background-color: green;" data-expected-height="100">
<div id="to-hide" style="position: absolute;" data-expected-height="0"></div>
</div>
</div>
</div>
</body>
</html>