1 <!-- Based on fast/repaint/overflow-hidden-in-overflow-hidden-scrolled.html -->
5 <link rel=
"stylesheet" href=
"../../../fast/repaint/resources/default.css">
27 background-color: red;
31 background-color: green;
34 <script src=
"resources/paint-invalidation-test.js"></script>
36 window
.expectedPaintInvalidationObjects
= [
37 "LayoutBlockFlow DIV class='innerWrapper'",
38 "LayoutBlockFlow DIV class='red'",
39 "LayoutBlockFlow DIV id='ucp' class='green'",
41 function paintInvalidationTest()
43 window
.location
.hash
= "#ucp";
48 document
.getElementById("outer").scrollTop
= 1000;
49 runPaintInvalidationTest();
53 <body onload=
"runTest()">
54 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element being scrolled off page using javascript. -->
55 <!-- For the test to pass you should not see any RED, only green -->
58 <div class=
"innerWrapper">
59 <div class=
"red"></div>
60 <div id=
"ucp" class=
"green"></div>