layout/reftests/backgrounds/attachment-scroll-positioning-1.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:d3aa4dec2de3
1 <!doctype html>
2 <title>CSS Test: background-attachment: scroll; positioning area</title>
3 <link rel="match" href="attachment-scroll-positioning-1-ref.html" />
4 <meta name="flags" content="dom" />
5 <link rel="author" title="Simon Sapin" href="http://exyr.org/about/" />
6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-attachment" />
7 <style>
8 div {
9 background: url(aqua-yellow-32x32.png) no-repeat 100px 100px;
10 overflow: hidden;
11 height: 200px;
12 }
13 p {
14 padding-top: 100px;
15 height: 500px;
16 }
17 </style>
18 <div>
19 <p><img src=blue-32x32.png></p>
20 </div>
21 <script>
22 document.getElementsByTagName('div')[0].scrollTop = 60;
23 </script>

mercurial