- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Sep 2017 22:17:59 +0000
- To: public-css-archive@w3.org
Okay, the discontinuity is definitely bad; I can't accept an algorithm that has it. This sucks. :( So yeah, if we avoid a discontinuity, there's only two options: 1. Revert the fix, so that we're back to the "sum<1 double-applies the fraction in a non-intuitive way" behavior. This sucks, but it's perfectly continuous. 2. Pass around some extra state somehow, and tweak the layout algorithm such that the flexbox is sized to exactly the fraction that the items want to grow to, and they then fill the flexbox exactly. This also totally sucks, because it breaks the feature that you can always read out the post-layout size and then set it explicitly to get the same behavior. I think the drawback of #2 is probably much worse than the drawback of #1; slightly non-intuitive sizing in a minority case vs breaking a pretty universal and useful layout guarantee has a pretty clear winner, I think. So, we should revert, and then double-check that the original text does indeed do what we (now) want, and has no other unintended consequences. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1735#issuecomment-332671797 using your GitHub account
Received on Wednesday, 27 September 2017 22:17:49 UTC