Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / full-viewport-repaint-for-background-attachment-fixed.html
blobd01dd71090d6d5e053de6eb61e0e5e921a0e5733
1 <!DOCTYPE html>
2 <style>
3 body {
4 background-image: linear-gradient(red, blue);
5 background-attachment: fixed;
6 margin: 0;
8 </style>
9 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
10 <script>
11 if (window.testRunner)
12 window.internals.settings.setPreferCompositingToLCDTextEnabled(false);
14 function repaintTest() {
15 window.scrollTo(0, 1000);
18 window.onload = function() {
19 runRepaintTest();
21 </script>
22 <div style="height: 5000px">
23 Tests that scrolling a frame with background-attachment: fixed invalidates the entire viewport.
24 </div>