mpAsTextWithPixelResults();
    testRunner.waitUntilDone();
  }
  function runTest() {
    function shrinkBox() {
      var box = document.getElementsByClassName("box")[0];
      box.style.width = "50px";
      box.style.height = "50px";
      if (window.testRunner) {
        testRunner.notifyDone();
      }
    }
    if (window.testRunner) {
      testRunner.displayAsyncThen(shrinkBox);
    } else {
      setTimeout(shrinkBox, 500);
    }
  }
</script>
<style>
.bg {
  position: absolute;
  left:   200px;
 