Re: [csswg-drafts] [css-values] Add the `fr` (flexible length) unit for general use as a length unit (#5296)

Unfortunately, as others have stated, this is generally not possible. It's adding entirely new complex and invasive capabilities to layout modes that are not prepared for them. Flexbox is already pretty complex internally, and it doesn't have to deal with margin collapsing, or floats, or table row/column balancing. ^_^

In both your examples, it does seem like using a vertical flexbox would have done what you wanted.

I'm going to go ahead and close this issue, as I don't see it as being reasonably possible. Flexibility is something that requires very careful design, as I and the other editors have discovered over the last several years of writing the spec for Flexbox and Grid.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5296#issuecomment-660379511 using your GitHub account

Received on Friday, 17 July 2020 23:28:07 UTC