blob: 883c1f82fe6fac1a1d0977d18ef53b0e0f4554b0 [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="../../fast/repaint/resources/repaint.js"></script>
</head>
<body onload="runRepaintTest()">
<p>The svg area contained in the div element (red box), should fill out the whole area (blue rectangle), especially after resizing the content box to a different size</p>
<div id="contentBox" style="width: 100px; height: 400px; border: 1px solid red;">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
<rect id="targetRect" width="100%" height="100%" fill="blue"/>
</svg>
</div>
<script type="JavaScript">
function repaintTest() {
document.getElementById("contentBox").style.setProperty("width", "400px");
}
</script>
</body>
</html>