Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / overflow-hidden-in-overflow-hidden-scrolled-expected.html
blobe8339bbf79b032d3caf3bcf09fe33895b33e85d1
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <style>
6 #outer {
7 position: relative;
8 overflow: hidden;
9 height: 200px;
12 section {
13 padding: 192px 0 0 0;
14 width: 200px;
17 div {
18 height: 190px;
21 .innerWrapper {
22 overflow: hidden;
25 .red {
26 background-color: red;
29 .green {
30 background-color: green;
32 </style>
33 <script>
34 function runTest()
36 document.getElementById("outer").scrollTop = 1000;
38 </script>
39 </head>
40 <body onload="runTest()">
41 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element being scrolled off page using javascript. -->
42 <!-- For the test to pass you should not see any RED, only green -->
43 <div id="outer">
44 <section>
45 <div class="innerWrapper">
46 <div id="ucp" class="green"></div>
47 </div>
48 </section>
49 </div>
50 </body>
51 </html>