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

Side by Side Diff: LayoutTests/fast/css-grid-layout/minmax-min-content-column-resolution-rows.html

Issue 16959008: [CSS Grid Layout] Rename grid-{rows|columns} to grid-definition-{rows|columns} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 7 years, 5 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 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); 5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
6 </script> 6 </script>
7 <link href="resources/grid.css" rel="stylesheet"> 7 <link href="resources/grid.css" rel="stylesheet">
8 <style> 8 <style>
9 .gridMinMinContent { 9 .gridMinMinContent {
10 grid-columns: 30px; 10 grid-definition-columns: 30px;
11 grid-rows: minmax(min-content, 40px); 11 grid-definition-rows: minmax(min-content, 40px);
12 } 12 }
13 13
14 .gridMaxMinContent { 14 .gridMaxMinContent {
15 grid-columns: 30px; 15 grid-definition-columns: 30px;
16 grid-rows: minmax(30px, min-content); 16 grid-definition-rows: minmax(30px, min-content);
17 } 17 }
18 18
19 .firstRowFirstColumn { 19 .firstRowFirstColumn {
20 font: 10px/1 Ahem; 20 font: 10px/1 Ahem;
21 /* Make us fit our grid area. */ 21 /* Make us fit our grid area. */
22 width: 100%; 22 width: 100%;
23 height: 100%; 23 height: 100%;
24 } 24 }
25 </style> 25 </style>
26 <script src="../../resources/check-layout.js"></script> 26 <script src="../../resources/check-layout.js"></script>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 <div style="width: 30px; height: 100px"> 83 <div style="width: 30px; height: 100px">
84 <div class="grid gridMaxMinContent"> 84 <div class="grid gridMaxMinContent">
85 <!-- The 'max' logical width ends up being smaller than the 'min' so per the spec we ignore the 'max'. --> 85 <!-- The 'max' logical width ends up being smaller than the 'min' so per the spec we ignore the 'max'. -->
86 <div class="firstRowFirstColumn" data-expected-width="30" data-expected- height="30">XXX XXX</div> 86 <div class="firstRowFirstColumn" data-expected-width="30" data-expected- height="30">XXX XXX</div>
87 </div> 87 </div>
88 </div> 88 </div>
89 89
90 </body> 90 </body>
91 </html> 91 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698