<!DOCTYPE html>
<script>
testRunner.setPrinting();
internals.settings.setShouldPrintBackgrounds(true);
</script>
<style>
body { margin: 0; }
</style>
<div style="float:right; width:100px; height:100px; background:green;"></div>
<div style="break-after:page;">
There should be two pages. Both pages should have a green square in the top
right corner.
</div>
<div style="float:right; width:100px; height:100px; background:green;"></div>
Page 2. Green square there? →