Bug 23606

Summary: CSS gradient not repainted when image load completes
Product: WebKit Reporter: Matt Lilek <dev+webkit>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz, simon.fraser
Priority: P2 Keywords: HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Screenshot
none
Testcase
none
Change mustRepaintFillLayers() to check for images that use their container’s size simon.fraser: review+

Description Matt Lilek 2009-01-28 16:11:40 PST
If an image is inside of an element with a CSS gradient background, once the image dimensions are known and the image is loaded, the gradient is not properly repainted. See attached screenshot and testcase.
Comment 1 Matt Lilek 2009-01-28 16:12:50 PST
Created attachment 27131 [details]
Screenshot
Comment 2 Matt Lilek 2009-01-28 16:13:10 PST
Created attachment 27132 [details]
Testcase
Comment 3 Mark Rowe (bdash) 2009-01-28 16:41:01 PST
<rdar://problem/6537777>
Comment 4 mitz 2009-06-21 17:11:30 PDT
Created attachment 31626 [details]
Change mustRepaintFillLayers() to check for images that use their container’s size
Comment 5 mitz 2009-06-22 09:42:48 PDT
Fixed in <http://trac.webkit.org/projects/webkit/changeset/44938>.