| OLD | NEW |
| 1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="-200 -200 600 600" xmlns:xlink=
"http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> | 1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="-200 -200 600 600" 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 var max = 75; | 7 var max = 75; |
| 8 | 8 |
| 9 // When running in DRT only bounce ten times otherwhise this test takes way to
o long | 9 // When running in DRT only bounce ten times otherwhise this test takes way to
o long |
| 10 if (window.testRunner) | 10 if (window.testRunner) |
| 11 max = 10; | 11 max = 10; |
| 12 </script> | 12 </script> |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 var end = new Date(); | 286 var end = new Date(); |
| 287 var elapsed = (end - start) / 1000; | 287 var elapsed = (end - start) / 1000; |
| 288 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.'; | 288 t.firstChild.data = 'Test completed in ' + elapsed.toFixed(2) + 's.'; |
| 289 if (parent.reportResults) parent.reportResults(end - start); | 289 if (parent.reportResults) parent.reportResults(end - start); |
| 290 } | 290 } |
| 291 finishRepaintTest(); | 291 finishRepaintTest(); |
| 292 } | 292 } |
| 293 } | 293 } |
| 294 ]]></script> | 294 ]]></script> |
| 295 </svg> | 295 </svg> |
| OLD | NEW |