summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/retained-dl-scroll-out-of-view-1.html
blob: 329a11389d6c62e5081e1d4bf9f95a0a7f5db2da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html class="reftest-wait">
<head>
</head>
<body>
    <div id="container" style="height: 100px; overflow: hidden;">
    	<div id="second" style="background-color:red; width: 10px; height: 10px;"></div>
    	<div id="spacer" style="height: 200px;"></div>
    </div>
</body>
<script>
function doTest() {
  document.getElementById("container").scrollTop = 100;
  document.documentElement.removeAttribute("class");
}

window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>