W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2013

Re: [web-animations] Web Animations minutes, 8 / 9 Aug 2013

From: Kevin Doughty <css@kxdx.org>
Date: Thu, 15 Aug 2013 17:03:54 -0400
Cc: "public-fx@w3.org" <public-fx@w3.org>
Message-Id: <758411AD-DC8C-4543-BA76-0539A034D3BD@kxdx.org>
To: Brian Birtles <bbirtles@mozilla.com>
> > Animations from 0 to 0.25 or -0.25 should result in a
> > scale of 1.25 or 0.75, and one combining both should result in a
> > scale of 1. 

> Doug: I don't think this is a bug.
> 
> Perhaps this is an issue with the use of the term 'add' in 'composite: add', for transforms addition is defined as post multiplication.
> 
> This implies that 'zero' for scale addition is a scale of 1. So if you want to scale up a bit, then scale down a bit, you need to use 1.25 / 0.75, not 0.25 / -0.25.


It's not a bug. It is clearly explained in section 17 of the Transform spec. An additive scale of 2 and 0.5 combine to produce a scale of 1. An additive scale of 1.25 and 0.75 combine to produce a scale of 0.9375. I was expecting Core Animation behavior which I guess is normalized to produce my previous expectations. The updated scale test is:
http://jsfiddle.net/zQ6n3/3/embedded/result/

Thank you for not letting my own errors and misunderstandings negatively affect your opinion of the negative delta pattern.
Received on Thursday, 15 August 2013 21:04:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:46 UTC