summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/786740-1.html
blob: 22a6488c775b76c2fb8dc6d56d92aa9f94b3997f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<style>
#d {
  transition:opacity 1s;
}
#p {
  position:absolute;
}
</style>
</head>
<body>
<div id="d">
  Hello
  <span id="s"><div id="p">Kitty</div></span>
</div>
<script>
var d = document.getElementById("d");
d.getBoundingClientRect();
d.style.opacity = 0.3;
window.addEventListener("MozReftestInvalidate",
  function() {
    setTimeout(function() {
      document.body.removeChild(d);
      document.documentElement.removeAttribute("class");
    }, 50);
  });
</script>
</body>
</html>