blob: 29bff9da3f7c3bb297293abe737c448c732e4956 [file] [log] [blame]
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
<script src="resources/paged-media-test-utils.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<div id="sandbox"></div>
<script>
description("Test that the height of elements whose height depends on the viewport height is computed relative to the page height when printing.");
function test()
{
numberOfPagesShouldBe(1);
numberOfPagesShouldBe(1, 1000, 100);
numberOfPagesShouldBe(1, 1000, 10000);
document.body.removeChild(document.getElementById("sandbox"));
}
var successfullyParsed = true;
</script>
<script>runPrintingTest(test);</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>