[Webkit-unassigned] [Bug 29993] Zooming while a CSS animation is running does not recompute endpoints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 22 10:55:34 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=29993





--- Comment #7 from Sneha Bhat <mail.snehabhat at gmail.com>  2011-07-22 10:55:34 PST ---
Here is a fix for the issue.

The KeyframeList(m_keyframe) is created in the in the constructor of KeyframeAnimation class and is never updated even if the  the zoom factor changes.

So if we update the m_keyframe in KeyFrameAnimation.cpp, then the animations works fine.
I have done some changes in KeyfarmeAnimation.cpp. With these changes m_keyframes is updated every time.But this may be an over head. So we have to update it only if the zoom factor changes.

This may not be a apropriate fix, but with the changes in keyframeAnimation.cpp and compositeAnimation.cpp, I was able to get the desired output.

I have attached the code differences along.

Any suggestions on this??

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list