Revision control

1
<html>
2
<head>
3
<script src="../resources/js-test-pre.js"></script>
4
<script src="resources/paged-media-test-utils.js"></script>
5
</head>
6
<body>
7
<p id="description"></p>
8
<div id="console"></div>
9
<div id="sandbox"></div>
10
<script>
11
description("Test that the height of elements whose height depends on the viewport height is computed relative to the page height when printing.");
12
13
function test()
14
{
15
numberOfPagesShouldBe(1);
16
numberOfPagesShouldBe(1, 1000, 100);
17
numberOfPagesShouldBe(1, 1000, 10000);
18
19
document.body.removeChild(document.getElementById("sandbox"));
20
}
21
22
var successfullyParsed = true;
23
</script>
24
<script>runPrintingTest(test);</script>
25
<script src="../resources/js-test-post.js"></script>
26
</body>
27
</html>