Skip to content

Commit 7a5f621

Browse files
committed
[css-flexbox-1] Clean up wording for dividing flex factor in finding max-content flex fraction. Re-applies fix for #1803, which was lost during revert of #1735.
1 parent e34b4a8 commit 7a5f621

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

css-flexbox-1/Overview.bs

+5-2
Original file line numberDiff line numberDiff line change
@@ -2790,8 +2790,11 @@ Flex Container Intrinsic Main Sizes</h4>
27902790
<li>
27912791
For each <a>flex item</a>,
27922792
subtract its outer <a>flex base size</a> from its [[#intrinsic-item-contributions|max-content contribution]] size.
2793-
If that result is not zero, divide it by (if the result was positive) its <a>flex grow factor</a> floored at 1,
2794-
or (if the result was negative) by its <a>scaled flex shrink factor</a>, having floored the <a>flex shrink factor</a> at 1.
2793+
If that result is positive,
2794+
divide by its <a>flex grow factor</a> floored at 1;
2795+
if negative,
2796+
divide by its <a>scaled flex shrink factor</a>
2797+
having floored the <a>flex shrink factor</a> at 1.
27952798
This is the item's <var>max-content flex fraction</var>.
27962799

27972800
<li>

0 commit comments

Comments
 (0)