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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 4 Jul 2012 16:51:46 -0700
Message-ID: <CAAWBYDCbNX18sD-dTzpyUPz0u-N=gGsCk+T7KUgZrpP6G1j+zw@mail.gmail.com>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: WWW Style <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:56 GMT