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

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 47755746ee35857d4f9ef1140345a5cb18084537..42619af8b577e502882e3fa6e735eaf18b21aa7b 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:

Powered by Google App Engine
This is Rietveld 408576698