W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: [css-flexbox] inconsistent behavior when using flex-grow: 0.001

From: Daniel Holbert <dholbert@mozilla.com>
Date: Tue, 19 Apr 2016 09:23:50 -0700
To: Sébastien Lorber <lorber.sebastien@gmail.com>, www-style@w3.org
Message-ID: <70cb141a-3585-c5a5-3385-b8256738b2ae@mozilla.com>
On 04/19/2016 08:04 AM, Daniel Holbert wrote:
> On 04/19/2016 12:25 AM, Sébastien Lorber wrote:
>> I get an inconsistent browser behavior on this JsFiddle
>> <https://jsfiddle.net/hbdLacz8/> where Chrome and Firefox do not produce
>> the same result on my computer when I resize my window. When the green
>> box go under the red box, it does not take the same width.
>>
>> Any idea which browser does it wrong?
> 
> Which versions are you testing? I get identical behavior between Chrome
> 51 (Dev Edition) and Firefox 48 (Nightly).

OK, quoting your flexbugs issue:

"On my recent chrome version the green box always takes the whole width
(it grows), while on Firefox (44.0.2) it does not grow."

It sounds like the Chrome version you're testing does not have the
special behavior for flex-grow<1 implemented.  If you test a newer
Chrome version, it should match Firefox (not grow -- at least, not grow
beyond a 0.001 share of the container).

Chrome implemented this behavior here, BTW:
https://bugs.chromium.org/p/chromium/issues/detail?id=480752
Received on Tuesday, 19 April 2016 16:24:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC