Index: Source/core/svg/SVGAnimationElement.cpp |
diff --git a/Source/core/svg/SVGAnimationElement.cpp b/Source/core/svg/SVGAnimationElement.cpp |
index 4ad18b8adaadbd493cdfd1726e259a560a818e8a..e0ad7e853f3a8f22e88d779fbc62a94da74a9b8c 100644 |
--- a/Source/core/svg/SVGAnimationElement.cpp |
+++ b/Source/core/svg/SVGAnimationElement.cpp |
@@ -84,7 +84,7 @@ static bool parseKeyTimes(const String& string, Vector<float>& result, bool veri |
Vector<String> parseList; |
string.split(';', true, parseList); |
for (unsigned n = 0; n < parseList.size(); ++n) { |
- String timeString = parseList[n]; |
+ String timeString = parseList[n].stripWhiteSpace(); |
bool ok; |
float time = timeString.toFloat(&ok); |
if (!ok || time < 0 || time > 1) |