Position grid items by row/column index
[WebKit.git] / LayoutTests / fast / css-grid-layout / containing-block-grids.html
index 23850a4095566612854da40f044e0f726c9031fb..8bb4b8abdf79ca53b82a74b3151f585367bc52be 100644 (file)
@@ -3,7 +3,7 @@
 <head>
     <script>
         if (window.testRunner)
-            testRunner.overridePreference("WebKitCSSGridLayoutEnabled", true);
+            testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
     </script>
     <style>
         div { width: 100px; height: 100px; }
@@ -12,9 +12,8 @@
     </style>
 </head>
 <body>
-<p>Grids can act as containing blocks for positioned content.
-<div class="relative-positioned-grid" style="display: -webkit-grid"><div style="background-color: green; left: 0; top: 0"></div>
-<div class="relative-positioned-inline-grid" style="display: -webkit-inline-grid"><div style="background-color:green; left: 0; top: 0"></div>
-</p>
+<p>Grids can act as containing blocks for positioned content.</p>
+<div class="relative-positioned-grid" style="display: -webkit-grid"><div style="background-color: green; left: 0; top: 0"></div></div>
+<div class="relative-positioned-inline-grid" style="display: -webkit-inline-grid"><div style="background-color:green; left: 0; top: 0"></div></div>
 </body>
 </html>