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

Unified Diff: Source/core/rendering/style/RenderStyle.h

Issue 896773002: [svg2] Make 'x' and 'y' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: cleanup 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/rendering/style/RenderStyle.h
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h
index 19dd0833237196c2c61b56df6267ee05748261ee..b691b803f26a2ff56803a7e6b695cf72cd512f85 100644
--- a/Source/core/rendering/style/RenderStyle.h
+++ b/Source/core/rendering/style/RenderStyle.h
@@ -1372,6 +1372,11 @@ public:
float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); }
void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); }
+ const Length& x() const { return svgStyle().x(); }
+ void setX(Length x) { accessSVGStyle().setX(x); }
fs 2015/02/04 13:24:52 I've seen the setters used, but not the getters...
Erik Dahlström (inactive) 2015/02/05 16:09:01 Done.
+ const Length& y() const { return svgStyle().y(); }
+ void setY(Length y) { accessSVGStyle().setY(y); }
+
float floodOpacity() const { return svgStyle().floodOpacity(); }
void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); }

Powered by Google App Engine
This is Rietveld 408576698