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

Unified Diff: Source/core/animation/css/CSSPropertyEquality.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/CSSPropertyEquality.cpp
diff --git a/Source/core/animation/css/CSSPropertyEquality.cpp b/Source/core/animation/css/CSSPropertyEquality.cpp
index af008e963196e92ec89f9334a380b34f0f6b0bee..3694d9df47d4a116ab7c94efd57ccc6e0f66a9f0 100644
--- a/Source/core/animation/css/CSSPropertyEquality.cpp
+++ b/Source/core/animation/css/CSSPropertyEquality.cpp
@@ -300,10 +300,16 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, const LayoutStyle&
return a.width() == b.width();
case CSSPropertyWordSpacing:
return a.wordSpacing() == b.wordSpacing();
+ case CSSPropertyCx:
+ return a.svgStyle().cx() == b.svgStyle().cx();
+ case CSSPropertyCy:
+ return a.svgStyle().cy() == b.svgStyle().cy();
case CSSPropertyX:
return a.svgStyle().x() == b.svgStyle().x();
case CSSPropertyY:
return a.svgStyle().y() == b.svgStyle().y();
+ case CSSPropertyR:
+ return a.svgStyle().r() == b.svgStyle().r();
case CSSPropertyRx:
return a.svgStyle().rx() == b.svgStyle().rx();
case CSSPropertyRy:
« no previous file with comments | « Source/core/animation/css/CSSAnimatableValueFactory.cpp ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698