Re: [css-values] Concrete proposal for unit algebra in calc()

On 24/04/2014 16:03, Tab Atkins Jr. wrote:
> (Though, note the slight complication that a calc() should probably be
> allowed to resolve to a non-recognized unit *if it's nested inside
> another calc()*, since "calc(1 + calc(2 + 3))" is basically identical
> to "calc(1 + (2 + 3))".)

I suppose we could fix this by defining nested calc() to be exactly 
equivalent to parentheses.

-- 
Simon Sapin

Received on Thursday, 24 April 2014 15:39:47 UTC