13 lines
586 B
XML
13 lines
586 B
XML
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="600" onload="runRepaintTest()">
|
|
<script xlink:href="../../fast/repaint/resources/repaint.js"/>
|
|
<script type="text/ecmascript"><![CDATA[
|
|
function repaintTest() {
|
|
bounce = document.getElementById("bounce");
|
|
bounce.setAttribute("transform", "translate(50,50)");
|
|
bounce.setAttribute("font-size", 110);
|
|
}
|
|
]]></script>
|
|
|
|
<text id="bounce" x="35" y="35" font-size="80" style="fill:red;stroke:navy;stroke-width:5px;">Repaint me!</text>
|
|
</svg>
|