Bug 52037 - Start time of an animation can be before the start of the animation frame.
Summary: Start time of an animation can be before the start of the animation frame.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Chris Marrin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 17:21 PST by Chris Marrin
Modified: 2012-01-04 03:59 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Marrin 2011-01-06 17:21:19 PST
AnimationController has a notion of an animation frame. When you start a cycle, you snapshot the current time. Then all animations in that frame get the same timestamp. This concept has been globalized in AnimationTimeController. But right now AnimationController and AnimationTimeController aren't in sync about when a frame starts. Until they are, the ASSERT in KeyframeAnimation::fetchIntervalEndpointsForProperty has been commented out
Comment 1 James Robinson 2011-01-06 19:14:22 PST
Yeah, the way AnimationTimeController calculates the start time is not ideal.  I think we (I) need to rework this - I'll post thoughts on https://bugs.webkit.org/show_bug.cgi?id=51952