Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-element-empty-row-column.html

Issue 180523004: [CSS Grid Layout] Remove legacy WebKitCSSGridLayoutEnabled flag from the Layout Tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <script>
4 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
5 </script>
6 <link href=resources/grid.css rel=stylesheet> 3 <link href=resources/grid.css rel=stylesheet>
7 <style> 4 <style>
8 .gridNoRow { 5 .gridNoRow {
9 grid-template-columns: 50px; 6 grid-template-columns: 50px;
10 /* Make the grid shrink-to-fit. */ 7 /* Make the grid shrink-to-fit. */
11 position: absolute; 8 position: absolute;
12 } 9 }
13 .gridNoColumn { 10 .gridNoColumn {
14 grid-template-rows: 50px 80px; 11 grid-template-rows: 50px 80px;
15 /* Make the grid shrink-to-fit. */ 12 /* Make the grid shrink-to-fit. */
16 position: absolute; 13 position: absolute;
17 } 14 }
18 </style> 15 </style>
19 <script src="../../resources/check-layout.js"></script> 16 <script src="../../resources/check-layout.js"></script>
20 <body onload="checkLayout('.grid');"> 17 <body onload="checkLayout('.grid');">
21 <p>This test checks that a grid element with row(s) (resp. column(s)) but no col umn (resp. row) is properly laid out.</p> 18 <p>This test checks that a grid element with row(s) (resp. column(s)) but no col umn (resp. row) is properly laid out.</p>
22 <div class="grid gridNoRow" data-expected-width="50" data-expected-height="0"></ div> 19 <div class="grid gridNoRow" data-expected-width="50" data-expected-height="0"></ div>
23 <div class="grid gridNoColumn" data-expected-width="0" data-expected-height="130 "></div> 20 <div class="grid gridNoColumn" data-expected-width="0" data-expected-height="130 "></div>
24 </body> 21 </body>
25 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698