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

[css3-flexbos] number of flex lines in an empty flex container (was: [css3-flexbox] Abspos flex-item positions)

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Thu, 18 Oct 2012 01:54:14 +0800
Message-ID: <507EF0C6.1000705@oupeng.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: WWW Style <www-style@w3.org>
(12/10/18 1:33), Tab Atkins Jr. wrote:
> Even if there are no items, you still have a flex line.  It's just empty.

Hmm... that's interesting. Was there a discussion about this?

I noticed this part

  # Every line contains at least one flex item, unless the flex
  # container itself is completely empty.

in "6. Flex Lines", but I think this should probably go into "9 Flex
Layout Algorithm" since it's a bit surprising.


Also, this doesn't match the inline model, does it? What if we introduce
something like 'line-height' in the future for flex lines?


Cheers,
Kenny
-- 
Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Wednesday, 17 October 2012 17:54:44 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT