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

Side by Side Diff: LayoutTests/svg/custom/js-late-gradient-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="runRep aintTest()"> 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="runRep aintAndPixelTest()">
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
5 <g id="content" transform="scale(1, 1.5)"> 5 <g id="content" transform="scale(1, 1.5)">
6 <text font-size="68" fill="url(#dynGrad)" x="20" y="70">Gradient on fill</ text> 6 <text font-size="68" fill="url(#dynGrad)" x="20" y="70">Gradient on fill</ text>
7 </g> 7 </g>
8 <script> 8 <script>
9 var content = document.getElementById("content"); 9 var content = document.getElementById("content");
10 10
11 function repaintTest() { 11 function repaintTest() {
12 if (window.testRunner) 12 if (window.testRunner)
13 testRunner.waitUntilDone(); 13 testRunner.waitUntilDone();
14 setTimeout(createGradient, 0); 14 setTimeout(createGradient, 0);
(...skipping 18 matching lines...) Expand all
33 gradient.appendChild(stop2); 33 gradient.appendChild(stop2);
34 34
35 content.appendChild(gradient); 35 content.appendChild(gradient);
36 36
37 if (window.testRunner) 37 if (window.testRunner)
38 testRunner.notifyDone(); 38 testRunner.notifyDone();
39 } 39 }
40 </script> 40 </script>
41 41
42 </svg> 42 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698