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

Re: [css-flexbox] Better define the computed value of 'flex-basis'

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 07 May 2014 13:44:09 -0700
Message-ID: <536A9B19.4010102@mozilla.com>
To: www-style@w3.org
On 05/07/2014 11:57 AM, fantasai wrote:
> Some more info:
>   This gives more useful information via getComputedStyle(), which
>   is probably a better use case than inheriting 'flex-basis'.

Agreed on that point.

>   It does require looking at the 'flex-direction' value on the parent
>   of the element to figure out which of 'width' or 'height' to use.

This is unfortunate.

I'm also still uncomfortable with a single keyword ("auto") meaning
*completely different things* in the computed value vs. the specified
value. That feels wrong, and seems worth avoiding.

Received on Wednesday, 7 May 2014 20:44:36 UTC

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