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

Side by Side Diff: LayoutTests/svg/custom/js-late-pattern-and-object-creation.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 Basic//EN" "http://www.w3.org/Graphics /SVG/1.1/DTD/svg11-basic.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics /SVG/1.1/DTD/svg11-basic.dtd">
3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" onload="runRe paintTest()"> 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" onload="runRe paintAndPixelTest()">
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
5 <g id="content"/> 5 <g id="content"/>
6 6
7 <script> 7 <script>
8 var content = document.getElementById("content"); 8 var content = document.getElementById("content");
9 9
10 function repaintTest() { 10 function repaintTest() {
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.waitUntilDone(); 12 testRunner.waitUntilDone();
13 setTimeout(createPatterns, 0); 13 setTimeout(createPatterns, 0);
14 } 14 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 text3.appendChild(document.createTextNode("Pattern on fill/stroke")); 105 text3.appendChild(document.createTextNode("Pattern on fill/stroke"));
106 106
107 content.appendChild(text3); 107 content.appendChild(text3);
108 108
109 if (window.testRunner) 109 if (window.testRunner)
110 testRunner.notifyDone(); 110 testRunner.notifyDone();
111 } 111 }
112 </script> 112 </script>
113 113
114 </svg> 114 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/js-late-mask-creation.svg ('k') | LayoutTests/svg/custom/js-late-pattern-creation.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698