Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / layer-creation / fixed-position-no-content.html
index 122f90a..c5e9b9d 100644 (file)
   </style>
 
   <script type="text/javascript">
-    if (window.internals)
+    if (window.internals) {
+      window.internals.settings.setForceCompositingMode(true);
       window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
+    }
 
     if (window.testRunner) {
       testRunner.dumpAsText();
 
 <body>
   <div style="height: 1000px">
-    <p>There should be no layers.</p>
     <pre id="layertree"></pre>
   </div>
 
-  <!-- This should not be composited -->
+  <!-- This should not be promoted to a composited layer. -->
   <div class="fixed" style="top: 10px; left: 10px"></div>
-  <!-- And this should not be promoted into a layer -->
+  <!-- And this should not be promoted into a layer either as a result. -->
   <div class="absolute"></div>
 </body>
 </html>