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

Unified Diff: Source/core/animation/css/CSSAnimatableValueFactory.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/animation/css/CSSAnimatableValueFactory.cpp
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
index dd60ecc5385df6ca37968f1f05d97875a190cf2c..6d46fbedc56ea2d487f80386a3f27bff2faac2cb 100644
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -532,6 +532,10 @@ PassRefPtrWillBeRawPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPro
return createFromLength(style.svgStyle().x(), style);
case CSSPropertyY:
return createFromLength(style.svgStyle().y(), style);
+ case CSSPropertyRx:
fs 2015/02/26 14:20:58 I was at the fence about whether or not the switch
Erik Dahlström (inactive) 2015/02/26 16:16:33 I came to that conclusion too.
+ return createFromLength(style.svgStyle().rx(), style);
+ case CSSPropertyRy:
+ return createFromLength(style.svgStyle().ry(), style);
case CSSPropertyZIndex:
return createFromDouble(style.zIndex());
default:

Powered by Google App Engine
This is Rietveld 408576698