<!DOCTYPE HTML> <html class="reftest-wait"> <body> <div> <img id="image" class="reftest-no-paint" src="./image_rgrg-256x256-animated.gif"></img> </div> <script type="application/javascript"> function doTest() { document.body.style.background = "black"; document.documentElement.removeAttribute("class"); } document.addEventListener("MozReftestInvalidate", doTest, false); </script> </body> </html>