blob: e2fad28f88c1ba479fffdcefa961b427b4d13a68 [file] [log] [blame]
<!-- This test makes sure that we resize SVG content correctly after the
container width is dynamically modified. -->
<html>
<body>
<div id="wrapper"
style="width: 100px; height: 200px; border: 2px dashed green">
<img src="squaredCircle-viewBox-noSize.svg">
</div>
<script>
function doTest() {
document.getElementById("wrapper").style.width = "200px";
document.documentElement.removeAttribute("class");
if (window.testRunner)
testRunner.notifyDone();
}
if (window.testRunner)
testRunner.waitUntilDone();
setTimeout(doTest, 100);
</script>
</body>
</html>