[Webkit-unassigned] [Bug 58531] Handling invalid colors in SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 14 06:24:10 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58531





--- Comment #2 from Dirk Schulze <krit at webkit.org>  2011-04-14 06:24:10 PST ---
(From update of attachment 89563)
View in context: https://bugs.webkit.org/attachment.cgi?id=89563&action=review

> Source/WebCore/rendering/svg/RenderSVGResource.cpp:92
> +            color = object->parent()->style()->svgStyle()->fillPaintColor();

You take the fill-color - always. But what if the color in the stroke attribute is invalid? Don't we want to fallback to strokePaintColor() in this case? Also, do you have a link to the SVG specification where the behavior on invalid colors is described?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list