Re: [css3-values] nesting calc()

fantasai:

>  1. Allow calc() inside calc(); define it to be equivalent to bare parentheses.
>  2. Define bare parentheses as equivalent to (or a replacement of) calc()
>     when used as a component value.

The second option would certainly make code more readable, but I’m not sure it wouldn’t introduce problems that option 1 doesn’t have. I couldn’t think of one, though.

By the way, did you intentionally exclude <resolution> from the list of types that the result of ‘calc()’ may have?

Received on Thursday, 21 June 2012 06:20:47 UTC