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