Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / scroll-fixed-layer-out-of-view.html
blobebcf1cb3fb6ae355972355f241938522d838e9e5
1 <!-- Based on compositing/repaint/scroll-fixed-layer-out-of-view.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="resources/paint-invalidation-test.js"></script>
6 <script type="text/javascript">
7 if (window.internals)
8 internals.settings.setPreferCompositingToLCDTextEnabled(true);
10 window.expectedPaintInvalidationObjects = [
12 function paintInvalidationTest()
14 window.scrollTo(0, 1000);
15 window.scrollTo(0, 100);
17 </script>
18 </head>
19 <body style="height:2000px" onload="runPaintInvalidationTest()">
20 <div style="position: fixed; top: -300px; left: 100px; width: 88px; height: 88px; background-color: silver"></div>
21 <div style="position: fixed; top: 1000px; left: 100px; width: 99px; height: 99px; background-color: silver"></div>
22 There should be no repaints here:
23 </body>
24 </html>