Check for empty string in parseArcFlag
authorjschuh@chromium.org <jschuh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2011 14:24:59 +0000 (14:24 +0000)
committerjschuh@chromium.org <jschuh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2011 14:24:59 +0000 (14:24 +0000)
commitd001d1169ffda788af286b59bf7aae742fa2f4e6
tree2f187b06eb9e47b34b9bf3aacb50fffbce2a9d40
parent5f5ca039b1b52e63ef981bc4d522a245f482c9c2
Check for empty string in parseArcFlag
https://bugs.webkit.org/show_bug.cgi?id=70763

Reviewed by Dirk Schulze.

Source/WebCore:

Test: svg/path-invalid.html

* svg/SVGParserUtilities.cpp:
(WebCore::parseArcFlag):

LayoutTests:

* svg/path-arc-invalid-expected.txt: Added.
* svg/path-arc-invalid.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/path-arc-invalid-expected.txt [new file with mode: 0644]
LayoutTests/svg/path-arc-invalid.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGParserUtilities.cpp