Re: Additive vs absolute flexes

On Tue, May 18, 2010 at 11:40 AM, Robert O'Callahan
<robert@ocallahan.org> wrote:
> On Wed, May 19, 2010 at 5:12 AM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>>
>> As well, this brings up an interesting possibility for what 'auto'
>> width/height should compute to.  Right now it computes to "1fl" as
>> long as the box isn't otherwise flexing in that axis.  Perhaps we
>> should have it compute to "calc(fit-content + 1fl)" instead? (That is,
>> have it act like the additive flex defined in the current module.)
>
> In Gecko (and I think Webkit) flex is zero by default.

Yeah, it is.  Is this the most useful behavior?  The problem is that
the default box-align is stretch, which is done in the new draft
(which I'm writing right now) by having 'auto' compute to "1fl" in
that direction.  I'd prefer it if 'auto' resolved to the same value in
both dimensions.

~TJ

Received on Tuesday, 18 May 2010 20:23:44 UTC