<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.setPrinting();
if (window.internals)
internals.settings.setShouldPrintBackgrounds(true);
</script>
<div style="position:relative;">
<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>
</div>