We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f59774 commit 4c72f22Copy full SHA for 4c72f22
1 file changed
css-sizing-3/Overview.bs
@@ -244,7 +244,8 @@ Auto Box Sizes</h3>
244
<dt><dfn>fit-content block size</dfn>
245
<dd>
246
If the <a>available space</a> in a given axis is <a>definite</a>,
247
- equal to <code>min(<a>max-content size</a>, max(<a>min-content size</a>, <a>stretch-fit size</a>))</code>.
+ equal to <code>clamp([=min-content size=], [=stretch-fit size=], [=max-content size=]
248
+ (i.e. <code>max(<a>min-content size</a>, min(<a>max-content size</a>, <a>stretch-fit size</a>))</code>).
249
Otherwise, equal to the <a>max-content size</a> in that axis.
250
251
Note: This is called the “shrink-to-fit” width in <a href="https://www.w3.org/TR/CSS2/visudet.html#float-width">CSS2.1§10.3.5</a>
0 commit comments