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

Side by Side Diff: LayoutTests/fast/css-grid-layout/min-width-height-auto.html

Issue 1310603008: [css-grid] Add coverage for min-height behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
4 <style> 4 <style>
5 .grid { 5 .grid {
6 grid-template-columns: 5px; 6 grid-template-columns: 5px;
7 grid-template-rows: 5px; 7 grid-template-rows: 5px;
8 } 8 }
9 9
10 .container { 10 .container {
(...skipping 19 matching lines...) Expand all
30 max-width: 10px; 30 max-width: 10px;
31 max-height: 10px; 31 max-height: 10px;
32 } 32 }
33 33
34 .maxBigger { 34 .maxBigger {
35 max-width: 150px; 35 max-width: 150px;
36 max-height: 75px; 36 max-height: 75px;
37 } 37 }
38 38
39 .noStretch { 39 .noStretch {
40 align-items: start;
40 justify-items: start; 41 justify-items: start;
41 } 42 }
42 </style> 43 </style>
43 <script src="../../resources/check-layout.js"></script> 44 <script src="../../resources/check-layout.js"></script>
44 <body onload="checkLayout('.grid')"> 45 <body onload="checkLayout('.grid')">
45 46
46 <p>This test checks min-width|height auto behavior for grids</p> 47 <p>This test checks min-width|height auto behavior for grids</p>
47 48
48 <div class="container"> 49 <div class="container">
49 <div class="grid"> 50 <div class="grid">
(...skipping 27 matching lines...) Expand all
77 78
78 <!-- Verify that the same cases without 'stretch' work as expected as well. --> 79 <!-- Verify that the same cases without 'stretch' work as expected as well. -->
79 <div class="container"> 80 <div class="container">
80 <div class="grid noStretch"> 81 <div class="grid noStretch">
81 <div class="ahem" data-expected-width="100" data-expected-height="25">XX XX</div> 82 <div class="ahem" data-expected-width="100" data-expected-height="25">XX XX</div>
82 </div> 83 </div>
83 </div> 84 </div>
84 85
85 <div class="container"> 86 <div class="container">
86 <div class="grid noStretch"> 87 <div class="grid noStretch">
87 <div class="ahem minSmaller" data-expected-width="100" data-expected-hei ght="10">XXXX</div> 88 <div class="ahem minSmaller" data-expected-width="100" data-expected-hei ght="25">XXXX</div>
svillar 2015/09/03 13:24:36 Although adding more test cases is nice I don't ge
Manuel Rego 2015/09/04 13:59:17 Yeah, I agree this is weird, but per spec the item
88 </div> 89 </div>
89 </div> 90 </div>
90 91
91 <div class="container"> 92 <div class="container">
92 <div class="grid noStretch"> 93 <div class="grid noStretch">
93 <div class="ahem minBigger" data-expected-width="150" data-expected-heig ht="75">XXXX</div> 94 <div class="ahem minBigger" data-expected-width="150" data-expected-heig ht="75">XXXX</div>
94 </div> 95 </div>
95 </div> 96 </div>
96 97
97 <div class="container"> 98 <div class="container">
(...skipping 16 matching lines...) Expand all
114 </div> 115 </div>
115 116
116 <div class="container"> 117 <div class="container">
117 <div class="grid noStretch"> 118 <div class="grid noStretch">
118 <div class="ahem" data-expected-width="75" data-expected-height="50">XXX X</div> 119 <div class="ahem" data-expected-width="75" data-expected-height="50">XXX X</div>
119 </div> 120 </div>
120 </div> 121 </div>
121 122
122 </body> 123 </body>
123 </html> 124 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698