<!DOCTYPE HTML>
<html class="reftest-print">
<head>
<style>
html { margin:10px; border:20px solid black; padding:30px; }
body { margin:0; }
div { position:absolute; width:100px; height:100px; }
</style>
</head>
<body>
<div style="top:0; border:10px solid yellow;"></div>
<div style="right:0; border:10px solid orange;"></div>
<div style="bottom:0; border:10px solid brown;"></div>
<div style="left:0; border:10px solid pink;"></div>
</body>
</html>