Index: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
index 6641d8abc3643b2a574912dfe67815257a195630..9aa512c93e887a2479164f6ba8f415ed90cab154 100644 |
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
@@ -407,6 +407,16 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create( |
CSSIdentifierValue::create(CSSValueAuto)); |
} |
return createFromLengthBox(style.clip(), style); |
+ case CSSPropertyCaretColor: |
+ if (style.caretColor().isAutoColor()) { |
+ return AnimatableUnknown::create( |
+ CSSIdentifierValue::create(CSSValueAuto)); |
+ } |
+ if (style.caretColor().isCurrentColor()) { |
+ return AnimatableUnknown::create( |
+ CSSIdentifierValue::create(CSSValueCurrentcolor)); |
+ } |
+ return createFromColor(property, style); |
case CSSPropertyColor: |
return createFromColor(property, style); |
case CSSPropertyFillOpacity: |