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
Copy file name to clipboardExpand all lines: css-flexbox-1/Overview.bs
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2965,6 +2965,12 @@ Definite and Indefinite Sizes</h3>
2965
2965
Flexbox has several additional cases where a length can be considered <dfn noexport lt="definite|definite size|indefinite|indefinite size">definite</dfn>:
2966
2966
2967
2967
<ol>
2968
+
<li>
2969
+
If a <a>single-line</a><a>flex container</a> has a definite <a>cross size</a>,
2970
+
the outer <a>cross size</a> of any <a>stretched</a><a>flex items</a>
2971
+
is the flex container's inner <a>cross size</a> (clamped to the <a>flex item</a>’s min and max <a>cross size</a>)
2972
+
and is considered <a>definite</a>.
2973
+
2968
2974
<li>
2969
2975
If the <a>flex container</a> has a <a>definite</a><a>main size</a>,
2970
2976
a <a>flex item</a>’s post-flexing <a>main size</a>
@@ -2974,14 +2980,9 @@ Definite and Indefinite Sizes</h3>
2974
2980
2975
2981
<li>
2976
2982
Once the cross size of a flex line has been determined,
2977
-
the cross sizes of items in that line
2978
-
are treated as [=definite=] for the purpose of layout;
2983
+
the cross sizes of items in auto-sized flex containers
2984
+
are also considered definite for the purpose of layout;
2979
2985
see <a href="#algo-stretch">step 11</a>.
2980
-
2981
-
Note: If a <a>single-line</a><a>flex container</a> has a definite <a>cross size</a>,
2982
-
the outer <a>cross size</a> of any <a>stretched</a><a>flex items</a>
2983
-
is the flex container's inner <a>cross size</a> (clamped to the <a>flex item</a>’s min and max <a>cross size</a>)
2984
-
and is always considered <a>definite</a>.
2985
2986
</ol>
2986
2987
2987
2988
Note: The main size of a <a>fully inflexible</a> item with a <a>definite</a><a>flex basis</a>
0 commit comments