summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/compositing/missing-iframe-contents.html
blob: d769e43fedaad4efe56d12ca80f4f73a6b781bf1 (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
<!DOCTYPE html>

<html>
<head>
  <style type="text/css" media="screen">
    iframe {
        border: 10px solid black;
        padding: 5px;
        margin: 20px;
        height: 150px;
        width: 300px;
        -webkit-box-shadow: 0 0 20px black;
        -webkit-transform: translateZ(0);
    }
    
  </style>
  <script type="text/javascript" charset="utf-8">
    function doTest()
    {
      document.getElementById('iframe').className = 'dummy';
    }
    
    window.addEventListener('load', doTest, false);
  </script>
</head>
<body>

    <iframe id="iframe" src="resources/composited-subframe.html"></iframe>
    
    <p><a href="https://bugs.webkit.org/show_bug.cgi?id=42046">https://bugs.webkit.org/show_bug.cgi?id=42046</a><br>
      You should see a blue rectangle inside the iframe when the page loads.</p>
</body>
</html>