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
<strong>Determine the <dfndata-dfn-type=dfndata-noexport="" id=flex-base-size>flex base size<aclass=self-linkhref=#flex-base-size></a></dfn> and <dfndata-dfn-type=dfndata-noexport="" id=hypothetical-main-size>hypothetical main size<aclass=self-linkhref=#hypothetical-main-size></a></dfn> of each item:</strong>
2046
2046
2047
-
<p><ul>
2047
+
<oltype=A>
2048
2048
<li>
2049
2049
If the item has a <adata-link-type=dfnhref=#definitetitle=definite>definite</a> flex basis,
2050
2050
that’s the <adata-link-type=dfnhref=#flex-base-sizetitle="flex base size">flex base size</a>.
The <adata-link-type=dfnhref=#flex-base-sizetitle="flex base size">flex base size</a> is the item’s resulting main size.
2058
2058
2059
2059
<li>
2060
-
If flex item has an intrinsic aspect ratio,
2061
-
the flex item has <aclass=cssdata-link-type=propdeschref=#propdef-align-selftitle=align-self>align-self: stretch</a>,
2062
-
the <adata-link-type=dfnhref=#flex-basistitle="flex basis">flex basis</a> and cross size are both <aclass=css-codedata-link-for=widthdata-link-type=valuetitle=auto>auto</a> ,
<li>has a <adata-link-type=dfnhref=#flex-basistitle="flex basis">flex basis</a> and cross size both <aclass=css-codedata-link-for=widthdata-link-type=valuetitle=auto>auto</a>
2065
+
</ul>
2063
2066
and the flex container is <adata-link-type=dfnhref=#single-linetitle=single-line>single-line</a> and has a <adata-link-type=dfnhref=#definitetitle=definite>definite</a> cross size,
2064
2067
the <adata-link-type=dfnhref=#flex-base-sizetitle="flex base size">flex base size</a> is computed from the flex container’s inner cross size
2065
2068
(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>)
and treating a main size of <aclass=css-codedata-link-for=widthdata-link-type=valuetitle=auto>auto</a> as <spanclass=cssdata-link-type=maybetitle=max-content>max-content</span>.
2085
2088
The <adata-link-type=dfnhref=#flex-base-sizetitle="flex base size">flex base size</a> is the item’s resulting main size.
2086
2089
2087
-
</ul>
2090
+
</ol>
2088
2091
2089
2092
<p> The <adata-link-type=dfnhref=#hypothetical-main-sizetitle="hypothetical main size">hypothetical main size</a> is the item’s <adata-link-type=dfnhref=#flex-base-sizetitle="flex base size">flex base size</a>
2090
2093
clamped according to its min and max main size properties.
0 commit comments