blob: da9c2117692ef7192cbc0c6ed3b2ff9b03e20bf5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=79490</title>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
}
function repaintTest()
{
document.getElementById('resize-target').style.height = '200px';
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body style="margin: 0; padding: 0; overflow: hidden;" onload="runAfterLayoutAndPaint(repaintTest);">
<div id="resize-target" style="width: 400px; height: 400px; position: absolute;">
<!-- After window resizing, this DIV element should not be visible -->
<div style="width: 100px; min-height: 50%; background-color: red; display: inline-block;"></div>
</div>
<div style="width: 100px; height: 100px; background-color: green; position: absolute;"></div>
</body>
</html>