blob: 2f9d0167b51cdd5a67e4dde6e0469ebf5341fe50 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300" onload="runRepaintTest()">
<script xlink:href="../../fast/repaint/resources/repaint.js"/>
<!-- Tests the correct calculation of repaint rect. The triangle should be on the left hand side of the line. -->
<script>
function repaintTest() {
var path = document.getElementById("path");
trafos = path.transform.baseVal;
trafos.appendItem(trafos.createSVGTransformFromMatrix(document.documentElement.createSVGMatrix().translate(-150,0)));
}
</script>
<line x1="175" y1="30" x2="175" y2="120" stroke="black"/>
<path id="path" d="M200,50 L300,75 L200,100" style="stroke-width:10;stroke-dasharray:210;stroke-dashoffset:210;fill:green;stroke:black"/>
</svg>