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

Re: [css3-flexbox] transitions w/ min-width:auto not working in gecko

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Feb 2013 15:08:58 -0800
Message-ID: <CAAWBYDBqUQUaALf6-aEu003a8pV8okxoMKfwNyz=BWFQrVfoWQ@mail.gmail.com>
To: Daniel Holbert <dholbert@mozilla.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
On Thu, Feb 14, 2013 at 3:05 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
> [changing subject line to avoid sidetracking Tab's original thread]
>
> Gecko treats min-width: auto as keyword in the computed style tree,
> whose _used_ value is 0 in most cases.
>
> Its _used_ value (and its getComputedStyle() value) still are 0 in most
> cases.  But we have to keep it as "auto" in our internal computed-style,
> in order to allow flex containers to see & react to that value
> appropriately in their children, since that happens after we've resolved
> computed-style.

That's a spec violation. :/  http://dev.w3.org/csswg/css3-flexbox/#min-size-auto

Also, I don't understand what you mean.  Why do the flex containers
have to care?  It's the children that have the value, and which are
computing to min-content.

~TJ
Received on Thursday, 14 February 2013 23:09:46 GMT

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