blob: 16357d1ff0d8248f44796bd545c772d5db66fb16 (
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);
}, false);
</script>
</body>
</html>
|