Bug 10956

Summary: REGRESSION: Gradient-stroked Text no longer works
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal Keywords: NeedsReduction, Regression
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Initial patch eric: review+

Description Eric Seidel (no email) 2006-09-20 15:46:40 PDT
I'm not sure when this happened, but it must have been in the last few weeks.

Gradient-stroked text, such as is found in:
W3C-SVG-1.1/pservers-grad-08-b
W3C-SVG-1.1/pservers-grad-11-b

no longer works.  It used to.

Marking this as only a P2 since we've never shipped SVG.
Comment 1 Nikolas Zimmermann 2006-12-17 12:47:50 PST
It took a good hour, but I could finally track down to the range:
16288 (broken) - 16284 (working)

Only 16286 is svg related:
http://trac.webkit.org/projects/webkit/changeset/16286

Starting to investigate.
Comment 2 Nikolas Zimmermann 2006-12-17 13:25:08 PST
Created attachment 11896 [details]
Initial patch

Fix gradient on stroke of text. Radial & linear gradients both work properly now.
Comment 3 Eric Seidel (no email) 2006-12-17 13:37:02 PST
Comment on attachment 11896 [details]
Initial patch

Looks fine.

You can remove the outdated comment about pen vs. fill/stroke, or update it to explain why we need to set both fill & stroke.
Comment 4 Nikolas Zimmermann 2006-12-17 13:45:37 PST
Landed in r18271.