Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / non-stacking-scroller-with-abspos-descendant-indirect-expected.html
blob967fb999bf1f6bef1a526a21240e637272b7f9b2
1 <!doctype HTML>
2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <div id="target" style="overflow:scroll; width: 300px; height: 300px;">
4 <div style="height: 1000px; width: 100px;"></div>
5 </div>
6 <div style="position: absolute; top: 200px; width: 100px; height: 100px; background: red"></div>
7 <script>
8 // Test that a non-stacking-context scroller does not scroll an absolutely positioned child.
9 function test() {
10 runAfterLayoutAndPaint(function() {
11 target.scrollTop += 100;
12 }, true);
14 window.onload = test;
15 </script>