Thank you Daniel

On Saturday, January 30, 2016 at 12:50:55 AM UTC+2, Daniel Holbert wrote:
> I believe this is a version of
>  https://bugzilla.mozilla.org/show_bug.cgi?id=1030952
> 
> The underlying issue is described here:
>  https://bugzilla.mozilla.org/show_bug.cgi?id=1030952#c2
> 
> I believe the tentative patch there works, but it's not sufficient to
> entirely fix the bug, as discussed in
>  https://bugzilla.mozilla.org/show_bug.cgi?id=1030952#c9
> 
> Possible workaround for the moment: wrap your <img> in a wrapper-block
> with 'min-width:0', and force the img (now a child of a block) to be
> "display:block" itself as well:
>  https://jsfiddle.net/dfpj6fag/7/
> 
> ~Daniel
> 
> On 01/28/2016 04:52 AM, Amit Zur wrote:
> > I'm seeing an aberration in behaviour of img as a flex-item.
> > Not sure what is the reason, but the img doesn't preserve aspect ratio, as 
> > seen in this fiddle:
> > https://jsfiddle.net/dfpj6fag/6/
> > 
> > I saw this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=972595 but I 
> > can't understand if it's related or what is the exact reason the ratio is 
> > not maintained.
> > 
> > Thanks,
> > Amit
> > _______________________________________________
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to