<!DOCTYPE html> | |
<script> | |
if (window.testRunner) | |
testRunner.setPrinting(); | |
if (window.internals) | |
internals.settings.setShouldPrintBackgrounds(true); | |
</script> | |
<style> | |
body { margin: 0; } | |
</style> | |
<div style="width:50%; height:250vh;"> | |
There should be a hotpink rectangle to the right, taking up all of the first | |
page, and half of the second. | |
</div> | |
<div style="position:absolute; top:0; right:0; width:20%; height:150vh; background:hotpink;"></div> |