Update scroll position immediately after resizing view
[framework/web/webkit-efl.git] / LayoutTests / printing / page-count-layout-overflow.html
1 <html>
2 <head>
3 <style type="text/css">
4
5 p {
6     font-size: xx-large;
7     width: 1000px;
8     height: 100px;
9 }
10
11 </style>
12 <script type="text/javascript">
13
14 function runTest()
15 {
16     if (!window.testRunner)
17         return;
18
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');
25 }
26
27 </script>
28 <head>
29 <body onload="runTest()">
30 This test needs window.testRunner to run.
31 </body>
32 </html>