Bug 6919 - REGRESSION: Background images don't paint when they are finished loading
Summary: REGRESSION: Background images don't paint when they are finished loading
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 12:48 PST by mitz
Modified: 2006-01-31 21:20 PST (History)
2 users (show)

See Also:


Attachments
Testcase (450 bytes, text/html)
2006-01-29 12:48 PST, mitz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 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>.
Comment 1 mitz 2006-01-29 12:48:58 PST
Created attachment 6082 [details]
Testcase
Comment 2 mitz 2006-01-29 12:53:18 PST
Regression occurred somewhere between r12443 and r12450.
Comment 3 Darin Adler 2006-01-29 14:50:19 PST
Looks like RenderObject::setImage just needs to be renamed to RenderObject::imageChanged.
Comment 4 mitz 2006-01-30 07:07:31 PST
Verified in r12476 nightly
Comment 5 Eric Seidel (no email) 2006-01-31 21:20:59 PST
Removing Regression keyword from bugs already fixed.