| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| margin : 0; | |
| } | |
| div { | |
| margin : auto; | |
| width : 1300px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <p> | |
| To run this test manually, print this page. | |
| If the right side of any lines is printed without being truncated, the test passes. | |
| </p> | |
| <div id="result"> | |
| </div> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.setPrinting(); | |
| var testCases = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
| var result = ""; | |
| for (var i = 0; i < testCases.length; i++) { | |
| result += "<p>"; | |
| for (var j = 0; j < 300; j++) { | |
| result += testCases[i] + " "; | |
| } | |
| result += "</p>\n"; | |
| } | |
| document.getElementById("result").innerHTML = result; | |
| </script> | |
| </body> | |
| </html> |