summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/827577-1b.html
blob: fac209f7da741778ad3ce2f6ae98608b156855d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<div style="transform:translateX(100px); width:200px; height:200px; border:1px solid black">
  <div style="position:absolute;">
  </div>
  <div style="position:absolute;">
    <div id="d" style="display:none; position:fixed; right:0; width:50px; height:80px; background:yellow;">
    </div>
  </div>
</div>
<script>
function doTest() {
  document.getElementById("d").style.display = "";
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>