gecko-dev/layout/reftests/display-list/1436189-1.html
Matt Woodrow 284526cffc Bug 1436189 - Part 1: Add testcase. r=miko
--HG--
extra : source : ee3062043923076fceffbb61f85acc6d10339605
2018-02-09 11:47:08 +13:00

21 lines
454 B
HTML

<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<body>
<div style="opacity:0.5" id="hi">
<div style="position:fixed; width:200px; height:200px; background-color:blue"></div>
</div>
<script>
function doTest()
{
var opacityElement = document.getElementById("hi");
opacityElement.style.left = '100px';
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>