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

Unified Diff: Source/core/animation/EffectInput.cpp

Issue 863863004: Implemented additive animations for length (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed AnimationStackTest Created 5 years, 10 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/EffectInput.cpp
diff --git a/Source/core/animation/EffectInput.cpp b/Source/core/animation/EffectInput.cpp
index 4375e7fc0fab98ce54032ab3a2001ebe268c0955..23fd81ec6191e2aac4e6695bfc15336deaef43b2 100644
--- a/Source/core/animation/EffectInput.cpp
+++ b/Source/core/animation/EffectInput.cpp
@@ -111,7 +111,7 @@ PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, c
exceptionState.throwDOMException(NotSupportedError, "Partial keyframes are not supported.");
return nullptr;
}
- if (!keyframeEffectModel->isReplaceOnly()) {
+ if (!keyframeEffectModel->isReplaceOnly() && !RuntimeEnabledFeatures::webAnimationsAPIEnabled()) {
exceptionState.throwDOMException(NotSupportedError, "Additive animations are not supported.");
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698