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

Unified Diff: Source/core/css/LayoutStyleCSSValueMapping.cpp

Issue 955033002: [svg2] Make 'rx' and 'ry' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add tests 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/css/LayoutStyleCSSValueMapping.cpp
diff --git a/Source/core/css/LayoutStyleCSSValueMapping.cpp b/Source/core/css/LayoutStyleCSSValueMapping.cpp
index c79d96a88eaa361374e8c1d9f17bda1dfee4650d..90508f34cba8809f52c1c48594ba0a3e0a901493 100644
--- a/Source/core/css/LayoutStyleCSSValueMapping.cpp
+++ b/Source/core/css/LayoutStyleCSSValueMapping.cpp
@@ -2562,6 +2562,10 @@ PassRefPtrWillBeRawPtr<CSSValue> LayoutStyleCSSValueMapping::get(CSSPropertyID p
return zoomAdjustedPixelValueForLength(svgStyle.x(), style);
case CSSPropertyY:
return zoomAdjustedPixelValueForLength(svgStyle.y(), style);
+ case CSSPropertyRx:
+ return zoomAdjustedPixelValueForLength(svgStyle.rx(), style);
+ case CSSPropertyRy:
+ return zoomAdjustedPixelValueForLength(svgStyle.ry(), style);
case CSSPropertyAll:
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698