bool AnimationControllerPrivate::pauseTransitionAtTime(RenderObject* renderer, const String& property, double t) { if (!renderer) return false; RefPtr<CompositeAnimation> compAnim = accessCompositeAnimation(renderer); if (!compAnim) return false; if (compAnim->pauseTransitionAtTime(cssPropertyID(property), t)) { renderer->node()->setChanged(AnimationStyleChange); return true; } return false; }
bool AnimationControllerPrivate::pauseTransitionAtTime(RenderObject* renderer, const String& property, double t) { if (!renderer) return false; RefPtr<CompositeAnimation> compAnim = accessCompositeAnimation(renderer); if (!compAnim) return false; if (compAnim->pauseTransitionAtTime(cssPropertyID(property), t)) { renderer->node()->setNeedsStyleRecalc(SyntheticStyleChange); startUpdateStyleIfNeededDispatcher(); return true; } return false; }
bool AnimationControllerPrivate::pauseAnimationAtTime(RenderObject* renderer, const String& name, double t) { if (!renderer) return false; RefPtr<CompositeAnimation> compAnim = accessCompositeAnimation(renderer); if (!compAnim) return false; if (compAnim->pauseAnimationAtTime(name, t)) { renderer->node()->setChanged(AnimationStyleChange); startUpdateRenderingDispatcher(); return true; } return false; }