File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1246,14 +1246,17 @@ Automatic Minimum Size of Grid Items</h3>
1246
1246
otherwise its <a>transferred size suggestion</a> if that exists,
1247
1247
else its <a>content size suggestion</a> ,
1248
1248
see below.
1249
- However, if the <a>grid item</a> spans only <a>grid tracks</a>
1249
+ However,
1250
+ to prevent the <a>content-based minimum size</a>
1251
+ from forcing overflow of its fixed-size grid area,
1252
+ if the <a>grid item</a> spans only <a>grid tracks</a>
1250
1253
that have a <a lt="fixed sizing function">fixed</a> <a>max track sizing function</a> ,
1251
1254
its <a>specified size suggestion</a> and <a>content size suggestion</a> in that dimension
1252
1255
(and the input to the <a>transferred size suggestion</a> in the other dimension)
1253
1256
are further clamped to less than or equal to the <a>stretch fit</a>
1254
- the <a>grid area</a> ’s size
1255
- (so as to prevent the <a>content-based minimum size </a>
1256
- from forcing overflow of its fixed-size grid area) .
1257
+ into the <a>grid area</a> ’s maximum size,
1258
+ as represented by the sum of those <a>grid tracks</a> ’ <a>max track sizing functions </a>
1259
+ plus any intervening <a lt=" fixed sizing function">fixed</a> <a>gutters</a> .
1257
1260
1258
1261
The <a>content size suggestion</a> , <a>specified size suggestion</a> , and <a>transferred size suggestion</a>
1259
1262
used in this calculation account for the relevant min/max/preferred size properties
You can’t perform that action at this time.
0 commit comments