summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/test-animated-image-layers-background.html
blob: 06ebb2fbd3dd3e05e806a5545a65e55bde4c2c75 (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>
<div id="image" style="width: 256px; height: 256px; background-image: url('image_rgrg-256x256-animated.gif');" class="reftest-no-paint"></div>
</div>
<script type="application/javascript">

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