Closed joeytwiddle closed 10 years ago
After discussion in #629 I realised that Chromium 34 was behaving differently from Chrome 36. Specifically, matrix
and rotate
were behaving differently in Chrome 34, but behave the same in Chrome 36. It may have been prefix-related.
Now that I can see matrix()
and rotate()
performing equivalently, I suspect this patch does not bring us closer to the spec. (Nevermind that I wish the spec would allow these rotations to interpolate!) So this PR can probably be closed.
The testcase here is in test/testcases/auto-test-composite-transforms-matrix-rotate.html
This is the update for https://github.com/web-animations/web-animations-js/pull/618 since shans pointed out the issues with the former.
Prior to the patch, none of the following rotations were visible. (Because the rotations were decomposed, which makes the start and end angles, 0 and 360, look the same, which makes interpolation go nowhere!)
With the patch applied, all of the following rotations become visible. (In Chrome 34, after the patch, all the divs were rotating except for the third.)
I put caching in another branch because it wasn't very pretty.