summaryrefslogtreecommitdiffstats
path: root/layout/painting/crashtests/1413073-1.html
blob: ddecfb242441138d16906a5643c5ad02d1c90de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html class="reftest-wait">
<body>
<div style="position:fixed; width:200px; height:200px; background-color:blue">
    <div style="position:fixed; width:200px; height:200px; left:400px; background-color:red" id="inner"></div>
</div>
</body>
<script>
  function doTest() {
    var d = document.getElementById("inner");
    d.style.backgroundColor = "green";
    document.documentElement.className = "";
  }
  window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>