Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: Source/core/css/resolver/AnimatedStyleBuilder.cpp

Issue 955033002: [svg2] Make 'rx' and 'ry' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
index a1d01855899a1c42651d2407d0e678d68fd4ef8d..e7f26567715bf0e1040ce76f0211d4fdd2999740 100644
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -631,6 +631,12 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt
case CSSPropertyY:
style->setY(animatableValueToLength(value, state));
return;
+ case CSSPropertyRx:
+ style->setRx(animatableValueToLength(value, state));
+ return;
+ case CSSPropertyRy:
+ style->setRy(animatableValueToLength(value, state));
+ return;
default:
ASSERT_NOT_REACHED();

Powered by Google App Engine
This is Rietveld 408576698