mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 13:24:12 +00:00
a268d55cd8
--HG-- extra : rebase_source : 7045daffc35fdaca02a74caa52a93a270c94cf74
32 lines
549 B
HTML
32 lines
549 B
HTML
<!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>
|