Move platform/mac-wk2/tiled-drawing to tiled-drawing/
[WebKit-https.git] / LayoutTests / tiled-drawing / top-content-inset-fixed-attachment.html
1 <html>
2 <head>
3 <style>
4
5 body {
6     height:2000px;
7     margin:0;
8     overflow:hidden;
9 }
10
11 #fixed-background-box {
12     width: 400px;
13     height: 600px;
14     background-image: linear-gradient(blue, blue 10px, green 10px, green 490px, black 490px, black);
15     background-attachment: fixed;
16     background-repeat:no-repeat;
17 }
18
19 </style>
20 <script>
21 function runTest() {
22     if (window.internals)
23         window.internals.setTopContentInset(100);
24     window.scrollTo(0, 100);
25 }
26 window.addEventListener('load', runTest, false);
27 </script>
28 </head>
29 <body>
30     <div id="fixed-background-box"></div>
31 </body>
32 </html>