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

Re: [css3-flexbox] Children of flex items ignoring cross-axis percentage length

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 3 Dec 2012 14:13:14 -0800
Message-ID: <CAAWBYDBL+ti8mWgP6x8E=+LyRMS5jDt4HLieveuoKG51myvU0Q@mail.gmail.com>
To: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
Cc: Ojan Vafai <ojan@chromium.org>, Rudolph Gottesheim <r.gottesheim@loot.at>, Morten Stenshorne <mstensho@opera.com>, WWW Style <www-style@w3.org>
On Tue, Oct 30, 2012 at 12:54 AM, Kang-Hao (Kenny) Lu
<kanghaol@oupeng.com> wrote:
> (12/10/10 1:50), Ojan Vafai wrote:
>> If you make the flexitems themselves also be flexboxes, then you can get
>> the desired layout: http://jsfiddle.net/GgzGf/3/
>>
>> I'll note this as an issue for either the next level of Flexbox or Sizing.
>
> It does work in both Opera Next and Chrome Canary, but I am not exactly
> sure why it should per spec.
>
>
> This is what I think:
>
>   # 8. Calculate the cross size of each flex line.
>   #
>   # If the flex container has only a single line (even if it's a
>   # multi-line flex container), the cross size of the flex line is the
>   # flex container's inner cross size.
>   #
>   # Otherwise, for each flex line:
>   # ...
>
> For a normal 'flex-flow: row' flex container with 'height: auto', you
> can't really get the cross size of the flex line from the flex
> container's inner cross size so I had assumed this step is actually saying
>
> A.
>
>   | If the flex container has only a single line (even if it's a
>   | multi-line flex container) and a definite cross size, ...

Correct, we'd accidentally left a hole in that step.  I've corrected
it with your suggested text.

~TJ
Received on Monday, 3 December 2012 22:14:04 GMT

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