Skip to content

Commit a829ea4

Browse files
committed
[css-grid-1] Clarify that fit-content() arg does not clamp the automatic minimum size. w3c#4549
1 parent f7674a8 commit a829ea4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

css-grid-1/Overview.bs

+14
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,10 @@ Automatic Minimum Size of Grid Items</h3>
13131313
as represented by the sum of those <a>grid tracks</a><a>max track sizing functions</a>
13141314
plus any intervening <a lt="fixed sizing function">fixed</a> <a>gutters</a>.
13151315

1316+
Note: The argument to ''fit-content()'' does <em>not</em> clamp
1317+
the [=content-based minimum size=] in the same way as a
1318+
<a lt="fixed sizing function">fixed</a> <a>max track sizing function</a>.
1319+
13161320
The <a>content size suggestion</a>, <a>specified size suggestion</a>, and <a>transferred size suggestion</a>
13171321
used in this calculation account for the relevant min/max/preferred size properties
13181322
so that the <a>content-based minimum size</a> does not interfere with any author-provided constraints,
@@ -5179,6 +5183,16 @@ Clarifications</h4>
51795183
or in a ''display: none'' subtree.</ins>
51805184
</blockquote>
51815185

5186+
<li id="change-2017-fit-content-auto-min">
5187+
Added a reminder that the argument to ''fit-content()''
5188+
does not clamp the [=automatic minimum size=].
5189+
(<a href="https://github.com/w3c/csswg-drafts/issues/4549">Issue 4549</a>)
5190+
<blockquote>
5191+
<ins><p class="note">The argument to ''fit-content()'' does <em>not</em> clamp
5192+
the [=content-based minimum size=] in the same way as a
5193+
<a lt="fixed sizing function">fixed</a> <a>max track sizing function</a>.</p></ins>
5194+
</blockquote>
5195+
51825196
<li id="change-2017-flexible-tracks">
51835197
Clarified antecedents for flexible tracks
51845198
in [[#algo-flex-tracks]].

0 commit comments

Comments
 (0)