<html class="reftest-wait"> <head> <script> function doTest() { document.getElementById("myDiv").style.width = "100px"; document.documentElement.removeAttribute("class"); } window.addEventListener("MozReftestInvalidate", doTest); </script> </head> <body> <div id="myDiv" style="width: 10px; height: 100px; background-image: url('lime100x100-noSVGDimensions.svg')"> </div> </body> </html>