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

Unified Diff: Source/core/css/parser/CSSPropertyParser.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/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index 1e5526450dc163a9ac2d984ccd298efac6ab5536..a37c133d4b468868a52c4abbd2f564fcf1eef370 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -8127,8 +8127,11 @@ bool CSSPropertyParser::parseSVGValue(CSSPropertyID propId, bool important)
if (id == CSSValueLuminance || id == CSSValueAlpha)
validPrimitive = true;
break;
+ case CSSPropertyCx:
+ case CSSPropertyCy:
case CSSPropertyX:
case CSSPropertyY:
+ case CSSPropertyR:
case CSSPropertyRx:
case CSSPropertyRy:
validPrimitive = (!id && validUnit(value, FLength | FPercent, SVGAttributeMode));

Powered by Google App Engine
This is Rietveld 408576698