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

Side by Side Diff: LayoutTests/svg/hixie/perf/002.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/001.xml ('k') | LayoutTests/svg/hixie/perf/003.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="-200 -200 600 600" xmlns:xlink= "http://www.w3.org/1999/xlink" onload="runRepaintTest()"> 1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="-200 -200 600 600" 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 var max = 75; 5 var max = 75;
6 6
7 // When running in DRT only bounce ten times otherwhise this test takes way to o long 7 // When running in DRT only bounce ten times otherwhise this test takes way to o long
8 if (window.testRunner) 8 if (window.testRunner)
9 max = 10; 9 max = 10;
10 </script> 10 </script>
11 <rect fill="none" stroke="black" x="-190" y="-190" width="580" height="580" rx= "40"/> 11 <rect fill="none" stroke="black" x="-190" y="-190" width="580" height="580" rx= "40"/>
12 <text x="-150" y="-150" font-size="10">SVG Performance test.</text> 12 <text x="-150" y="-150" font-size="10">SVG Performance test.</text>
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 else { 287 else {
288 var end = new Date(); 288 var end = new Date();
289 var elapsed = (end - start) / 1000; 289 var elapsed = (end - start) / 1000;
290 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.'; 290 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.';
291 if (parent.reportResults) parent.reportResults(end - start); 291 if (parent.reportResults) parent.reportResults(end - start);
292 } 292 }
293 } 293 }
294 } 294 }
295 ]]></script> 295 ]]></script>
296 </svg> 296 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/hixie/perf/001.xml ('k') | LayoutTests/svg/hixie/perf/003.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698