Bug 15659

Summary: InlineTextBox does not setStrokeStyle() as needed
Product: WebKit Reporter: Alp Toker <alp>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: oleg.sukhodolsky
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Call context->setStrokeStyle(SolidStroke) none

Description Alp Toker 2007-10-24 04:05:06 PDT
InlineTextBox should setStrokeStyle(SolidStroke) where appropriate, otherwise the old StrokeStyle will be used when drawing underlines for text.

Due to a bug in GraphicsContextCG (which fills rectangles to draw line strokes), this bug does not affect CG graphics, but does affect GraphicsContextCairo.
Comment 1 Alp Toker 2007-10-24 04:07:11 PDT
Created attachment 16834 [details]
Call context->setStrokeStyle(SolidStroke)

I've just added context->setStrokeStyle(SolidStroke) in a few places as proof of concept. This may not cover all cases, and needs testing against the Mac port.
Comment 2 Adam Treat 2009-02-23 12:15:06 PST
This was fixed with r41152 I believe although the workaround in GraphicsContextCairo should probably be removed.