Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / fixed-under-composited-absolute-scrolled-expected.html
blob4bb6c8917d40fa4e6d2f72c83eeb35f19c259d0d
1 <!DOCTYPE html>
2 <script>
3 onload = function() {
4 window.scrollTo(0, 400);
5 };
6 </script>
7 <style>
8 #indicator {
9 position: absolute;
10 height: 200px;
11 width: 100px;
12 top: 400px;
13 left: 0;
14 background-color: green;
16 #absolute {
17 position: absolute;
18 top: 2000px;
19 width: 1px;
20 height: 1px;
22 </style>
23 Tests paint invalidation of fixed element under a composited absolute element on resize after scrolled.
24 Passes if there is a 100x200 green rectangle and no red.
25 <div id="indicator"></div>
26 <div id="absolute"></div>