Chromium Code Reviews

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

Issue 319883002: Revert "[SVG2] Allow leading and trailing whitespace in svg attributes using" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/svg/SVGRect.cpp ('k') | Source/core/svg/SVGTransformList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGStringList.cpp
diff --git a/Source/core/svg/SVGStringList.cpp b/Source/core/svg/SVGStringList.cpp
index 216cd2b4fa2d4d5abaa16c895a15b63b12699564..7e37c6641c67b55e3fb738f20334b23fa939b098 100644
--- a/Source/core/svg/SVGStringList.cpp
+++ b/Source/core/svg/SVGStringList.cpp
@@ -92,7 +92,7 @@ void SVGStringList::parseInternal(const CharType*& ptr, const CharType* end)
while (ptr < end) {
const CharType* start = ptr;
- while (ptr < end && *ptr != delimiter && !isHTMLSpace<CharType>(*ptr))
+ while (ptr < end && *ptr != delimiter && !isSVGSpace(*ptr))
ptr++;
if (ptr == start)
break;
« no previous file with comments | « Source/core/svg/SVGRect.cpp ('k') | Source/core/svg/SVGTransformList.cpp » ('j') | no next file with comments »

Powered by Google App Engine