5 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
6 <style type=
"text/css" media=
"screen">
8 border:
10px solid black;
12 -webkit-box-shadow:
0 0 20px black;
19 background-color: blue;
20 transform: translateZ(
1px);
27 <script type=
"text/javascript" charset=
"utf-8">
29 if (window.testRunner) {
30 testRunner.dumpAsText();
31 testRunner.waitUntilDone();
36 runAfterLayoutAndPaint(function() {
37 var div = document.getElementById('invisible');
38 div.style.cssText =
"";
39 if (window.testRunner) {
40 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
41 testRunner.notifyDone();
46 window.addEventListener('load', doTest, false);
51 <!-- The nested iframe should appear when we remove "diplay:none". -->
52 <div id=
"invisible" style=
"display:none;">
53 <iframe src=
"resources/intermediate-frame.html"></iframe>
57 <pre id=
"layers">Layer tree appears here in DRT.
</pre>