Revision control

1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2
<html>
3
<head>
4
<script src="../resources/js-test-pre.js"></script>
5
<script src="resources/paged-media-test-utils.js"></script>
6
</head>
7
<body>
8
<p id="description"></p>
9
<div id="console"></div>
10
<div id="sandbox"></div>
11
<script>
12
description("Test for internals.numberOfPages()");
13
14
function test()
15
{
16
createBlockWithRatioToPageHeight("firstPage", 0.6);
17
createBlockWithRatioToPageHeight("secondPage", 0.6);
18
19
numberOfPagesShouldBe(2);
20
numberOfPagesShouldBe(1, 1000, 10000);
21
22
document.body.removeChild(document.getElementById("sandbox"));
23
}
24
25
var successfullyParsed = true;
26
</script>
27
<script>runPrintingTest(test);</script>
28
<script src="../resources/js-test-post.js"></script>
29
</body>
30
</html>