[Webkit-unassigned] [Bug 12059] SVG colors have two separate parsing paths (one CSS and one SVGColor::setRGBColor)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 19 23:48:57 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=12059
------- Comment #6 from rwlbuis at gmail.com 2007-08-19 23:48 PDT -------
Hi,
(In reply to comment #4)
> Another question, is this line
>
> + if (s.startsWith("hsl") || s.startsWith("rgba") ||
>
> supposed to be s.startsWith("rgba") and not s.startsWith("rgb") ?
Yes, if you look at CSSParser::parseColorFromValue you see rgb( is accepted by
svg, but a check is made for rgba(, hsl( and hsla( to not be accepted if the
svg flag is true.
Cheers,
Rob.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list