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

Side by Side Diff: LayoutTests/svg/hixie/perf/004.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/003.xml ('k') | LayoutTests/svg/hixie/perf/005.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 <script type="text/javascript"><![CDATA[ 9 <script type="text/javascript"><![CDATA[
10 var svg = document.getElementsByTagNameNS('http://www.w3.org/2000/svg', 'svg') [0]; 10 var svg = document.getElementsByTagNameNS('http://www.w3.org/2000/svg', 'svg') [0];
11 var t = document.getElementsByTagNameNS('http://www.w3.org/2000/svg', 'text')[ 1]; 11 var t = document.getElementsByTagNameNS('http://www.w3.org/2000/svg', 'text')[ 1];
12 12
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 else { 73 else {
74 var end = new Date(); 74 var end = new Date();
75 var elapsed = (end - start) / 1000; 75 var elapsed = (end - start) / 1000;
76 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.'; 76 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.';
77 if (parent.reportResults) parent.reportResults(end - start); 77 if (parent.reportResults) parent.reportResults(end - start);
78 } 78 }
79 } 79 }
80 } 80 }
81 ]]></script> 81 ]]></script>
82 </svg> 82 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/hixie/perf/003.xml ('k') | LayoutTests/svg/hixie/perf/005.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698