layout/reftests/bugs/482659-1c.html
author Matt Woodrow <mwoodrow@mozilla.com>
Wed, 29 Aug 2012 17:48:44 +1200
changeset 108389 226afc8b39b0f6aa461f4f75edd601a7631ed7cd
parent 99999 5f34f67d178d10a7cc8ce03dbd8179ca9929697f
child 108411 d3f86e3a324043af516650186f801c7117fd12bb
permissions -rw-r--r--
Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc

<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script>
      function doTest() {
        window.frames[0].location =
          'javascript:document.write(""); document.close(); ' +
          'parent.continueTest();'
      }

      function continueTest() {
        // Do this part async just in case
        setTimeout(function() {
          window.frames[0].document.body.innerHTML =
            "<img src='passouter.png' " +
            "onload='window.parent.document.documentElement.className = &quot;&quot;'>";
                                                                                        }, 0);
      }
      document.addEventListener("MozReftestInvalidate", doTest, false);
    </script>
  </head>
  <body>
    <iframe></iframe>
  </body>
</html>