| <script type="text/javascript"> |
| if (!window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| var lines = [ 'line<br>' ]; |
| for (var i = 0; i < 7; i++) |
| lines = lines.concat(lines); |
| document.body.innerHTML = '<p>' + lines.join('') + '</p>'; |
| document.body.textContent = 'When printing, layout overflow must be cleared after current document size is queried: ' + (layoutTestController.numberOfPages() > 1 ? 'PASS' : 'FAIL'); |
| <body onload="runTest()"> |
| This test needs window.layoutTestController to run. |