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