Bug 23606 - CSS gradient not repainted when image load completes
Summary: CSS gradient not repainted when image load completes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2009-01-28 16:11 PST by Matt Lilek
Modified: 2009-06-22 09:42 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot (117.66 KB, image/png)
2009-01-28 16:12 PST, Matt Lilek
no flags Details
Testcase (655 bytes, text/html)
2009-01-28 16:13 PST, Matt Lilek
no flags Details
Change mustRepaintFillLayers() to check for images that use their container’s size (45.49 KB, patch)
2009-06-21 17:11 PDT, mitz
simon.fraser: review+
Details | Formatted Diff | Diff

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