2006-04-21 Rob Buis <buis@kde.org>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Apr 2006 22:57:22 +0000 (22:57 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Apr 2006 22:57:22 +0000 (22:57 +0000)
commitc52486fc8adb8bb568c1d77d8586342060e6ac23
tree6368e2eae83c0d895b36c26ff1d20937329cc371
parent185063265567e662af77839e24009be77061a37b
2006-04-21  Rob Buis  <buis@kde.org>

        Reviewed by hyatt.  Landed by eseidel.

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8170:
        SVG CSS property values with extra items do not get treated
        as invalid (they should)

        Fixes the handling of invalid svg css properties similar
        to how invalid html css properties are handled, ie. discard
        the property if there are more values in the value list than
        expected.

        Test: svg/custom/invalid-css.svg

        * ksvg2/css/SVGCSSParser.cpp:
        (WebCore::CSSParser::parseSVGValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/custom/invalid-css-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/invalid-css-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/invalid-css-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/invalid-css.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/ksvg2/css/SVGCSSParser.cpp