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.

?


Cheers,
Kenny
Received on Wednesday, 4 July 2012 16:03:23 GMT

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