Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / overlapped-iframe.html
blob8606b08e7a628f862a74a82598158801952a39f8
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 iframe {
7 border: 10px solid black;
8 padding: 5px;
9 margin: 20px;
10 height: 150px;
11 width: 300px;
12 -webkit-box-shadow: 0 0 20px black;
15 .overlay {
16 position: absolute;
17 width: 50px;
18 height: 50px;
19 top: 5px;
20 left: 5px;
21 background-color: rgba(0, 0, 0, 0.2);
24 </style>
25 <script type="text/javascript" charset="utf-8">
26 if (window.testRunner) {
27 testRunner.dumpAsText();
30 function doTest()
32 if (window.testRunner) {
33 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
37 window.addEventListener('load', doTest, false);
38 </script>
39 </head>
40 <body>
42 <!-- The parent document may into compositing mode by the iframe. -->
43 <iframe id="parent-iframe" src="resources/composited-subframe.html"></iframe>
45 <div class="overlay">
46 </div>
48 <pre id="layers">Layer tree appears here in DRT.</pre>
49 </body>
50 </html>