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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 8 Sep 2010 14:22:33 -0700
Message-ID: <AANLkTi=NbivP=qrOMr0VP=U9WWG0jKjUkGJ6GhCQ8ads@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style@w3.org
On Wed, Sep 8, 2010 at 1:39 PM, L. David Baron <dbaron@dbaron.org> wrote:
> I'm leaning towards dropping min() and max() support from the calc()
> implementation in Mozilla.
>
> They make a whole bunch of things a good bit more complicated,
> nearly impossible, or actually impossible, such as determining if
> there is a percentage basis that could make an expression nonzero,
> or computing certain cases of intrinsic widths correctly.
>
> Are there any strong reasons for keeping min() and max()?  (I think
> I was one of the original advocates of adding them.)

It would be useful for specifying Template Layout's algorithm as a
table-layout value, but we can just use them as special values in the
template syntax at that point, like we do currently with the minmax()
function.

~TJ
Received on Wednesday, 8 September 2010 21:23:28 GMT

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