1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/backgrounds/attachment-local-positioning-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<!doctype html> 1.5 +<title>background-attachment: scroll</title> 1.6 +<style> 1.7 +div { 1.8 + background: url(aqua-yellow-32x32.png) no-repeat 100px 100px; 1.9 + overflow: hidden; 1.10 + height: 200px; 1.11 +} 1.12 +p { 1.13 + padding-top: 100px; 1.14 + height: 500px; 1.15 +} 1.16 +</style> 1.17 +<div> 1.18 + <p><img src=blue-32x32.png></p> 1.19 +</div> 1.20 +<script> 1.21 +document.getElementsByTagName('div')[0].scrollTop = 60; 1.22 +</script>