Skip to content

Commit

Permalink
[css-flexbox-1] Clean up wording for dividing flex factor in finding …
Browse files Browse the repository at this point in the history
…max-content flex fraction. Re-applies fix for w3c#1803, which was lost during revert of w3c#1735.
  • Loading branch information
fantasai authored and fergald committed May 7, 2018
1 parent 0de3589 commit 3c3445d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions css-flexbox-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2790,8 +2790,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,
divide 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 3c3445d

Please sign in to comment.