Skip to content

Commit 5de1675

Browse files
committed
[css-flexbox] Clean up wording for dividing by flex factor in finding max-content flex fraction. Fixes w3c#1803.
1 parent 6a36c7f commit 5de1675

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

css-flexbox/Overview.bs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,8 +2795,11 @@ Flex Container Intrinsic Main Sizes</h4>
27952795
<li>
27962796
For each <a>flex item</a>,
27972797
subtract its outer <a>flex base size</a> from its [[#intrinsic-item-contributions|max-content contribution]] size.
2798-
If that result is not zero, divide it by (if the result was positive) its <a>flex grow factor</a> floored at 1,
2799-
or (if the result was negative) by its <a>scaled flex shrink factor</a>, having floored the <a>flex shrink factor</a> at 1.
2798+
If that result is positive,
2799+
divide by its <a>flex grow factor</a> floored at 1;
2800+
if negative,
2801+
by its <a>scaled flex shrink factor</a>
2802+
having floored the <a>flex shrink factor</a> at 1.
28002803
This is the item's <var>max-content flex fraction</var>.
28012804

28022805
<li>

0 commit comments

Comments
 (0)