Reviewed by darin. Landed by eseidel.
* ksvg2/svg/svgpathparser.cpp:
(WebCore::SVGPolyParser::parsePoints):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16339
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-09-12 Julien Palmas <julien.palmas@gmail.com>
+
+ Reviewed by darin. Landed by eseidel.
+
+ * svg/custom/svgpolyparser-extra-space-expected.checksum: Added.
+ * svg/custom/svgpolyparser-extra-space-expected.png: Added.
+ * svg/custom/svgpolyparser-extra-space-expected.txt: Added.
+ * svg/custom/svgpolyparser-extra-space.svg: Added.
+
2006-09-12 Kevin McCullough <KMcCullough@apple.com>
Reviewed by Andersca, Maciej, Brady.
--- /dev/null
+d4ffd7091807829603f95a596a221a9d
\ No newline at end of file
--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+ KCanvasContainer {svg} at (20,20) size 160x80
+ KCanvasItem {polygon} at (20,20) size 160x80 [fill={[type=SOLID] [color=#000000]}] [data="M20.00,100.00L100.00,20.00L180.00,100.00"]
--- /dev/null
+<?xml version="1.0"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg">
+ <polygon fill="black" points=" 20,100 100,20 180,100"/>
+</svg>
+2006-09-12 Julien Palmas <julien.palmas@gmail.com>
+
+ Reviewed by darin. Landed by eseidel.
+
+ * ksvg2/svg/svgpathparser.cpp:
+ (WebCore::SVGPolyParser::parsePoints):
+
2006-09-11 Kevin McCullough <KMcCullough@apple.com>
Reviewed by Andersca, Maciej, Brady.
const char* currSegment = pointData.latin1();
const char* eoString = pointData.latin1() + pointData.length();
+ skipOptionalSpaces(currSegment);
+
int segmentNum = 0;
while (currSegment < eoString) {
const char* prevSegment = currSegment;