Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp |
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
index 3fc437190bc2ca47b6c26584cb487f544725ef29..130d98546225839bf1a60a57a296fc1abffec1d1 100644 |
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
@@ -640,13 +640,13 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt |
style->setY(animatableValueToLength(value, state)); |
return; |
case CSSPropertyR: |
- style->setR(animatableValueToLength(value, state)); |
+ style->setR(animatableValueToLength(value, state, ValueRangeNonNegative)); |
return; |
case CSSPropertyRx: |
- style->setRx(animatableValueToLength(value, state)); |
+ style->setRx(animatableValueToLength(value, state, ValueRangeNonNegative)); |
return; |
case CSSPropertyRy: |
- style->setRy(animatableValueToLength(value, state)); |
+ style->setRy(animatableValueToLength(value, state, ValueRangeNonNegative)); |
return; |
default: |