910e62b5创建于 1月15日历史提交
<!DOCTYPE html>
<html>
  <link rel=author href="mailto:wjmaclean@chromium.org">
  <meta name="fuzzy" content="maxDifference=0-255; totalPixels=0-198">
  <body>
    <h1>Mainframe with text and an out-of-process iframe</h1>
    This is some mainframe text.<p>
    <!--  use of localhost below will make the iframe an OOPIF -->
    <iframe style="transform: translate(0.5px, 0.5px)"
            src="http://localhost:8080/html/resources/scaled-oopif-text.html"></iframe>
  </body>
  <script>
    if (window.testRunner) {
      testRunner.waitUntilDone();
    }
    onload = () => {
      if (window.testRunner) {
        // This test is flaky because the test does not wait for the oopif to
        // paint. Work around this by waiting for a frame.
        requestAnimationFrame(()=> {
          requestAnimationFrame(()=> {
            testRunner.notifyDone();
          });
        });
      }
    }
  </script>
</html>