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

Unified Diff: Source/core/css/parser/CSSPropertyParser.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/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index abd04e819c8fefbe89a6ecbef46d19a915204041..19c217f3ad951af41d155d9eb2f045c7ed976f02 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -8107,6 +8107,8 @@ bool CSSPropertyParser::parseSVGValue(CSSPropertyID propId, bool important)
break;
case CSSPropertyX:
case CSSPropertyY:
+ case CSSPropertyRx:
+ case CSSPropertyRy:
validPrimitive = (!id && validUnit(value, FLength | FPercent, SVGAttributeMode));
break;

Powered by Google App Engine
This is Rietveld 408576698