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

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 UTC