blob: 4e21df99e99d0b5c8745d6b17edc1148e2d95444 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<svg 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"/>
<image xlink:href="../../css2.1/support/swatch-green.png" x="0" y="0" width="200" height="100" />
<script>
function repaintTest() {
var image = document.getElementsByTagName('image')[0];
image.setAttribute("x", 0);
image.setAttribute("y", 0);
image.setAttribute("width", 200);
image.setAttribute("height", 100);
}
</script>
</svg>