W3C home > Mailing lists > Public > www-style@w3.org > December 2014

RE: [css-flexbox] flex-shrink being handled differently in different browsers

From: Greg Whitworth <gwhit@microsoft.com>
Date: Tue, 16 Dec 2014 20:29:38 +0000
To: Philip Walton <philip@philipwalton.com>, www-style list <www-style@w3.org>
Message-ID: <BN3PR0301MB0868CF3DAB6EDC12B4F83825A46C0@BN3PR0301MB0868.namprd03.prod.outlook.com>
> From: Philip Walton [mailto:philip@philipwalton.com] 
> Sent: Tuesday, December 16, 2014 10:14 AM
> To: www-style list
> Subject: [css-flexbox] flex-shrink being handled differently in different browsers
> According to the editors draft of the flexbox spec, the initial `flex-shrink` value for flexbox items is 1 and the initial value for `flex-basis` is `auto`.

> I've linked to a jsbin where there is too much content to fit into a containing box, and the way the shrinking is happening in Chrome/IE12 is different from FF/Safari.

> http://jsbin.com/xetinivozo/1


> Since the initial `flex-shrink` value is 1, it seems perhaps Chrome and IE are correct, but it's unclear how they've chosen the amount they're shrinking.

> Can anyone speak to which behavior is correct and why?

Just for clarification IE12 and FF render the same as it has the updates from the spec: http://i.imgur.com/I8d6QzL.png


Greg






Received on Tuesday, 16 December 2014 20:30:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:49 UTC