From 3c3445d7e12df31a97dbb6b90ae8ae0ca4f32dc9 Mon Sep 17 00:00:00 2001 From: fantasai Date: Thu, 29 Mar 2018 16:31:57 -0700 Subject: [PATCH] [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. --- css-flexbox-1/Overview.bs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/css-flexbox-1/Overview.bs b/css-flexbox-1/Overview.bs index d07e4efc7768..4d7b300db4a7 100644 --- a/css-flexbox-1/Overview.bs +++ b/css-flexbox-1/Overview.bs @@ -2790,8 +2790,11 @@ Flex Container Intrinsic Main Sizes
  • For each flex item, subtract its outer flex base size from its [[#intrinsic-item-contributions|max-content contribution]] size. - If that result is not zero, divide it by (if the result was positive) its flex grow factor floored at 1, - or (if the result was negative) by its scaled flex shrink factor, having floored the flex shrink factor at 1. + If that result is positive, + divide by its flex grow factor floored at 1; + if negative, + divide by its scaled flex shrink factor + having floored the flex shrink factor at 1. This is the item's max-content flex fraction.