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

Side by Side Diff: LayoutTests/fast/css-grid-layout/minmax-max-content-resolution-rows.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 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 .gridMinMaxContent { 9 .gridMinMaxContent {
10 grid-definition-columns: 20px; 10 grid-template-columns: 20px;
11 grid-definition-rows: minmax(max-content, 50px); 11 grid-template-rows: minmax(max-content, 50px);
12 } 12 }
13 13
14 .gridMaxMaxContent { 14 .gridMaxMaxContent {
15 grid-definition-columns: 20px; 15 grid-template-columns: 20px;
16 grid-definition-rows: minmax(30px, max-content); 16 grid-template-rows: minmax(30px, max-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 25
26 .verticalRL { 26 .verticalRL {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 </div> 124 </div>
125 125
126 <div style="width: 100px; height: 20px"> 126 <div style="width: 100px; height: 20px">
127 <div class="grid gridMaxMaxContent"> 127 <div class="grid gridMaxMaxContent">
128 <div class="firstRowFirstColumn" data-expected-width="20" data-expected- height="50">XX XX XX XX XX</div> 128 <div class="firstRowFirstColumn" data-expected-width="20" data-expected- height="50">XX XX XX XX XX</div>
129 </div> 129 </div>
130 </div> 130 </div>
131 131
132 </body> 132 </body>
133 </html> 133 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698