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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/animate-path-morphing.svg

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <?xml version="1.0" standalone="no"?> 1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd">
3 <svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> 3 <svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
5 <script type="text/ecmascript"> <![CDATA[ 5 <script type="text/ecmascript"> <![CDATA[
6 window.testIsAsync = true; 6 window.testIsAsync = true;
7 // These svg files are animated automatically, so have flaky repaint rect 7 // These svg files are animated automatically, so have flaky repaint rect
8 // output depending on when repaint rect capturing starts. 8 // output depending on when repaint rect capturing starts.
9 window.outputRepaintRects = false; 9 window.outputRepaintRects = false;
10 function repaintTest() { 10 function repaintTest() {
11 if (window.testRunner) { 11 if (window.testRunner) {
12 setTimeout(finishRepaintTest, 200); 12 setTimeout(finishRepaintTest, 200);
13 } 13 }
14 } 14 }
15 ]]> </script> 15 ]]> </script>
16 <path d="M40,140 L40,100 10,100 C10,10 90,10 90,100 L60,100 60,140 M140,50 C70,1 80 195,180 190,100 " style="fill:white;stroke:red;stroke-width:2"> 16 <path d="M40,140 L40,100 10,100 C10,10 90,10 90,100 L60,100 60,140 M140,50 C70,1 80 195,180 190,100 " style="fill:white;stroke:red;stroke-width:2">
17 <animate attributeName="d" calcMode="discrete" values="M40,140 L40,100 10,10 0 C10,10 90,10 90,100 L60,100 60,140 M140,50 C70,180 195,180 190,100 17 <animate attributeName="d" calcMode="discrete" values="M40,140 L40,100 10,10 0 C10,10 90,10 90,100 L60,100 60,140 M140,50 C70,180 195,180 190,100
18 ;M140,40 L100,40 100,10 C10,10 10,90 100,90 L100,60 140,60 M50,140 C180, 70 180,195 100,190;" dur="0.1s" fill="freeze"/> 18 ;M140,40 L100,40 100,10 C10,10 10,90 100,90 L100,60 140,60 M50,140 C180, 70 180,195 100,190;" dur="0.1s" fill="freeze"/>
19 </path> 19 </path>
20 </svg> 20 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698