2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg xmlns="http://www.w3.org/2000/svg"
5 xmlns:xlink="http://www.w3.org/1999/xlink"
6 xmlns:html="http://www.w3.org/1999/xhtml"
7 height="600" width="800" onload="runRepaintAndPixelTest()">
8 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
9 <g transform="translate(50,50)">
10 <polygon points="0,0 300,0 300,300 0,300" style="fill:lightblue; stroke:red;"/>
12 <foreignObject x="10" y="10" width="280" height="280">
13 <html:b>Absolute Lineto</html:b><html:br/>
14 <path d="M50,80 L250,80 150,280 z"
15 style="fill:red; stroke:blue;"/>
18 <path d="M50,80 L250,80 150,280 z"
19 style="fill:red; stroke:blue;"/>
22 window.testIsAsync = true;
23 function repaintTest() {
24 if (window.eventSender) {
25 eventSender.mouseMoveTo(100, 100);
26 eventSender.mouseUp();
27 eventSender.mouseDown();
28 setTimeout(finishRepaintTest, 0);