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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/hixie/perf/005.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 <linearGradient id="gradient"> 11 <linearGradient id="gradient">
12 <stop offset="0%" stop-color="#00F" /> 12 <stop offset="0%" stop-color="#00F" />
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 var end = new Date(); 78 var end = new Date();
79 var elapsed = (end - start) / 1000; 79 var elapsed = (end - start) / 1000;
80 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.'; 80 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.';
81 if (parent.reportResults) parent.reportResults(end - start); 81 if (parent.reportResults) parent.reportResults(end - start);
82 } 82 }
83 finishRepaintTest(); 83 finishRepaintTest();
84 } 84 }
85 } 85 }
86 ]]></script> 86 ]]></script>
87 </svg> 87 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698