[Webkit-unassigned] [Bug 35219] SVG stroke gradients do not render on axis-aligned paths

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 16 11:37:49 PDT 2010


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





--- Comment #4 from Mike Bostock <mbostock at cs.stanford.edu>  2010-03-16 11:37:49 PST ---
Fascinating; seems like a contradiction, but thanks for explaining! From SVG
1.1, ยง7.11:

"Keyword objectBoundingBox should not be used when the geometry of the
applicable element has no width or no height, such as the case of a horizontal
or vertical line, even when the line has actual thickness when viewed due to
having a non-zero stroke width since stroke width is ignored for bounding box
calculations. When the geometry of the applicable element has no width or
height and objectBoundingBox is specified, then the given effect (e.g., a
gradient or a filter) will be ignored."

Switching to use gradientUnits="userSpaceOnUse" for lines is easy enough.

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