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

Unified Diff: Source/core/layout/style/SVGLayoutStyle.cpp

Issue 955033002: [svg2] Make 'rx' and 'ry' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fixes 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
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyle.h ('k') | Source/core/layout/style/SVGLayoutStyleDefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/SVGLayoutStyle.cpp
diff --git a/Source/core/layout/style/SVGLayoutStyle.cpp b/Source/core/layout/style/SVGLayoutStyle.cpp
index bd7768ab3a363f15bffc619c519766cf4aaf4e88..03077dd63c06f413657d929706b355b2aff5008a 100644
--- a/Source/core/layout/style/SVGLayoutStyle.cpp
+++ b/Source/core/layout/style/SVGLayoutStyle.cpp
@@ -182,10 +182,12 @@ bool SVGLayoutStyle::diffNeedsLayoutAndPaintInvalidation(const SVGLayoutStyle* o
return true;
}
- // The x and y properties require a re-layout.
+ // The x, y, rx and ry properties require a re-layout.
if (layout.get() != other->layout.get()) {
if (layout->x != other->layout->x
- || layout->y != other->layout->y)
+ || layout->y != other->layout->y
+ || layout->rx != other->layout->rx
+ || layout->ry != other->layout->ry)
return true;
}
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyle.h ('k') | Source/core/layout/style/SVGLayoutStyleDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698