summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/894931-1.html
blob: 2ff2ebc90fba6ee4778718b78157fa2bdd6835b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<div id="d" style="margin-top:100px;">
  <div style="background:yellow; width:100px; height:100px; position:absolute; top:0; left:0"></div>
</div>
<script>
function doTest() {
  document.getElementById("d").style.position = "relative";
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>