Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / overlapped-iframe-iframe.html
blobe3794b435b39f4581ade687432c8f434b7895282
1 <html>
2 <head>
3 <style type="text/css" media="screen">
4 body {
5 overflow: hidden;
8 iframe {
9 position: absolute;
10 top: 0px;
11 left: 0px;
12 height: 300px;
13 width: 300px;
16 #overlap {
17 left: 250px;
20 pre {
21 position: absolute;
22 bottom: 2000px;
23 left: 0px;
25 </style>
26 <script>
27 if (window.testRunner) {
28 testRunner.dumpAsText();
31 function doTest()
33 if (window.testRunner) {
34 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
38 window.addEventListener('load', doTest, false);
39 </script>
40 </head>
41 <body>
43 <iframe src="resources/composited-subframe.html"></iframe>
44 <!-- this iframe should become composited because it overlaps the other iframe -->
45 <iframe id="overlap" src="resources/subframe.html"></iframe>
47 <pre id="layers">Layer tree appears here in DRT.</pre>
48 </body>
49 </html>