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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 04:24:50 PDT 2010


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

           Summary: [SVG+Qt] applyStrokeStyleToContext does not set the
                    stroke style under Qt
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zherczeg at webkit.org
                CC: eric at webkit.org


The following example does not draw a black border around the red circle in
QtLauncher:

http://www.w3schools.com/svg/tryit.asp?filename=circle1&type=svg

I did some debugging, and perhaps the issue comes from the following code:

WebCore/svg/graphics/SVGPaintServer.cpp : applyStrokeStyleToContext function
set all style related parameters, except the setStrokeStyle. Actually  the
stroke style was set to NoStroke somewhere before, and it still contains this
value, hence no line is drawn. I can fix it for Qt, but it may affect other
platforms in a bad way.

CC'ing Eric, since he committed the code. Unfortunately it could be his landing
bot, so I am not sure who actually wrote it.

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