Closed Bug 148036 Opened 22 years ago Closed 22 years ago

Mozilla Eats 100% CPU Scrolling Page With Background GIF

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 141786

People

(Reporter: mozilla, Assigned: attinasi)

References

()

Details

Any pages on this site are nearly unreadable on Mozilla 1.0rc3 because even the slightest scrolling motion consumes 100% CPU. I check with JS turned off and the issue remained. I checked the HTML, and although there are errors in the HTML, eliminating each one-by-one had no effect on the problem.
I think this is due to the background image. It is a 1600x1 pixel gif. I guess Mozilla is having some real trouble with repeating an image that many times.
It doesn't appear to be because of the 1 pixel height was I would have suspected, but rather because of the 1600 pixel width (off of my screen).
One more comment. I tried the following and all had the same result: 1. Resizing the GIF to 1600x25 to reduce repeating for each pixel height. 2. Resizing the GIF to 1050x25 to reduce work rendering off screen. No matter. As long as there is a GIF as the background image, the page performance takes a massive hit.
Summary: Mozilla Eats 100% CPU Scrolling → Mozilla Eats 100% CPU Scrolling Page With Background GIF
Have a patch in the works on that bug. *** This bug has been marked as a duplicate of 141786 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.