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
If the <adata-link-type=dfnhref=#cross-size-propertytitle="cross size property">cross size property</a>of the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a> computes to <aclass=css-codedata-link-for=widthdata-link-type=valuetitle=auto>auto</a>,
1898
-
its used value is the length necessary to make the <adata-link-type=dfnhref=#cross-sizetitle="cross size">cross size</a> of the item’s margin box as close to the same size as the line as possible,
1899
-
while still respecting the constraints imposed by <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-min-heighttitle=min-height>min-height</a>/<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-min-widthtitle=min-width>min-width</a>/<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-max-heighttitle=max-height>max-height</a>/<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-max-widthtitle=max-width>max-width</a>.
1896
+
If the <adata-link-type=dfnhref=#cross-size-propertytitle="cross size property">cross size property</a> of the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a> computes to <spanclass=cssdata-link-for=widthdata-link-type=maybetitle=auto>auto</span>,
1897
+
the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a>is <dfndata-dfn-for="" data-dfn-type=dfndata-noexport="" id=stretched>stretched<aclass=self-linkhref=#stretched></a></dfn>.
1898
+
Its used value is the length necessary to make the <adata-link-type=dfnhref=#cross-sizetitle="cross size">cross size</a> of the item’s margin box as close to the same size as the line as possible,
1899
+
while still respecting the constraints imposed by <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-min-heighttitle=min-height>min-height</a>/<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-min-widthtitle=min-width>min-width</a>/<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-max-heighttitle=max-height>max-height</a>/<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css2/visudet.html#propdef-max-widthtitle=max-width>max-width</a>.
1900
1900
1901
-
<pclass=note>
1902
-
Note that if the flex container’s height is constrained
1903
-
this value may cause the contents of the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a>
1904
-
to overflow the item.
1901
+
<pclass=note>Note: If the flex container’s height is constrained
1902
+
this value may cause the contents of the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a>
1903
+
to overflow the item.</p>
1905
1904
1906
-
<p>
1907
-
The <adata-link-type=dfnhref=#cross-starttitle=cross-start>cross-start</a> margin edge of the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a>
1908
-
is placed flush with the <adata-link-type=dfnhref=#cross-starttitle=cross-start>cross-start</a> edge of the line.
1905
+
<p>The <adata-link-type=dfnhref=#cross-starttitle=cross-start>cross-start</a> margin edge of the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a>
1906
+
is placed flush with the <adata-link-type=dfnhref=#cross-starttitle=cross-start>cross-start</a> edge of the line.</p>
An <dfndata-dfn-type=dfndata-noexport="" id=indefinitetitle="indefinite|indefinite size">indefinite size<aclass=self-linkhref=#indefinite></a></dfn> is one that is not <adata-link-type=dfnhref=#definitetitle=definite>definite</a>.
2090
2088
2091
2089
<p>
2092
-
As a special case for handling stretched <adata-link-type=dfnhref=#flex-itemtitle="flex items">flex items</a>,
2090
+
As a special case for handling <adata-link-type=dfnhref=#stretchedtitle=stretched>stretched</a><adata-link-type=dfnhref=#flex-itemtitle="flex items">flex items</a>,
2093
2091
if a <adata-link-type=dfnhref=#single-linetitle=single-line>single-line</a><adata-link-type=dfnhref=#flex-containertitle="flex container">flex container</a> has a definite cross size,
2094
-
the outer <adata-link-type=dfnhref=#cross-sizetitle="cross size">cross size</a> of any <adata-link-type=dfnhref=#flex-itemtitle="flex items">flex items</a>with <aclass=cssdata-link-type=propdeschref=#propdef-align-selftitle=align-self>align-self: stretch</a>
2092
+
the outer <adata-link-type=dfnhref=#cross-sizetitle="cross size">cross size</a> of any <adata-link-type=dfnhref=#stretchedtitle=stretched>stretched</a><adata-link-type=dfnhref=#flex-itemtitle="flex items">flex items</a>
2095
2093
is the flex container’s inner cross size (clamped to the <adata-link-type=dfnhref=#flex-itemtitle="flex item">flex item</a>’s min and max <adata-link-type=dfnhref=#cross-sizetitle="cross size">cross size</a>)
2096
2094
and is considered <adata-link-type=dfnhref=#definitetitle=definite>definite</a>.
0 commit comments