Re: Animating mixed units

On 4/6/11 10:20 AM, Cameron McCormack wrote:
> 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?

Yes, this is only for properties and attributes that are handled via 
CSS.  Good point.

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

That seems right.

-Boris

Received on Wednesday, 6 April 2011 17:29:12 UTC