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

Side by Side Diff: LayoutTests/fast/css-grid-layout/minmax-max-content-resolution-columns.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 .gridMinMaxContent { 5 .gridMinMaxContent {
10 grid-template-columns: minmax(max-content, 50px); 6 grid-template-columns: minmax(max-content, 50px);
11 grid-template-rows: 60px; 7 grid-template-rows: 60px;
12 } 8 }
13 9
14 .gridMaxMaxContent { 10 .gridMaxMaxContent {
15 grid-template-columns: minmax(30px, max-content); 11 grid-template-columns: minmax(30px, max-content);
16 grid-template-rows: 20px; 12 grid-template-rows: 20px;
17 } 13 }
18 14
19 .firstRowFirstColumn { 15 .firstRowFirstColumn {
20 font: 10px/1 Ahem; 16 font: 10px/1 Ahem;
21 /* Make us fit our grid area. */ 17 /* Make us fit our grid area. */
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 89
94 <div style="width: 100px; height: 20px"> 90 <div style="width: 100px; height: 20px">
95 <div class="grid gridMaxMaxContent"> 91 <div class="grid gridMaxMaxContent">
96 <!-- The 'max' logical width ends up being smaller than the 'min' so per the spec we ignore the 'max'. --> 92 <!-- The 'max' logical width ends up being smaller than the 'min' so per the spec we ignore the 'max'. -->
97 <div class="firstRowFirstColumn" data-expected-width="30" data-expected- height="20">XX</div> 93 <div class="firstRowFirstColumn" data-expected-width="30" data-expected- height="20">XX</div>
98 </div> 94 </div>
99 </div> 95 </div>
100 96
101 </body> 97 </body>
102 </html> 98 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698