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

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 UTC