summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1155828-1-ref.html
blob: 66bfea56c44a5d27fd7b266f4df14eff584baabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<style type="text/css">
#rear {
  width: 500px;
  height: 1500px;
  box-shadow: 0 0 71px #667;
  display: block;
}
</style>
<script>
document.documentElement.scrollTop = 0;

function doTest() {
  document.documentElement.scrollTop = 108;
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</head>
<body>
<div id="rear"></div>
</body>
</html>