W3C home > Mailing lists > Public > www-style@w3.org > May 2015

[css-sizing][css-grid][css-flexbox] Intrinsic Sizes and Inverting Flex Ratios

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 10 May 2015 21:58:12 -0700
Message-ID: <555036E4.2060309@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
Consider:
   * a column flexbox
   * a single-column grid
containing the same contents (two bits of content of 100px height)
and flex values  (first item at 1, second at 2)

Flexbox (per implementations) will lay out the column at 200px height,
whereas Grid (per spec) will lay out the column at 300px height.

They should probably behave the same way.

Also, it would be nice to be able to get both behaviors. Perhaps
a min-content height is the flexbox interpretation and a max-content
height is the grid interpretation and 'auto' uses its min-content
interpretation for flex/grid containers?

~fantasai
Received on Monday, 11 May 2015 04:58:55 UTC

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