Re: [css3-flexbox] make 'visibility: collpase' items more stable for multi-line flex container

On Wed, Jul 4, 2012 at 9:02 AM, Kang-Hao (Kenny) Lu
<kennyluck@csail.mit.edu> wrote:
>   # 9. Collapse ‘visibility:collapse’ items. If any flex items have
>   #   ‘visibility: collapse’, note the cross size of the line they're
>   #     in as the item's strut size, and restart layout from the
>   #     beginning.
>
> I am not sure why this need to go back to the beginning, why can't we
> just make collapsed + uncollapsed items fixed in any flex line. That is,
> just jump to right after
>
>   # 5. Resolve the flexible lengths of all the flex items to find their
>   #    used main size, and determine their hypothetical cross size from
>   #    this main size.

Because then you can have either ragged or uneven lines.  In many
cases, I think it will be better to rerun line-breaking, which is why
I specified it that way.

~TJ

Received on Wednesday, 4 July 2012 23:52:33 UTC