Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Side by Side Diff: LayoutTests/svg/custom/foreignObject-crash-on-hover.xml

Issue 316193003: Fix some async repaint tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline more tests Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg xmlns="http://www.w3.org/2000/svg" 4 <svg xmlns="http://www.w3.org/2000/svg"
5 xmlns:xlink="http://www.w3.org/1999/xlink" 5 xmlns:xlink="http://www.w3.org/1999/xlink"
6 xmlns:html="http://www.w3.org/1999/xhtml" 6 xmlns:html="http://www.w3.org/1999/xhtml"
7 height="600" width="800" onload="runRepaintAndPixelTest()"> 7 height="600" width="800" onload="runRepaintAndPixelTest()">
8 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 8 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
9 <g transform="translate(50,50)"> 9 <g transform="translate(50,50)">
10 <polygon points="0,0 300,0 300,300 0,300" style="fill:lightblue; stroke:red; "/> 10 <polygon points="0,0 300,0 300,300 0,300" style="fill:lightblue; stroke:red; "/>
11 <!-- switch --> 11 <!-- switch -->
12 <foreignObject x="10" y="10" width="280" height="280"> 12 <foreignObject x="10" y="10" width="280" height="280">
13 <html:b>Absolute Lineto</html:b><html:br/> 13 <html:b>Absolute Lineto</html:b><html:br/>
14 &lt;path d="M50,80 L250,80 150,280 z" 14 &lt;path d="M50,80 L250,80 150,280 z"
15 style="fill:red; stroke:blue;"/&gt; 15 style="fill:red; stroke:blue;"/&gt;
16 </foreignObject> 16 </foreignObject>
17 <!-- /switch --> 17 <!-- /switch -->
18 <path d="M50,80 L250,80 150,280 z" 18 <path d="M50,80 L250,80 150,280 z"
19 style="fill:red; stroke:blue;"/> 19 style="fill:red; stroke:blue;"/>
20 </g> 20 </g>
21 <script> 21 <script>
22 window.testIsAsync = true;
22 function repaintTest() { 23 function repaintTest() {
23 if (window.eventSender) { 24 if (window.eventSender) {
24 testRunner.waitUntilDone();
25 eventSender.mouseMoveTo(100, 100); 25 eventSender.mouseMoveTo(100, 100);
26 eventSender.mouseUp(); 26 eventSender.mouseUp();
27 eventSender.mouseDown(); 27 eventSender.mouseDown();
28 setTimeout("testRunner.notifyDone()", 0); 28 setTimeout(finishRepaintTest, 0);
29 } 29 }
30 } 30 }
31 </script> 31 </script>
32 </svg> 32 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/platform/win/svg/custom/mask-invalidation-expected.txt ('k') | LayoutTests/svg/custom/mask-invalidation.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698