blob: 874e1ab17d2549bf4e53c3e6f8b6eef311669ca5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Test for https://bugs.webkit.org/show_bug.cgi?id=79490</title>
<script src="../../fast/repaint/resources/repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById('resize-target').style.width = '200px';
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 SVG element should not be visible -->
<svg width="50%" height="50%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<rect fill="red" width="100" height="100"></rect>
</svg>
</div>
<div style="width: 100px; height: 100px; position: absolute; background-color: green;"></div>
</body>
</html>