haikuwebkit/LayoutTests/fast/repaint/percent-minheight-resize.html

23 lines
754 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=79490</title>
<script src="resources/repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById('resize-target').style.height = '200px';
}
</script>
</head>
<body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()">
<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>