5 <style type=
"text/css" media=
"screen">
7 border:
10px solid black;
21 background-color: rgba(
0,
0,
0,
0.6);
28 <script type=
"text/javascript" charset=
"utf-8">
29 if (window.testRunner)
30 testRunner.dumpAsText();
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);
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>
52 <pre id=
"layers">Layer tree appears here in DRT.
</pre>