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

[css3-flexbox] min-width & min-height "auto" value -- applies to both axes, or just main axis?

From: Daniel Holbert <dholbert@mozilla.com>
Date: Mon, 11 Jun 2012 14:40:50 -0700
Message-ID: <4FD665E2.3000101@mozilla.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai@inkedblade.net>, Alex Mogilevsky <alexmog@microsoft.com>
CC: www-style list <www-style@w3.org>
Right now, section 4.4 "Implied Minimum Size of Flex Items" on the
flexbox ED says:

   # Name: 	min-width, min-height
   # auto
   #   On a flex item, this keyword indicates
   #   a minimum size of the min-content size.
   #   It is intended that this will compute
   #   to the ‘min-content’ keyword [...]

This doesn't make any distinction about the orientation of our flexbox.
(horizontal vs. vertical)

So right now, the spec is calling for all flexbox items to have *both*
their min-width *and* their min-height default to "min-content".

I'd thought we only wanted this magic for the main axis's min-size
property, not for both min-size properties. Maybe I misunderstood though?

Received on Monday, 11 June 2012 21:41:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC