Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: Source/core/animation/css/CSSAnimations.cpp

Issue 21779003: Web Animations CSS: Snapshot missing start/end Keyframes and remove duplicates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/css/CSSAnimations.cpp
diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp
index 281fea9593df8aa436fe62b624b4f0408382af41..e67ad68dc93c192c9bfbd8bc6c67e0bc011af995 100644
--- a/Source/core/animation/css/CSSAnimations.cpp
+++ b/Source/core/animation/css/CSSAnimations.cpp
@@ -182,6 +182,7 @@ void CSSAnimations::update(Element* element, const RenderStyle* style)
if (!keyframes.isEmpty()) {
Timing timing;
timingFromAnimationData(animationData, timing);
+ // FIXME: Keyframes are already normalized, perhaps there should be a flag on KeyframeAnimationEffect to skip normalization.
Steve Block 2013/08/06 06:30:20 Sounds reasonable. Filed crbug.com/268791
m_animations.set(animationName.impl(), element->document()->timeline()->play(
Animation::create(element, KeyframeAnimationEffect::create(keyframes), timing).get()).get());
}
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleResolver.cpp » ('j') | Source/core/css/resolver/StyleResolver.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698