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

Unified Diff: Source/core/svg/SVGAnimationElement.cpp

Issue 302643004: [SVG2] Allow leading and trailing whitespace in svg attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@relax_todouble_wtf
Patch Set: split tests to combat slow xp trybots Created 6 years, 6 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/svg/SVGAngle.cpp ('k') | Source/core/svg/SVGInteger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimationElement.cpp
diff --git a/Source/core/svg/SVGAnimationElement.cpp b/Source/core/svg/SVGAnimationElement.cpp
index 02cf8923f6fce1f1ff5bcc317bbfa333302d292f..48c27f4f0adfc8301def3cfe2b8dc9e79698537b 100644
--- a/Source/core/svg/SVGAnimationElement.cpp
+++ b/Source/core/svg/SVGAnimationElement.cpp
@@ -110,7 +110,7 @@ static void parseKeySplinesInternal(const String& string, Vector<UnitBezier>& re
}
float posD = 0;
- if (!parseNumber(ptr, end, posD, false)) {
+ if (!parseNumber(ptr, end, posD, DisallowWhitespace)) {
result.clear();
return;
}
« no previous file with comments | « Source/core/svg/SVGAngle.cpp ('k') | Source/core/svg/SVGInteger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698