Reviewed by Sam.
authoroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Oct 2007 13:49:29 +0000 (13:49 +0000)
committeroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Oct 2007 13:49:29 +0000 (13:49 +0000)
commitf5ab857d20850c9cd2ca80301da3c9fab80c016f
tree15024fc7e81c7a283dd4db4b5d3dfc290715e2cc
parent81d375dc30cf5b00e5f8e2636ac2c65ed757981f
    Reviewed by Sam.

        http://bugs.webkit.org/show_bug.cgi?id=12059
        SVG colors have two separate parsing paths (one CSS and one SVGColor::setRGBColor)

        Reuse the css parser as much as possible in setRGBColor.

Rubberstamped by Mark.
Add missing SVG filter testcase (forgot to include in last commit).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/batik/filters/filterRegions-expected.checksum [new file with mode: 0644]
LayoutTests/svg/batik/filters/filterRegions-expected.png [new file with mode: 0644]
LayoutTests/svg/batik/filters/filterRegions-expected.txt [new file with mode: 0644]
LayoutTests/svg/batik/filters/filterRegions.svg [new file with mode: 0755]
LayoutTests/svg/dom/rgb-color-parser-expected.txt
WebCore/ChangeLog
WebCore/css/CSSParser.cpp
WebCore/css/CSSParser.h
WebCore/editing/ApplyStyleCommand.cpp
WebCore/html/CanvasGradient.cpp
WebCore/html/CanvasRenderingContext2D.cpp
WebCore/html/CanvasStyle.cpp
WebCore/ksvg2/svg/SVGColor.cpp