Closed Bug 603627 Opened 14 years ago Closed 11 years ago

slow Rendering/Scrolling with Background Image using -moz-linear-gradient and background-size:1px ...;

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dbmontes, Unassigned)

References

()

Details

(Keywords: perf, testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101012 Firefox/4.0b8pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101012 Firefox/4.0b8pre

The error only appears with a background as the page, if he does variation some leave slow rendering. The problem is both windows and linux.

(traduction by google traductor, sorry for my English)

Reproducible: Always

Steps to Reproduce:
1.Go to http://www.setingo.com/demo_problem.html
2.Wait
3.Scroll and be happy my friend
Actual Results:  
The background render slooooowwww...

Expected Results:  
render more fast

This background css is from http://www.omgubuntu.co.uk
The problem is in windows 7 x64 and ubuntu 10.10 x64.
Version: unspecified → Trunk
Component: General → Graphics
Product: Firefox → Core
QA Contact: general → thebes
Summary: SLOW (≈10 seconds) rendering of background without images → slow Rendering/Scrolling with Background Image using -moz-linear-gradient
> Created attachment 482571 [details]

This code is... stupid:
 background-size: 1px 199px;
repeats a 1px wide background.

 background-size: 100% 199px;   is much faster.
is true... the css is stupid. 
well, its not a bug, is a bad design of www.omgubuntu.co.uk.
sorry for the unnecessary notification.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
We are not committed to handle stupid code badly.
People with more knowledge should decide about this.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INVALID → ---
Summary: slow Rendering/Scrolling with Background Image using -moz-linear-gradient → slow Rendering/Scrolling with Background Image using -moz-linear-gradient and background-size:1px ...;
Status: REOPENED → UNCONFIRMED
Ever confirmed: false
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: perf
It's pretty fast on Mac actually. I wonder why.

It would be pretty easy to make this faster. We probably should, but we won't do it for Firefox 4 probably.

In the meantime, please do send feedback to the size recommending 100% instead.
This is WFM using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1 ID:20120617030532 with HWA on.

Explicitly turning off Azure exhibits the originally reported Issue. Thus I think this has been fixed since Azure Landing.
Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/16.0 Firefox/16.0a1

Not fixed, the second testcase has significant better scrolling performance on my system.
both the attached testcases scroll fully smooth for me on the latest Nightly 21.
confirming comment 9 with Nightly 21 from 2013-01-21
-> WORKSFORME
Status: NEW → RESOLVED
Closed: 14 years ago11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: