W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: Can we have more maths in calc()?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 07 Apr 2014 21:56:03 -0400
Message-ID: <53435733.1010200@mit.edu>
To: www-style@w3.org
On 4/7/14 9:48 PM, Boris Zbarsky wrote:
> I would think so.  Given real numbers A, B:
>
>    min(Apx, Bpx) == min(A,B)*1px
>    min(A%, B%) == min(A, B)*1%

Ah, but that still doesn't let you do min(A%, Bpx), right.

So it might be ok to do this.  Your example needs this for 
<number>-typed expressions, not just literal <number>, correct?

-Boris
Received on Tuesday, 8 April 2014 01:56:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC