[Webkit-unassigned] [Bug 40985] gradient stroke on lines does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 24 06:43:20 PDT 2010


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





--- Comment #2 from rspierer at hotmail.com  2010-06-24 06:43:20 PST ---
(In reply to comment #1)
> I'm a bit confused, that the other browsers (Firefox, Opera) draw the stroke with the gradient. An object with a one dimensional boudingBox (height or width = 0) shouldn't be stroked with a gradient, but instead use a fallback color or ignore stroke at all. And a line doesn't have a height. We use black instead of ignoring the stroke, because of compatibillity reasons to older Firefox and Opera browsers.

The gradient here is specified with gradientUnits="userSpaceOnUse".
At the beginning of SVG 1.1 section 13.2.1 is written that gradients apply to fill and stroke properties of graphics elements. There is no mention for exceptions.

Where exactly the SVG specification effectively states that gradients do not apply to lines?

-- 
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