Bug 41902 - SVG Gradients do not resize correctly
Summary: SVG Gradients do not resize correctly
Status: RESOLVED DUPLICATE of bug 43031
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 14:09 PDT by Morley Abbott
Modified: 2010-07-27 03:27 PDT (History)
2 users (show)

See Also:


Attachments
test image, screenshots of results (123.44 KB, application/zip)
2010-07-08 14:09 PDT, Morley Abbott
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***