Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-item-border-overflow-paint-expected.html
blob7ca8c0818a7aebe41390e48a56fb195ad6368481
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function onloadScrollTop() {
6 // Scroll until we see the grid item's border but not the grid item
7 window.scrollBy(0, -150);
9 </script>
10 </head>
11 <body style="height: 1000px" onload="onloadScrollTop()">
13 <div style="height: 200px; width: 100px; background-color:red">
14 <div style="height: 100px; width: 100px; background-color: orange"></div>
15 <div style="height: 100px; width: 100px; background-color: green"></div>
16 </div>
18 <div>There should be a 100px wide green box (grid item's border) above</div>
20 <script>
21 window.scrollTo(0,300);
22 </script>
23 </body>
24 </html>