You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The <adata-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizing">intrinsic sizing</a> of a <adata-link-type="dfn" href="#flex-container">flex container</a> is used
2402
+
to produce various types of content-based automatic sizing,
2403
+
such as shrink-to-fit logical widths (which use the <spanclass="css">fit-content</span> formula)
2404
+
and content-based logical heights (which use the <adata-link-type="dfn" href="#max-content-main-size">max-content main size</a>).</p>
2401
2405
<p>The <dfndata-dfn-type="dfn" data-noexport="" id="max-content-main-size">max-content main size<aclass="self-link" href="#max-content-main-size"></a></dfn> of a <adata-link-type="dfn" href="#flex-container">flex container</a> is the smallest size the <adata-link-type="dfn" href="#flex-container">flex container</a> can take
2402
-
while maintaining the <adata-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#max_content-contribution">max-content contributions</a> of its <adata-link-type="dfn" href="#flex-item">flex items</a>.</p>
2406
+
while maintaining the <adata-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#max_content-contribution">max-content contributions</a> of its <adata-link-type="dfn" href="#flex-item">flex items</a>:</p>
2403
2407
<ol>
2404
2408
<li> For each <adata-link-type="dfn" href="#flex-item">flex item</a>,
2405
2409
subtract its outer <adata-link-type="dfn" href="#flex-base-size">flex base size</a> from its <adata-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#max_content-contribution">max-content contribution</a> size.
is calculated identically to the <adata-link-type="dfn" href="#max-content-main-size">max-content main size</a>,
2420
2424
except that the <adata-link-type="dfn" href="#flex-item">flex item’s</a><adata-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min_content-contribution">min-content contribution</a> is used
2421
2425
instead of its <adata-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#max_content-contribution">max-content contribution</a>.
2422
-
For a <adata-link-type="dfn" href="#multi-line">multi-line</a> container,
2426
+
However, for a <adata-link-type="dfn" href="#multi-line">multi-line</a> container,
2423
2427
it is simply the largest <adata-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min_content-contribution">min-content contribution</a> of all the <adata-link-type="dfn" href="#flex-item">flex items</a> in the <adata-link-type="dfn" href="#flex-container">flex container</a>.</p>
2424
2428
<p>The <dfndata-dfn-type="dfn" data-noexport="" id="min-content-cross-size">min-content cross size<aclass="self-link" href="#min-content-cross-size"></a></dfn> and <dfndata-dfn-type="dfn" data-noexport="" id="max-content-cross-size">max-content cross size<aclass="self-link" href="#max-content-cross-size"></a></dfn> of a flex container
2425
2429
are the <adata-link-type="dfn" href="#cross-size">cross size</a> of the flex container
0 commit comments