Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp |
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
index 3272752d1f59760f1993aa36eab5f9950b045d6c..06c2ca6660596c360385c998fe304f12af4600f8 100644 |
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
@@ -630,6 +630,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(); |
} |