W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-grid] Intrinsic size of a grid container vs. percentage-sized grid tracks

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 17 Apr 2014 19:00:40 -0700
Message-ID: <53508748.70001@inkedblade.net>
To: www-style@w3.org
On 03/27/2014 04:30 PM, Tab Atkins Jr. wrote:
> On Thu, Mar 27, 2014 at 2:18 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
>> What if that percentage was inside a minmax() function? 'auto' is not
>> allowed there.
>
> Ah, that's a spec oversight.  I assume they should be treated as
> min-content or max-content, depending on their position.

Fixed:
   # If the measure or extent of the grid container is an
   # indefinite size, <percentage> values relative to that
   # size are treated as auto
   # (or, if in a minmax() function, as min-content when in
   # the first position and as max-content when in the second).

Let me know if that works, or if you have better wording. :)

~fantasai
Received on Friday, 18 April 2014 02:01:09 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC