Bug 41902

Summary: SVG Gradients do not resize correctly
Product: WebKit Reporter: Morley Abbott <mabbo>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: rjkroege, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.6   
Attachments:
Description Flags
test image, screenshots of results none

Description Morley Abbott 2010-07-08 14:09:19 PDT
Created attachment 60954 [details]
test image, screenshots of results

When the attached image is loaded into WebKit nightly build before June 8th, 2010 (r60742 and earlier), resizing the page also resizes the gradient applied to objects in the SVG image. June 8th nightly and on (r60820 to present) do not resize the gradient, as expected. Glancing at the timeline for that weekend shows some changes made to SVG Gradients. 

Attached archive contains image that is having trouble resizing, as well as two screenshots showing the results before, and after June 8th.
Comment 1 Morley Abbott 2010-07-09 11:30:17 PDT
Related to bug https://bugs.webkit.org/show_bug.cgi?id=41396, though not identical.

The gradients aren't being invalidated during a resize, as they should be. 

Nikolas Zimmermann informed me that he has a potential patch, but it is being polished. Tested out the code he is proposing, works on my machine, but we need to be sure it doesn't cause any other issues. 

http://paste.lisp.org/display/112306
Comment 2 Nikolas Zimmermann 2010-07-27 03:27:48 PDT
Will be fixed by bug 43031.

*** This bug has been marked as a duplicate of bug 43031 ***