Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / fixed-scroll-simple.html
blob47bbbc4e9e311b0229cbd1bc62052f4086511f28
1 <!-- Based on fast/repaint/fixed-scroll-simple.html -->
2 <html>
3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <script src="resources/paint-invalidation-test.js"></script>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsTextWithPixelResults();
10 window.expectedPaintInvalidationObjects = [
11 "LayoutBlockFlow (positioned) DIV class='green'",
13 function paintInvalidationTest()
15 window.scrollTo(0, 100);
17 </script>
18 </head>
19 <body style="height:2000px;" onload="runPaintInvalidationTest()">
20 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer fixed position logic needs more basic testing -->
21 <!-- You should see no red on this page. -->
22 <div style="position: absolute; top: 200px;" class="red"></div>
23 <div style="position: fixed; top: 100px;" class="green"></div>
24 </body>
25 </html>