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

[css3-values] nesting calc()

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 19 Jun 2012 14:34:54 -0700
Message-ID: <4FE0F07E.6070205@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
Tab raised an issue with CSS Variables in that if you want one to be a calc()
expression, but then use it *inside* a calc() expression, it's invalid.

There are two ways around this:
   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.

Comments?

~fantasai
Received on Tuesday, 19 June 2012 21:35:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT