Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / printing / page-count-layout-overflow.html
blob571f7d7b6639f9d3761655231c06f706f63595b7
1 <html>
2 <head>
3 <style type="text/css">
5 p {
6 font-size: xx-large;
7 width: 1000px;
8 height: 100px;
11 </style>
12 <script type="text/javascript">
14 function runTest()
16 if (!window.testRunner)
17 return;
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: ' + (internals.numberOfPages() > 1 ? 'PASS' : 'FAIL');
27 </script>
28 <head>
29 <body onload="runTest()">
30 This test needs window.testRunner to run.
31 </body>
32 </html>