|Summary:||The first time animations are committed they have a bad start time|
|Product:||WebKit||Reporter:||Chris Marrin <cmarrin>|
|Component:||Layout and Rendering||Assignee:||Chris Marrin <cmarrin>|
|Version:||528+ (Nightly build)|
|Bug Depends on:|
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.