<!DOCTYPE html> | |
<script src="resources/paged-media-test-utils.js"></script> | |
<style> | |
body,html{margin:0}; | |
div{background:red}; | |
div{height:842pt;width:595pt}; | |
@page{margin:0}; | |
</style> | |
<div></div> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
function test() | |
{ | |
numberOfPagesShouldBe(1); | |
} | |
runPrintingTest(test); | |
</script> |