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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/hixie/perf/003.xml

Issue 2329413003: Cleanups after moving paint invalidation tests (Closed)
Patch Set: Created 4 years, 3 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 <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 ()"> 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="../resources/text-based-repaint.js"></script> 2 <script xlink:href="../../../paint/invalidation/resources/text-based-repaint.js "></script>
3 <script type="text/javascript"> 3 <script type="text/javascript">
4 window.testIsAsync = true; 4 window.testIsAsync = true;
5 window.outputRepaintRects = false; 5 window.outputRepaintRects = false;
6 var start = new Date(); 6 var start = new Date();
7 </script> 7 </script>
8 <text x="10" y="15" font-weight="900" font-size="5">SVG Performance test.</text > 8 <text x="10" y="15" font-weight="900" font-size="5">SVG Performance test.</text >
9 <text x="10" y="95" font-weight="900" font-size="5">Test not started.</text> 9 <text x="10" y="95" font-weight="900" font-size="5">Test not started.</text>
10 <rect x="0" y="0" height="100" width="100" stroke="black" fill="none"/> 10 <rect x="0" y="0" height="100" width="100" stroke="black" fill="none"/>
11 <script type="text/javascript"><![CDATA[ 11 <script type="text/javascript"><![CDATA[
12 var svg = document.getElementsByTagNameNS('http://www.w3.org/2000/svg', 'svg') [0]; 12 var svg = document.getElementsByTagNameNS('http://www.w3.org/2000/svg', 'svg') [0];
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 var end = new Date(); 71 var end = new Date();
72 var elapsed = (end - start) / 1000; 72 var elapsed = (end - start) / 1000;
73 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.'; 73 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.';
74 if (parent.reportResults) parent.reportResults(end - start); 74 if (parent.reportResults) parent.reportResults(end - start);
75 } 75 }
76 finishRepaintTest(); 76 finishRepaintTest();
77 } 77 }
78 } 78 }
79 ]]></script> 79 ]]></script>
80 </svg> 80 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698