<!DOCTYPE HTML> <html class="reftest-wait"> <body> <div id="d" style="background:blue; border-radius:50px; width:200px; height:100px;"> </div> <script> function doTest() { var d = document.getElementById("d"); d.style.height = "200px"; document.documentElement.className = ""; } window.addEventListener("MozReftestInvalidate", doTest, false); </script> </body> </html>