Closed
Bug 319970
Opened 20 years ago
Closed 20 years ago
Loading progress is reported as complete before background image is loaded
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 253851
People
(Reporter: ben, Assigned: jdunn)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925
I am embedding Mozilla and programmatically taking a screenshot of each page once it has loaded. I implement nsIWebProgressListener::OnStateChange (indirectly, through GtkMozEmbed) and assume that when I've received as many calls with STATE_STOP|STATE_IS_REQUEST flags as with STATE_START|STATE_IS_REQUEST and have received one with STATE_STOP|STATE_IS_WINDOW flags then the page has finished loading. Unfortunately it appears that any background image may not have been loaded, or at least not displayed, at this point. No OnStateChange calls are made after it does appear. The same does not appear to be true for inline images.
The early report of completion can often be seen in Mozilla browsers, too: the status bar shows "Done" while the page background is still a solid colour.
Reproducible: Sometimes
Steps to Reproduce:
You can find my code at <http://womble.decadentplace.org.uk/software/#webdvd>.
Comment 1•20 years ago
|
||
Can you name one or two URLs where you see this problem? There is a problem with background images, but that's limited to some special backgrounds.
| Reporter | ||
Comment 2•20 years ago
|
||
http://womble.decadentplace.org.uk/software/debconf5-dvd/menus/main.html should illustrate the problem.
Comment 3•20 years ago
|
||
what you're seeing happens for any CSS-defined background images
see bug 253851 comment 12
*** This bug has been marked as a duplicate of 253851 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•