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