W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css3-values] nesting calc()

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Thu, 21 Jun 2012 08:20:22 +0200
Message-Id: <93380C29-927D-42E0-A655-0761BD1BC2C5@crissov.de>
To: CSS 3 W3C Group <www-style@w3.org>

>  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

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