Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / full-viewport-repaint-for-background-attachment-fixed.html
blob1521e60cb3a8a9696a931eba87bdeec1a3b8f983
1 <!-- Based on fast/repaint/full-viewport-repaint-for-background-attachment-fixed.html -->
2 <!DOCTYPE html>
3 <style>
4 body {
5 background-image: linear-gradient(red, blue);
6 background-attachment: fixed;
7 margin: 0;
9 </style>
10 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
11 <script>
12 if (window.testRunner)
13 window.internals.settings.setPreferCompositingToLCDTextEnabled(false);
15 window.expectedPaintInvalidationObjects = [
16 "##ALL##",
17 "LayoutView #document",
19 function paintInvalidationTest() {
20 window.scrollTo(0, 1000);
23 window.onload = function() {
24 runPaintInvalidationTest();
26 </script>
27 <div style="height: 5000px">
28 Tests that scrolling a frame with background-attachment: fixed invalidates the entire viewport.
29 </div>