1 <?xml version=
"1.0" encoding=
"ISO-8859-1" standalone=
"no"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
3 <svg width=
"450" height=
"450" xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"runRepaintAndPixelTest()">
4 <script xlink:
href=
"../../fast/repaint/resources/text-based-repaint.js"/>
6 function repaintTest() {
7 var poly = document.getElementById(
"polygon");
8 var trafos = poly.transform.baseVal;
10 var trafo = document.documentElement.createSVGTransform();
11 trafo.setTranslate(
1000,
1000);
13 trafos.appendItem(trafo);
17 <polygon transform=
"translate(-1000 -1000)" id=
"polygon" fill=
"none" stroke=
"#00FF00" stroke-width=
"8" points=
"270,265 300,285 320,265 340,285 280,320 390,320 420,280 280,225"/>