[Webkit-unassigned] [Bug 37849] [SVG+Qt] applyStrokeStyleToContext does not set the stroke style under Qt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 10:21:00 PDT 2010


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





--- Comment #7 from Dirk Schulze <krit at webkit.org>  2010-04-20 10:21:00 PST ---
(In reply to comment #6)
> In Qt, setLineDash does not affect the stroke style. In a sense, line dash and
> stroke style is overlapping, I agree. Although setStrokeStyle seems a cheap
> operation compared to set line dash.

But maybe it's more secure to check if the dashArray is empty, after:

    const DashArray& dashes = dashArrayFromRenderingStyle(object->style(),
object->document()->documentElement()->renderStyle());

If yes, set strokeStyle to solid and return?

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