- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Jun 2023 16:39:37 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-flexbox] Condition when computing remaining free space is always true? == https://drafts.csswg.org/css-flexbox-1/#remaining-free-space > **Calculate the *remaining free space*** as for [initial free space](https://drafts.csswg.org/css-flexbox-1/#initial-free-space), above. If the sum of the unfrozen flex items’ flex factors is less than one, multiply the initial free space by this sum. If the magnitude of this value is less than the magnitude of the [remaining free space](https://drafts.csswg.org/css-flexbox-1/#remaining-free-space), use this as the remaining free space. Correct me if I'm wrong, but: - A flex factor can't be negative - So a sum of flex factors can't be negative either - So if the sum is < 1, we are multiplying by something in the [0,1) interval. - This will never increase the magnitude (absolute value) So why not just say > **Calculate the *remaining free space*** as for [initial free space](https://drafts.csswg.org/css-flexbox-1/#initial-free-space), above. If the sum of the unfrozen flex items’ flex factors is less than one, multiply the initial free space by this sum, and use this as the remaining free space. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8961 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 June 2023 16:39:39 UTC