blob: 5a1eef726ab8787d934f10e366e6406a8e63ff9e [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="runRepaintAndPixelTest()">
<script xlink:href="../resources/text-based-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>