summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/transitions/opacity-transform-transitions-inside-iframe.html
blob: 44195b1345e97bcf3d759b192abbbd5d3fa6e4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<html>
<!-- This test is minimal test case of crbug.com/324685. This test mimics Chrome Settings page. -->
<head>
  <style>
    iframe {
        border: none;
        display: block;
        height: 90%;
        width: 90%;
    }
  </style>
  <script>
    if (window.testRunner) {
        testRunner.waitUntilDone();
        testRunner.dumpAsTextWithPixelResults();
    }
    function testFinished()
    {
        if (window.testRunner)
            testRunner.notifyDone();
    }
    window.onmessage = function (messageEvent) {
        testFinished();
    }
  </script>
</head>
<body>
  <!-- The document inside iframe is not in force compositing mode, because iframe does not have overflow property. -->
  <div id="parent">
    <iframe id="iframe" src="resources/opacity-transform-transitions-inside-iframe-inner.html"></iframe>
  </div>
</body>
</html>