gecko/layout/reftests/invalidation/test-image-layers-multiple-displayitem.html
Benoit Girard 37b549af2f Bug 1056944 - Create an image layer if opaque image covers previous display items. r=mwoodrow
--HG--
extra : rebase_source : d561b6e215d654560f89acddec1663517ca4e8ce
2014-09-04 01:02:27 -04:00

22 lines
487 B
HTML

<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<style>
img {
background-color: green;
}
</style>
<div>
<img id="image" class="reftest-no-paint" src="./image_rgrg-256x256.png" style="-moz-transform: perspective(1px)"></img>
</div>
<script type="application/javascript">
function doTest() {
document.body.style.background = "black";
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>