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

Unified Diff: Source/core/animation/css/CSSAnimatableValueFactory.cpp

Issue 980233002: [svg2] Make 'cx', 'cy' and 'r' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 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 b8996a697dab8022c1101312f0a84a0aedc62518..b88291e15f852807777cc56cc2f965473f7c4eb8 100644
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -537,10 +537,16 @@ PassRefPtrWillBeRawPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPro
return AnimatableUnknown::create(CSSPrimitiveValue::create(style.verticalAlign()));
case CSSPropertyVisibility:
return AnimatableVisibility::create(style.visibility());
+ case CSSPropertyCx:
+ return createFromLength(style.svgStyle().cx(), style);
+ case CSSPropertyCy:
+ return createFromLength(style.svgStyle().cy(), style);
case CSSPropertyX:
return createFromLength(style.svgStyle().x(), style);
case CSSPropertyY:
return createFromLength(style.svgStyle().y(), style);
+ case CSSPropertyR:
+ return createFromLength(style.svgStyle().r(), style);
case CSSPropertyRx:
return createFromLength(style.svgStyle().rx(), style);
case CSSPropertyRy:
« no previous file with comments | « LayoutTests/webexposed/css-properties-as-js-properties-expected.txt ('k') | Source/core/animation/css/CSSPropertyEquality.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698