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

Side by Side Diff: LayoutTests/svg/hixie/perf/006.xml

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
« no previous file with comments | « LayoutTests/svg/hixie/perf/005.xml ('k') | LayoutTests/svg/hixie/perf/007.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="400" height ="400" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()"> 1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="400" height ="400" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest ()">
2 <script xlink:href="../../../fast/repaint/resources/repaint.js"></script> 2 <script xlink:href="../../../fast/repaint/resources/text-based-repaint.js"></sc ript>
3 <script type="text/javascript"> 3 <script type="text/javascript">
4 var start = new Date(); 4 var start = new Date();
5 </script> 5 </script>
6 <text x="10" y="15" font-weight="900" font-size="5">SVG Performance test.</text > 6 <text x="10" y="15" font-weight="900" font-size="5">SVG Performance test.</text >
7 <text x="10" y="95" font-weight="900" font-size="5">Test not started.</text> 7 <text x="10" y="95" font-weight="900" font-size="5">Test not started.</text>
8 <rect x="0" y="0" height="100" width="100" stroke="black" fill="none"/> 8 <rect x="0" y="0" height="100" width="100" stroke="black" fill="none"/>
9 <radialGradient id="gradient"> 9 <radialGradient id="gradient">
10 <stop offset="0%" stop-color="#00F" /> 10 <stop offset="0%" stop-color="#00F" />
11 <stop offset="10%" stop-color="#F60" /> 11 <stop offset="10%" stop-color="#F60" />
12 <stop offset="90%" stop-color="#FF6" /> 12 <stop offset="90%" stop-color="#FF6" />
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 else { 79 else {
80 var end = new Date(); 80 var end = new Date();
81 var elapsed = (end - start) / 1000; 81 var elapsed = (end - start) / 1000;
82 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.'; 82 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.';
83 if (parent.reportResults) parent.reportResults(end - start); 83 if (parent.reportResults) parent.reportResults(end - start);
84 } 84 }
85 } 85 }
86 } 86 }
87 ]]></script> 87 ]]></script>
88 </svg> 88 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/hixie/perf/005.xml ('k') | LayoutTests/svg/hixie/perf/007.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698