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

Side by Side Diff: LayoutTests/fast/css-grid-layout/minmax-min-content-column-resolution-rows.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 if (window.testRunner)
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
6 </script>
7 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
8 <style> 4 <style>
9 .gridMinMinContent { 5 .gridMinMinContent {
10 grid-template-columns: 30px; 6 grid-template-columns: 30px;
11 grid-template-rows: minmax(min-content, 40px); 7 grid-template-rows: minmax(min-content, 40px);
12 } 8 }
13 9
14 .gridMaxMinContent { 10 .gridMaxMinContent {
15 grid-template-columns: 30px; 11 grid-template-columns: 30px;
16 grid-template-rows: minmax(30px, min-content); 12 grid-template-rows: minmax(30px, min-content);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 96
101 <div style="width: 30px; height: 100px"> 97 <div style="width: 30px; height: 100px">
102 <div class="grid gridMaxMinContent"> 98 <div class="grid gridMaxMinContent">
103 <!-- The 'max' logical width ends up being smaller than the 'min' so per the spec we ignore the 'max'. --> 99 <!-- The 'max' logical width ends up being smaller than the 'min' so per the spec we ignore the 'max'. -->
104 <div class="firstRowFirstColumn" data-expected-width="30" data-expected- height="30">XXX XXX</div> 100 <div class="firstRowFirstColumn" data-expected-width="30" data-expected- height="30">XXX XXX</div>
105 </div> 101 </div>
106 </div> 102 </div>
107 103
108 </body> 104 </body>
109 </html> 105 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698