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

Side by Side Diff: LayoutTests/svg/custom/use-clipped-hit.svg

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 9 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" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/ SVG/1.1/DTD/svg11-tiny.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/ SVG/1.1/DTD/svg11-tiny.dtd">
3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" o nload="runRepaintTest()"> 3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" o nload="runRepaintAndPixelTest()">
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
5 <script type="text/ecmascript"><![CDATA[ 5 <script type="text/ecmascript"><![CDATA[
6 var states = []; 6 var states = [];
7 var clicked; 7 var clicked;
8 function testClickAt(x, y) { 8 function testClickAt(x, y) {
9 eventSender.mouseMoveTo(x, y); 9 eventSender.mouseMoveTo(x, y);
10 eventSender.mouseDown(); 10 eventSender.mouseDown();
11 eventSender.mouseUp(); 11 eventSender.mouseUp();
12 states.push(clicked); 12 states.push(clicked);
13 clicked = false; 13 clicked = false;
14 } 14 }
(...skipping 24 matching lines...) Expand all
39 ]]></script> 39 ]]></script>
40 <defs> 40 <defs>
41 <symbol id="buttonRect" overflow="hidden"> 41 <symbol id="buttonRect" overflow="hidden">
42 <rect x="-70" y="-10" width="140" height="20" fill="gainsboro" strok e="dimgray" stroke-width="1" /> 42 <rect x="-70" y="-10" width="140" height="20" fill="gainsboro" strok e="dimgray" stroke-width="1" />
43 </symbol> 43 </symbol>
44 </defs> 44 </defs>
45 <use x="100" y="50" onmousedown="clicked=true;" xlink:href="#buttonRect"/> 45 <use x="100" y="50" onmousedown="clicked=true;" xlink:href="#buttonRect"/>
46 <text id="status" x="90" y="130">Unknown</text> 46 <text id="status" x="90" y="130">Unknown</text>
47 </svg> 47 </svg>
48 48
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/text-xy-updates-SVGList.xhtml ('k') | LayoutTests/svg/custom/use-detach.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698