summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/test-image-layers-multiple-displayitem.html
blob: af42494a84d92eb0f3b5d0f2def32ddf462272a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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="transform: perspective(1px)"></img>
</div>
<script type="application/javascript">

function doTest() {
  document.body.style.background = "black";
  document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>