summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/test-image-layers.html
blob: 76c9b9ac36f9421e96054d94a44715da3001402f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<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>