mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
367e79bd4d
--HG-- extra : rebase_source : b2a075e9c703d7cd470546cf2bbd6516bea8192f
19 lines
602 B
HTML
19 lines
602 B
HTML
<html class="reftest-wait">
|
|
<body>
|
|
<div style="position:absolute; width:200px; height:200px; opacity:0.5">
|
|
<div style="opacity:0.9">
|
|
<div style="position:fixed; width:200px; height:200px; left:400px; background-color:blue" id="fixed"></div>
|
|
</div>
|
|
<div style="width:200px; height:200px; 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>
|