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.
Created attachment 27131 [details] Screenshot
Created attachment 27132 [details] Testcase
<rdar://problem/6537777>
Created attachment 31626 [details] Change mustRepaintFillLayers() to check for images that use their container’s size
Fixed in <http://trac.webkit.org/projects/webkit/changeset/44938>.