5 <style type=
"text/css" media=
"screen">
7 border:
10px solid black;
24 background-color: rgba(
0,
0,
0,
0.2);
28 <script type=
"text/javascript" charset=
"utf-8">
29 if (window.testRunner) {
30 testRunner.dumpAsText();
31 testRunner.waitUntilDone();
36 window.setTimeout(function() {
37 document.getElementById('iframe').className = 'expanded';
38 // Need to wait for compositing layers to be updated.
39 window.setTimeout(function() {
40 if (window.testRunner) {
41 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
42 testRunner.notifyDone();
48 window.addEventListener('load', doTest, false);
53 <!-- The parent document may into compositing mode by the iframe. -->
54 <iframe id=
"iframe" src=
"resources/composited-subframe.html"></iframe>
59 <pre id=
"layers">Layer tree appears here in DRT.
</pre>