Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / layer-creation / fixed-position-nonscrollable-body.html
index a884dbc..3c7eb3b 100644 (file)
   </style>
 
   <script type="text/javascript">
-    if (window.internals)
+    if (window.internals) {
       window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
+      window.internals.settings.setForceCompositingMode(true);
+    }
 
     if (window.testRunner) {
       testRunner.dumpAsText();
 
 <body class="unscrollable">
   <div style="height: 4000px">
-    <p>There should be no layers, because the body is unscrollable and there is
-       no need to composite the fixed-position layer.</p>
     <pre id="layertree"></pre>
   </div>
 
-  <!-- This should not be composited -->
+  <!-- This should not be promoted to a composited layer, because the body is
+       unscrollable and there is no need to composite the fixed-position layer.
+       -->
   <div class="fixed lime box"></div>
 </body>
 </html>