W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: Allow multiple values to be specified for max-width

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 10 Oct 2011 17:31:46 -0700
Message-ID: <4E938E72.2040708@inkedblade.net>
To: François REMY <fremycompany_pub@yahoo.fr>
CC: "Belov, Charles" <Charles.Belov@sfmta.com>, www-style@w3.org
On 07/07/2009 12:10 PM, François REMY wrote:
> From: "Belov, Charles" <Charles.Belov@sfmta.com>
>> This specification would be easier to implement if CSS would support
>> multiple max-widths as follows:
>>
>> max-width: 80ch 100vw;
>>
>> or
>>
>> max-width: min(80ch, 100vw);
>
> I strongly support this request.
>
> But it should NOT be a part of the max-width property. It should be as
> the "calc" function : a part of the CSS 3 Values standard.

min() and max() functions have been added to css3-values (actually added
awhile ago, I think).
   http://www.w3.org/TR/css3-values/

~fantasai
Received on Tuesday, 11 October 2011 00:32:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT