RE: [css3-values] Allow multiple values to be specified for max-width

> -----Original Message-----
> From: François REMY [mailto:fremycompany_pub@yahoo.fr] 
> Sent: Tuesday, July 07, 2009 12:11 PM
> 
> 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.

I see that the minimum operator for the calc function is not currently part of the working draft and is considered as a future operator for calc.

I believe the need for choosing between the minimum of two max-widths would be a justification for including the minimum operator in the working draft.

Hope this helps,
Charles "Chas" Belov
SFMTA Webmaster

Received on Tuesday, 21 July 2009 23:56:22 UTC