Upstream version 10.39.225.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.setPreferCompositingToLCDTextEnabled(true);
6       }
7       function doTest() {
8         if (window.testRunner) {
9           document.getElementById("layertree").innerText = window.internals.layerTreeAsText(document);
10           testRunner.dumpAsText();
11         }
12       }
13       window.addEventListener("load", doTest, false);
14     </script>
15   </head>
16 <body>
17   <!-- in force compositing mode the body should get its own graphics layer -->
18   <pre id="layertree"></pre>
19 </body>
20 </html>