Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / become-overlapped-iframe.html
blob5439abccfe423a88f8265e8da11f4bfb15d48807
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: 50px;
10 height: 170px;
11 width: 320px;
12 float: left;
15 #overlay {
16 position: absolute;
17 width: 150px;
18 height: 50px;
19 top: 5px;
20 left: 5px;
21 background-color: rgba(0, 0, 0, 0.6);
24 pre {
25 clear: both;
27 </style>
28 <script type="text/javascript" charset="utf-8">
29 if (window.testRunner)
30 testRunner.dumpAsText();
32 function doTest()
34 document.getElementById('overlay').style.height = '150px';
35 if (window.internals) {
36 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
40 window.addEventListener('load', doTest, false);
41 </script>
42 </head>
43 <body>
45 <!-- Test that the parent document becomes composited when the iframe becomes overlapped. -->
46 <!-- The iframe does not start with a Layer. -->
47 <iframe id="iframe" src="resources/composited-subframe.html"></iframe>
49 <div id="overlay">
50 </div>
52 <pre id="layers">Layer tree appears here in DRT.</pre>
53 </body>
54 </html>