W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [css3-flexbox] Revert min-width back to an initial value of 0

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Feb 2013 14:46:06 -0800
Message-ID: <CAAWBYDDPfbuhgXcq7kFxgjehH3Xanzk1md8MKoHjLHU2nbx9bA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Thu, Feb 14, 2013 at 2:40 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/14/13 5:25 PM, Tab Atkins Jr. wrote:
>> Our intention for the min-width behavior was admirable - in most
>> situations it wouldn't affect anything
>
> Actually, there was a knock-on non-flexbox effect: transitioning from "no
> min-width set" to "min-width set to a length" got broken because you can't
> interpolate between "auto" and lengths.
>
> So I'd support defaulting to 0 just to avoid that web compat impact.

That sounds like a bug on your side - the "auto" value should have
computed to "0", which means it turns into a length in time for
transitions to work.

~TJ
Received on Thursday, 14 February 2013 22:46:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT