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

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

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Thu, 05 Jul 2012 00:02:57 +0800
Message-ID: <4FF46931.30407@csail.mit.edu>
To: WWW Style <www-style@w3.org>
  # 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.


Received on Wednesday, 4 July 2012 16:03:23 UTC

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