Bug 6919

Summary: REGRESSION: Background images don't paint when they are finished loading
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Darin Adler <darin>
Status: VERIFIED FIXED    
Severity: Normal CC: darin, hyatt
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Testcase none

mitz
Reported 2006-01-29 12:48:24 PST
The testcase loads the same image as an <img> and as a background image of a <div>. If the image doesn't finish loading before the page is painted for the first time (I've added junk to the URL to avoid caching), you'll see it loading in the <img> but never updating the background of the <div>.
Attachments
Testcase (450 bytes, text/html)
2006-01-29 12:48 PST, mitz
no flags
mitz
Comment 1 2006-01-29 12:48:58 PST
Created attachment 6082 [details] Testcase
mitz
Comment 2 2006-01-29 12:53:18 PST
Regression occurred somewhere between r12443 and r12450.
Darin Adler
Comment 3 2006-01-29 14:50:19 PST
Looks like RenderObject::setImage just needs to be renamed to RenderObject::imageChanged.
mitz
Comment 4 2006-01-30 07:07:31 PST
Verified in r12476 nightly
Eric Seidel (no email)
Comment 5 2006-01-31 21:20:59 PST
Removing Regression keyword from bugs already fixed.
Note You need to log in before you can comment on or make changes to this bug.