5 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
6 <style type=
"text/css" media=
"screen">
15 background-color: blue;
19 transform: translateZ(
0);
29 <script type=
"text/javascript" charset=
"utf-8">
30 if (window.testRunner) {
31 testRunner.dumpAsText();
32 testRunner.waitUntilDone();
37 if (window.testRunner) {
38 runAfterLayoutAndPaint(function() {
39 document.getElementById('box').className = 'composited';
40 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
41 testRunner.notifyDone();
46 window.addEventListener('load', doTest, false);
52 <!-- Tests that when the main document becomes composited, all iframes containing
53 any composited content become composited -->
54 <iframe src=
"resources/intermediate-frame.html"></iframe>
55 <iframe src=
"resources/intermediate-frame.html"></iframe>
57 <pre id=
"layers">Layer tree appears here in DRT.
</pre>