Skip to content

Commit

Permalink
[css-flexbox] Clean up wording for dividing by flex factor in finding…
Browse files Browse the repository at this point in the history
… max-content flex fraction. Fixes #1803.
  • Loading branch information
fantasai committed Sep 13, 2017
1 parent 6a36c7f commit 5de1675
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions css-flexbox/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2795,8 +2795,11 @@ Flex Container Intrinsic Main Sizes</h4>
<li>
For each <a>flex item</a>,
subtract its outer <a>flex base size</a> from its [[#intrinsic-item-contributions|max-content contribution]] size.
If that result is not zero, divide it by (if the result was positive) its <a>flex grow factor</a> floored at 1,
or (if the result was negative) by its <a>scaled flex shrink factor</a>, having floored the <a>flex shrink factor</a> at 1.
If that result is positive,
divide by its <a>flex grow factor</a> floored at 1;
if negative,
by its <a>scaled flex shrink factor</a>
having floored the <a>flex shrink factor</a> at 1.
This is the item's <var>max-content flex fraction</var>.

<li>
Expand Down

0 comments on commit 5de1675

Please sign in to comment.