W3C home > Mailing lists > Public > www-svg@w3.org > April 2011

Re: Animating mixed units

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 7 Apr 2011 05:20:21 +1200
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: Jérémie Patonnier <jeremie.patonnier@gmail.com>, "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <20110406172021.GC27179@wok.mcc.id.au>
Boris Zbarsky:
> For what it's worth, the way this works in Mozilla is that animating
> from Npx to M% sets the style at time t to -moz-calc((1-t)*Npx + t*M%).

Is this only with CSS properties?  I believe for attributes like r="" on
a <circle> that the value at any given time is converted into the second
value’s units.

It’d be good to have the calc() behaviour specified.

Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 6 April 2011 17:20:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:24 UTC