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

Re: [css3-values] nesting calc()

From: Liam R E Quin <liam@w3.org>
Date: Wed, 04 Jul 2012 00:28:11 -0400
To: Pete Boere <pete@the-echoplex.net>
Cc: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>, "Tab Atkins Jr." <jackalmage@gmail.com>, François REMY <fremycompany_pub@yahoo.fr>, fantasai <fantasai.lists@inkedblade.net>, WWW Style <www-style@w3.org>
Message-ID: <1341376091.19526.3.camel@localhost.localdomain>
On Tue, 2012-06-26 at 21:50 +0100, Pete Boere wrote:
> css crush preprocessor uses bare parens as the math function [1]. The basic
> idea is the same, though obviously a simpler proposition than calc as it
> strips units and works with raw numbers rather than computed values.

For what it's worth, all values are expressions in XSL-FO, so calc()
would be a no-op.

width: 30% - 300em;

Since there are presumably unacceptable compatibility issues with
adopting that, I'll say that the nested parens seem sensible to me.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Wednesday, 4 July 2012 04:28:27 GMT

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