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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/animate-path-discrete.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" encoding="iso-8859-1" standalone="no"?> 1 <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/SVG/DTD/svg 10.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/SVG/DTD/svg 10.dtd">
3 <svg viewBox="0 0 270 400" width="100%" height="100%" xmlns="http://www.w3.org/2 000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTe st()"> 3 <svg viewBox="0 0 270 400" width="100%" height="100%" xmlns="http://www.w3.org/2 000/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 <g id="mainlayer"> 16 <g id="mainlayer">
17 <path stroke="black" stroke-width="5" stroke-linecap="round" stroke-join="ro und" fill="none" d="M 37 107" > 17 <path stroke="black" stroke-width="5" stroke-linecap="round" stroke-join="ro und" fill="none" d="M 37 107" >
18 <animate attributeName="d" dur="0.1s" fill="freeze" values=" 18 <animate attributeName="d" dur="0.1s" fill="freeze" values="
19 M 37 107 ; 19 M 37 107 ;
20 M 37 107 L 40 105 ; 20 M 37 107 L 40 105 ;
21 M 37 107 L 40 105 L 45 105 ; 21 M 37 107 L 40 105 L 45 105 ;
22 M 37 107 L 40 105 L 45 105 L 52 104 22 M 37 107 L 40 105 L 45 105 L 52 104
23 " /> 23 " />
24 </path> 24 </path>
25 </g> 25 </g>
26 </svg> 26 </svg>
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698