3 <style type="text/css">
12 <script type="text/javascript">
16 if (!window.testRunner)
19 testRunner.dumpAsText();
20 var lines = [ 'line<br>' ];
21 for (var i = 0; i < 7; i++)
22 lines = lines.concat(lines);
23 document.body.innerHTML = '<p>' + lines.join('') + '</p>';
24 document.body.textContent = 'When printing, layout overflow must be cleared after current document size is queried: ' + (testRunner.numberOfPages() > 1 ? 'PASS' : 'FAIL');
29 <body onload="runTest()">
30 This test needs window.testRunner to run.