Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / force-compositing-mode / force-composite-empty.html
1 <html>
2   <head>
3     <script>
4       if (window.internals) {
5         window.internals.settings.setForceCompositingMode(true);
6         window.internals.settings.setCompositedScrollingForFramesEnabled(true);
7       }
8       function doTest() {
9         if (window.testRunner) {
10           document.getElementById("layertree").innerText = window.internals.layerTreeAsText(document);
11           testRunner.dumpAsText();
12         }
13       }
14       window.addEventListener("load", doTest, false);
15     </script>
16   </head>
17 <body>
18   <!-- in force compositing mode the body should get its own graphics layer -->
19   <pre id="layertree"></pre>
20 </body>
21 </html>