blob: 1b23bcb374d5fa201e3dac114a7f26efea575cc4 [file] [log] [blame]
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
<script xlink:href="../../fast/repaint/resources/repaint.js"></script>
<script>
<![CDATA[
function repaintTest() {
document.getElementById('s').setAttribute("viewBox", "0 0 200 200");
}
]]>
</script>
<svg id="s" viewBox="0 0 800 800">
<rect fill="green" width="50%" height="50%"/>
</svg>
</svg>