Bug 55947

Summary: The first time animations are committed they have a bad start time
Product: WebKit Reporter: Chris Marrin <cmarrin>
Component: Layout and RenderingAssignee: Chris Marrin <cmarrin>
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Bug Depends on:    
Bug Blocks: 52468    
Description Flags
Patch darin: review+

Description Chris Marrin 2011-03-08 09:53:13 PST
The animationStarted time fed to the animation controller from CACFLayerTreeHost is derived from WKCACFViewGetLastCommitTime, corrected for the difference between media time (which CACF uses) and system time (which WebKit uses). But the first time a render is performed WKCACFViewGetLastCommitTime is zero. We should check for this case and correct it so webkit doesn't think animations started in the distant past.
Comment 1 Chris Marrin 2011-03-08 10:04:10 PST
Created attachment 85056 [details]
Comment 2 Chris Marrin 2011-03-08 10:30:14 PST
Landed in http://trac.webkit.org/changeset/80570