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

Side by Side Diff: LayoutTests/svg/custom/use-elementInstance-methods.svg

Issue 262963003: Output repaint rects for svg repaint tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 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 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> 1 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
3 <defs> 3 <defs>
4 <g id="reference"> 4 <g id="reference">
5 <rect x="240" y="1" width="239" height="358" /> 5 <rect x="240" y="1" width="239" height="358" />
6 <circle cx="240" cy="1" width="39" height="58" /> 6 <circle cx="240" cy="1" width="39" height="58" />
7 </g> 7 </g>
8 8
9 <script type="text/ecmascript"> 9 <script type="text/ecmascript">
10 <![CDATA[ 10 <![CDATA[
11 window.outputRepaintRects = false;
11 function repaintTest() { 12 function repaintTest() {
12 if (window.eventSender) { 13 if (window.eventSender) {
13 testRunner.waitUntilDone(); 14 testRunner.waitUntilDone();
14 eventSender.mouseMoveTo(250, 50); 15 eventSender.mouseMoveTo(250, 50);
15 eventSender.mouseDown(); 16 eventSender.mouseDown();
16 eventSender.mouseUp(); 17 eventSender.mouseUp();
17 } 18 }
18 } 19 }
19 20
20 function test (event) { 21 function test (event) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 testRunner.notifyDone(); 62 testRunner.notifyDone();
62 } 63 }
63 ]]> 64 ]]>
64 </script> 65 </script>
65 </defs> 66 </defs>
66 67
67 <text x="100" y="50" id="status">Test failed.</text> 68 <text x="100" y="50" id="status">Test failed.</text>
68 <use id="use" xlink:href="#reference" onclick="test(evt)" fill="grey" /> 69 <use id="use" xlink:href="#reference" onclick="test(evt)" fill="grey" />
69 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke= "#000"/> 70 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke= "#000"/>
70 </svg> 71 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698