Adding `min/max/fit-content` and `fit-content()` values to `flex-basis` and `flex`
- MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis
- Chrome status: https://chromestatus.com/feature/5635933158244352
@LeaVerou PTAL, thanks!
Btw. regarding the state of the fit-content keyword vs. the fit-content() function, I just filed https://github.com/w3c/csswg-drafts/issues/10601.
Sebastian
Chrome recently started implementing the stretch keyword, so I've added it to this PR as well.
https://chromium-review.googlesource.com/c/chromium/src/+/5985742
@SebastianZ It makes sense to add separate tests to flex properties to help users more visually see how they are supported in different properties.
@SebastianZ It makes sense to add separate tests to flex properties to help users more visually see how they are supported in different properties.
I'm still not totally happy with this, but given that Chrome explicitly implements it for flex-basis and flex, I guess it's ok.
Though we should ensure the values are also tested in the Box Sizing specs for other properties.
Sebastian