Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp |
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
index e805fff6f0381037e78c363c2fffc3b94f6d216e..d1b223bf068f179a4cb62a1cca2051ae225c7c47 100644 |
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
@@ -628,6 +628,13 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt |
case CSSPropertyZoom: |
style->setZoom(clampTo<float>(toAnimatableDouble(value)->toDouble(), std::numeric_limits<float>::denorm_min())); |
return; |
+ case CSSPropertyX: |
+ style->setX(animatableValueToLength(value, state)); |
+ return; |
+ case CSSPropertyY: |
+ style->setY(animatableValueToLength(value, state)); |
+ return; |
+ |
default: |
ASSERT_NOT_REACHED(); |
} |