summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/test-image-layers-multiple-displayitem.html
blob: 7aeaaf038e4ee1a77645a1fd1167ead4d2984be3 (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="-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);
</script>
</body>
</html>