Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / scroll-fixed-squahed-layer.html
blob4b53ceb1042233a0ce1050f9b353d81ca0cffed0
1 <!-- Based on compositing/repaint/scroll-fixed-squahed-layer.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="resources/paint-invalidation-test.js"></script>
6 <style>
7 .main {
8 position: fixed;
9 top: 100px;
10 left: 100px;
11 width: 200px;
12 height: 200px;
13 background-color: lightblue;
14 will-change: transform;
17 .squahed {
18 position: fixed;
19 top: 150px;
20 left: 100px;
21 width: 200px;
22 height: 200px;
23 background-color: lightgreen;
25 </style>
26 <script>
27 if (window.internals)
28 internals.settings.setPreferCompositingToLCDTextEnabled(false);
30 window.expectedPaintInvalidationObjects = [
32 function paintInvalidationTest() {
33 window.scrollTo(0, 100);
35 </script>
36 </head>
37 <body style="height:2000px" onload="runPaintInvalidationTest()">
38 <div class="main"></div>
39 <div class="squahed"></div>
40 </body>
41 </html>