<!DOCTYPE html> | |
<style> | |
html{height:0} | |
.child {position:absolute;top:60px;width:100px; height: 100px; background-color: green; } | |
</style> | |
<script> | |
if (window.testRunner) | |
testRunner.setPrinting(); | |
</script> | |
<body style="height: 0px;"> | |
<p>crbug.com/618230: There should be a green square below. | |
<div style="position: fixed;"> | |
<div class="child"></div> | |
</div> | |
</body> |