summaryrefslogtreecommitdiffstats
path: root/layout/painting/crashtests/1418722-1.html
blob: 93415d3012f0c0f6aa21028479834641201ffcd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html class="reftest-wait">
<body>
  <div style="width:200px; height:200px; perspective:1000px">
    <div style="width:200px; height:200px; transform:translateZ(2px); background-color:green" id="transformed"></div>
  </div>
  <div style="width: 200px; height:200px; background-color:red" id="helper"></div>
</body>
<script>
  function doTest() {
    var element = document.getElementById("transformed");
    element.parentNode.removeChild(element);
    document.getElementById("helper").style.backgroundColor = "blue";
    document.documentElement.className = "";
  }
  window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>