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

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

Issue 146773002: [CSS Grid Layout] Rename grid-definition-{columns|rows} to match the new syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed renaming issues with some tests. Created 6 years, 10 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> 3 <script>
4 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); 4 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
5 </script> 5 </script>
6 <link href=resources/grid.css rel=stylesheet> 6 <link href=resources/grid.css rel=stylesheet>
7 <style> 7 <style>
8 .gridNoRow { 8 .gridNoRow {
9 grid-definition-columns: 50px; 9 grid-template-columns: 50px;
10 /* Make the grid shrink-to-fit. */ 10 /* Make the grid shrink-to-fit. */
11 position: absolute; 11 position: absolute;
12 } 12 }
13 .gridNoColumn { 13 .gridNoColumn {
14 grid-definition-rows: 50px 80px; 14 grid-template-rows: 50px 80px;
15 /* Make the grid shrink-to-fit. */ 15 /* Make the grid shrink-to-fit. */
16 position: absolute; 16 position: absolute;
17 } 17 }
18 </style> 18 </style>
19 <script src="../../resources/check-layout.js"></script> 19 <script src="../../resources/check-layout.js"></script>
20 <body onload="checkLayout('.grid');"> 20 <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> 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>
22 <div class="grid gridNoRow" data-expected-width="50" data-expected-height="0"></ div> 22 <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> 23 <div class="grid gridNoColumn" data-expected-width="0" data-expected-height="130 "></div>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698