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

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