summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/894931-1.html
blob: 83d33e6e4f88d25406a666c726cb78cd8ed95237 (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);
</script>
</body>
</html>