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
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2965,12 +2965,6 @@ 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
-
2974
2968
<li>
2975
2969
If the <a>flex container</a> has a <a>definite</a><a>main size</a>,
2976
2970
a <a>flex item</a>’s post-flexing <a>main size</a>
@@ -2980,9 +2974,14 @@ Definite and Indefinite Sizes</h3>
2980
2974
2981
2975
<li>
2982
2976
Once the cross size of a flex line has been determined,
2983
-
the cross sizes of items in auto-sized flex containers
2984
-
are also considered definite for the purpose of layout;
2977
+
the cross sizes of items in that line
2978
+
are treated as [=definite=] for the purpose of layout;
2985
2979
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>.
2986
2985
</ol>
2987
2986
2988
2987
Note: The main size of a <a>fully inflexible</a> item with a <a>definite</a><a>flex basis</a>
0 commit comments