<!DOCTYPE html>
<script>
testRunner.setPrinting();
internals.settings.setShouldPrintBackgrounds(true);
</script>
<div style="float:left; width:100px; height:100px; margin-right:100px; background:blue;"></div>
<div style="float:left; width:100px; height:100px; background:blue;"></div>