Re: [css3-flexbox] Bad result in flex algorithm when combining stretch, and elements with an aspect ratio

On Thu, Dec 6, 2012 at 5:09 PM, Rossen Atanassov
<Rossen.Atanassov@microsoft.com> wrote:
> One clarification to this thread. When I originally discussed this with Tab the scenario I described involved multiline flex and items that have intrinsic ratio. What I pointed out was the difference between our implementation and the spec definition (chrome's implementation seems to follow that) in how and when the line breaks are evaluated. When flex items get stretched to the line cross size they might end up changing the line break if their main axis size changed as a consequence of that.

According to the spec, this shouldn't ever happen - by the time
"align-self:stretch" is applied, the main size is already fixed, and
shouldn't respond to cross size changes.  Right now, that means that
multi-line flexboxes will always distort items with an intrinsic ratio
if they get stretched.

If you'd like a different behavior, I'm okay with that, but I want to
avoid any situation where there is overflow/underflow.

~TJ

Received on Friday, 7 December 2012 17:17:14 UTC