<!DOCTYPE html> | |
<style> | |
body { | |
margin: 0; | |
} | |
div { | |
position: absolute; | |
left: 0; | |
top: 0; | |
width: 100%; | |
height: 10000px; | |
background: url('../../images/resources/gracehopper.png'); | |
} | |
p { | |
position: fixed; | |
} | |
</style> | |
<div></div> | |
<p>This test verifies document backgrounds are painted at correct | |
location when scroll offset is present.</p> | |
<script> | |
window.scrollTo(0, 100); | |
</script> |