W3C home > Mailing lists > Public > www-style@w3.org > September 2010

RE: [css3-values] dropping min()/max() on calc()

From: Belov, Charles <Charles.Belov@sfmta.com>
Date: Wed, 8 Sep 2010 16:02:24 -0700
Message-ID: <E17F75B6E86AE842A57B4534F82D03769C2F2A@MTAMAIL.muni.sfgov.org>
To: <www-style@w3.org>
Cc: "L. David Baron" <dbaron@dbaron.org>
> L. David Baron wrote on Wednesday, September 08, 2010 1:39 PM
> 
> I'm leaning towards dropping min() and max() support from the 
> calc() implementation in Mozilla.

(snip)
 
> Are there any strong reasons for keeping min() and max()?  (I 
> think I was one of the original advocates of adding them.)

If min() and max() were dropped from calc(), I would need to
renew my request that they be supported in min-width and
max-width.

This came up (although this may not be the only place it came up) 
when I requested min() and max() be supported on min-width and 
max-width.  Here's the thread:

> -----Original Message-----
> From: www-style-request@w3.org 
> [mailto:www-style-request@w3.org] On Behalf Of Belov, Charles
> Sent: Tuesday, July 21, 2009 4:55 PM
> To: www-style@w3.org
> Cc: François REMY
> Subject: 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 Belov
SFMTA Webmaster
 
Received on Wednesday, 8 September 2010 23:04:38 GMT

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