Index: Source/core/animation/css/CSSAnimatableValueFactory.cpp |
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
index e120e4f1f2ba9c9f3031e03d1c76c96733295819..78c4edfc7dcccefb357f44c813b7c3a54cd22e6c 100644 |
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
@@ -39,6 +39,7 @@ |
#include "core/animation/AnimatableLength.h" |
#include "core/animation/AnimatableLengthBox.h" |
#include "core/animation/AnimatableLengthSize.h" |
+#include "core/animation/AnimatableSVGPaint.h" |
#include "core/animation/AnimatableShapeValue.h" |
#include "core/animation/AnimatableTransform.h" |
#include "core/animation/AnimatableUnknown.h" |
@@ -176,6 +177,8 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop |
return createFromColor(property, style); |
case CSSPropertyFillOpacity: |
return createFromDouble(style->fillOpacity()); |
+ case CSSPropertyFill: |
+ return AnimatableSVGPaint::create(style->svgStyle()->fillPaintType(), style->svgStyle()->fillPaintColor(), style->svgStyle()->fillPaintUri()); |
case CSSPropertyHeight: |
return createFromLength(style->height(), style); |
case CSSPropertyListStyleImage: |
@@ -220,6 +223,8 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop |
return createFromLength(style->right(), style); |
case CSSPropertyStrokeOpacity: |
return createFromDouble(style->strokeOpacity()); |
+ case CSSPropertyStroke: |
+ return AnimatableSVGPaint::create(style->svgStyle()->strokePaintType(), style->svgStyle()->strokePaintColor(), style->svgStyle()->strokePaintUri()); |
case CSSPropertyTextDecorationColor: |
return createFromColor(property, style); |
case CSSPropertyTextIndent: |