summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/test-animated-image-layers-background.html
blob: ca51a27bfbbfaf040d86574c39713fbec25f6580 (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);
</script>
</body>
</html>