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

Side by Side Diff: LayoutTests/svg/hixie/perf/007.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/006.xml ('k') | LayoutTests/svg/repaint/container-repaint.svg » ('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 viewBox="0 0 800 400" width="200" xmlns="http://www.w3.org/2000/svg" xmlns :country="http://example.com/" xmlns:xlink="http://www.w3.org/1999/xlink" onload ="runRepaintTest()"> 1 <svg viewBox="0 0 800 400" width="200" xmlns="http://www.w3.org/2000/svg" xmlns :country="http://example.com/" 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 <style type="text/css"> 6 <style type="text/css">
7 svg { fill: none; stroke: none; } 7 svg { fill: none; stroke: none; }
8 text { fill: gray; stroke: none; } 8 text { fill: gray; stroke: none; }
9 #messages { fill: red; } 9 #messages { fill: red; }
10 #countries > * { fill: silver; stroke-width: 0.2px; stroke: gray; } 10 #countries > * { fill: silver; stroke-width: 0.2px; stroke: gray; }
11 #countries #BE { fill: rgb(0.00%, 2.35%, 0.00%); } 11 #countries #BE { fill: rgb(0.00%, 2.35%, 0.00%); }
12 #countries #FR { fill: rgb(0.00%, 9.41%, 0.00%); } 12 #countries #FR { fill: rgb(0.00%, 9.41%, 0.00%); }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } else { 273 } else {
274 var end = new Date(); 274 var end = new Date();
275 var elapsed = (end - start); 275 var elapsed = (end - start);
276 t.firstChild.data = 'Result: ' + elapsed.toFixed(2) + 'ms (target: ' + i dealTime.toFixed(1) + 'ms)'; 276 t.firstChild.data = 'Result: ' + elapsed.toFixed(2) + 'ms (target: ' + i dealTime.toFixed(1) + 'ms)';
277 if (parent.reportResults) parent.reportResults(end - start); 277 if (parent.reportResults) parent.reportResults(end - start);
278 } 278 }
279 } 279 }
280 } 280 }
281 ]]></script> 281 ]]></script>
282 </svg> 282 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/hixie/perf/006.xml ('k') | LayoutTests/svg/repaint/container-repaint.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698