4 <link rel="stylesheet" href="resources/default.css">
26 background-color: red;
30 background-color: green;
34 if (window.testRunner) {
35 testRunner.dumpAsTextWithPixelResults();
36 testRunner.waitUntilDone();
39 function repaintTest()
41 window.location.hash = "#ucp";
42 if (window.testRunner)
43 testRunner.notifyDone();
46 function runRepaintTest()
48 document.getElementById("outer").scrollTop = 1000;
50 if (window.testRunner)
53 setTimeout(repaintTest, 0);
55 window.addEventListener("load", runRepaintTest, false);
59 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element being scrolled off page using javascript. -->
60 <!-- For the test to pass you should not see any RED, only green -->
63 <div class="innerWrapper">
64 <div class="red"></div>
65 <div id="ucp" class="green"></div>