gecko-dev/layout/painting/crashtests/1413073-2.html
Matt Woodrow 367e79bd4d Bug 1413073 - Part 1: Add new crashtests for complex ASR cases. r=mstange
--HG--
extra : rebase_source : b2a075e9c703d7cd470546cf2bbd6516bea8192f
2017-11-10 13:16:36 +13:00

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>