| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 5 <title>Simple Path performance test</title> | 5 <title>Simple Path performance test</title> |
| 6 <script src="../resources/runner.js"></script> | 6 <script src="../resources/runner.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <pre id="log"></pre> | 9 <pre id="log"></pre> |
| 10 <div id="target"> | 10 <div id="target"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 style.display = "block"; | 31 style.display = "block"; |
| 32 style.width = "200px"; | 32 style.width = "200px"; |
| 33 target.offsetLeft; | 33 target.offsetLeft; |
| 34 style.width = "200px"; | 34 style.width = "200px"; |
| 35 target.offsetLeft; | 35 target.offsetLeft; |
| 36 style.width = "200px"; | 36 style.width = "200px"; |
| 37 target.offsetLeft; | 37 target.offsetLeft; |
| 38 style.display = "none"; | 38 style.display = "none"; |
| 39 } | 39 } |
| 40 | 40 |
| 41 PerfTestRunner.measureRunsPerSecond({ run: test }); | 41 PerfTestRunner.measureRunsPerSecond({ |
| 42 description: "Measures performance of layout on English and Chinese
characters.", |
| 43 run: test |
| 44 }); |
| 42 </script> | 45 </script> |
| 43 </body> | 46 </body> |
| 44 </html> | 47 </html> |
| OLD | NEW |