Closed Bug 121787 Opened 23 years ago Closed 23 years ago

background images are not downloaded until the page is viewed

Categories

(Core :: Graphics: ImageLib, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 57607
Future

People

(Reporter: alexeyc2003, Assigned: pavlov)

References

()

Details

(Keywords: perf, regression)

OS: Win2K Build: 2002012304 This is a regression which goes a few months back. It worked fine before, but a while ago it got broken. Reproducible: Always. Steps to reproduce: 1. Clear browser cache. 2. Right click on this link: http://www.mozillazine.org/ and Open it in New Tab. 3. Wait for page to load without looking at it. Give it a minute or so. 4. Bring the tab to front. Actual results: The sky and grass backgrounds are missing and start loading only when you view the page. Expected results: The whole page finishes loading by the time you view it. Same thing happens if backgrounds are outside of viewport. They start loading only when you scroll and bring them into view. Same happens for :hover backgrounds, they don't load until mouse hovers over element.
*** Bug 121913 has been marked as a duplicate of this bug. ***
I reopened bug 121913 stylesheets do load for me, it's the CSS backgrounds that don't load right away.
Apparently not only CSS, but <body background="image.jpg"> is also affected.
Summary: CSS background images are not downloaded until the page is viewed → background images are not downloaded until the page is viewed
Target Milestone: --- → Future
Additionally in order to reproduce please select "Middle click or control-click in a Web page" inside Preferences->Navigator->Tabbed Browsing prior to performing the above steps. Unlike in Windows, on Linux backgrounds do load if they are inside the viewport. Outside the viewport, however, they still don't start loading untill they are scrolled into view. On Windows, in addition to that they are not loaded when inside the viewport *and* the viewport is in the background. Start loading only when the viewport is brought to front.
OS: Windows 2000 → All
:hover backgrounds don't load under Linux as well until hovered
*** Bug 132936 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 57607 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
vrfy.
Status: RESOLVED → VERIFIED
No longer blocks: 125273
You need to log in before you can comment on or make changes to this bug.