16 lines
824 B
XML
16 lines
824 B
XML
<?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>
|