Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / culling / clear-fixed-iframe.html
blob4bfd87e1917923c20d238b233d9b59fa75a29418
1 <!DOCTYPE html>
2 <html><head><title>Compositor Iframe Sadface</title>
3 <style>
4 body { margin: 0; padding: 0; }
5 .composited {
6 transform: translateZ(0);
7 background-color: green;
8 position:fixed;
9 left:0; top:0; right:0; bottom:0;
11 iframe {
12 position:fixed;
13 left: 0; top: 0;
14 width:100%;
15 height: 100%;
16 border:0;
18 </style>
19 <script type="text/javascript">
20 if (window.testRunner) {
21 testRunner.dumpAsTextWithPixelResults();
23 </script>
24 </head>
26 <body>
27 <div class="composited"></div>
29 <!-- You should see a light green box filling the top/left of the window, inside a darker green background.
30 If the "glass" in the iframe is considered opaque, then drawing errors will occur and tiles become black
31 (light gray with the glass).
32 -->
33 <iframe src="resources/clear-fixed-iframe-content.html" frameborder="0"></iframe>
34 </body>
36 </html>