Closed Bug 473813 Opened 16 years ago Closed 16 years ago

Insane visual lag and high CPU usage when smooth scrolling with position:fixed elements

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 372039

People

(Reporter: robert.dahmen, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

When smooth scrolling in a page that has a large element that has the CSS position:fixed property, the CPU usage becomes insanely high, almost always 100% for the core in use. Usually the visual lag is visible as well. I can't say this next thing with certainty, but I believe that if a page has many elements, such as a big table, the visual lag becomes worse.

I've supplied a slashdot article as an example, because the comments bar becomes fixed when you scroll down non-members and members who didn't change that setting.

Reproducible: Always

Steps to Reproduce:
1. Visit a site with a large element that has the CSS position:fixed property.
2. Make sure smooth scrolling is enabled
3. Watch the CPU usage and/or visual lag when scrolling (quickly).
Actual Results:  
Visual lag

Expected Results:  
Scrolling as if everything was dandy.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.