1<html>
2<head>
3<style type="text/css">
4
5p {
6 font-size: xx-large;
7 width: 1000px;
8 height: 100px;
9}
10
11</style>
12<script type="text/javascript">
13
14function runTest()
15{
16 if (!window.layoutTestController)
17 return;
18
19 layoutTestController.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: ' + (layoutTestController.numberOfPages() > 1 ? 'PASS' : 'FAIL');
25}
26
27</script>
28<head>
29<body onload="runTest()">
30This test needs window.layoutTestController to run.
31</body>
32</html>