Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / overflow / fixed-background-scroll.html
blobf1e672be362048be7661fa9488f473aadb5c1e08
1 <!DOCTYPE html>
2 <style>
3 ::-webkit-scrollbar {
4 display: none;
6 </style>
7 Tests painting of fixed background content in scrolled container.
8 Passes if the background doesn't scroll.
9 <div id="container" style="width: 200px; height: 200px; overflow: scroll">
10 <div id="content" style="height: 2000px; background: linear-gradient(red, blue); background-attachment: fixed"></div>
11 </div>
12 <script>
13 onload = function() {
14 container.scrollTop = 1000;
16 </script>