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

Re: [css-sizing] variations on max-content/preferred sizing

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 23 Jan 2015 23:13:15 -0500
Message-ID: <54C31BDB.6030305@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 01/23/2015 10:28 PM, Tab Atkins Jr. wrote:
> On Fri, Jan 23, 2015 at 7:01 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>> Currently Tab and I are thinking of naming the first concept
>> 'max-content' size (since it is a true maximum) and the second concept
>> 'preferred' size, at least in the spec.
>>
>> But as far as authors are concerned, they probably really want the
>> 'preferred' size. It's just the layout engine that might need to
>> know the max-content size.
>
> Are you implying that authors probably actually want to invoke the
> preferred size in places where they might say "max-content"?

Yes. I think in most cases they want the preferred size, not
the actual maximum size.

> If so, I suggest max-content and super-max-content. ^_^

Sure, why not. :p We can bikeshed it later if we need to expose it
to authors.

~fantasai
Received on Saturday, 24 January 2015 04:13:49 UTC

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