OLD | NEW |
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 Loading... |
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> |
OLD | NEW |