| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Hindi Line breaking performance test</title> | 4 <title>Hindi Line breaking performance test</title> |
| 5 <script src="../resources/runner.js"></script> | 5 <script src="../resources/runner.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <!-- Example hindi from http://people.w3.org/rishida/scripts/samples/hindi.p
hp. Hindi was chosen, as its ligatures should cause us to use the complex-text p
ath. --> | 8 <!-- Example hindi from http://people.w3.org/rishida/scripts/samples/hindi.p
hp. Hindi was chosen, as its ligatures should cause us to use the complex-text p
ath. --> |
| 9 <pre id="log"></pre> | 9 <pre id="log"></pre> |
| 10 <div id="target" style="width: 300px; display: none;"> | 10 <div id="target" style="width: 300px; display: none;"> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 style.display = "block"; | 28 style.display = "block"; |
| 29 style.width = "280px"; | 29 style.width = "280px"; |
| 30 target.offsetLeft; | 30 target.offsetLeft; |
| 31 style.width = "300px"; | 31 style.width = "300px"; |
| 32 target.offsetLeft; | 32 target.offsetLeft; |
| 33 style.width = "290px"; | 33 style.width = "290px"; |
| 34 target.offsetLeft; | 34 target.offsetLeft; |
| 35 style.display = "none"; | 35 style.display = "none"; |
| 36 } | 36 } |
| 37 | 37 |
| 38 PerfTestRunner.measureRunsPerSecond({ run: test }); | 38 PerfTestRunner.measureRunsPerSecond({ |
| 39 description: "Measures performance of layout on a page containing Hi
ndi.", |
| 40 run: test |
| 41 }); |
| 39 </script> | 42 </script> |
| 40 </body> | 43 </body> |
| 41 </html> | 44 </html> |
| OLD | NEW |