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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/hixie/perf/007.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 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()"> 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="../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 <style type="text/css"> 8 <style type="text/css">
9 svg { fill: none; stroke: none; } 9 svg { fill: none; stroke: none; }
10 text { fill: gray; stroke: none; } 10 text { fill: gray; stroke: none; }
11 #messages { fill: red; } 11 #messages { fill: red; }
12 #countries > * { fill: silver; stroke-width: 0.2px; stroke: gray; } 12 #countries > * { fill: silver; stroke-width: 0.2px; stroke: gray; }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 var end = new Date(); 273 var end = new Date();
274 var elapsed = (end - start); 274 var elapsed = (end - start);
275 t.firstChild.data = 'Result: ' + elapsed.toFixed(2) + 'ms (target: ' + i dealTime.toFixed(1) + 'ms)'; 275 t.firstChild.data = 'Result: ' + elapsed.toFixed(2) + 'ms (target: ' + i dealTime.toFixed(1) + 'ms)';
276 if (parent.reportResults) parent.reportResults(end - start); 276 if (parent.reportResults) parent.reportResults(end - start);
277 } 277 }
278 finishRepaintTest(); 278 finishRepaintTest();
279 } 279 }
280 } 280 }
281 ]]></script> 281 ]]></script>
282 </svg> 282 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698