Open Bug 1074650 Opened 10 years ago Updated 2 years ago

Image is not displayed correctly when scroll up and down

Categories

(Core :: Layout, defect)

24 Branch
x86_64
Windows 7
defect

Tracking

()

Tracking Status
firefox32 --- affected
firefox33 --- affected
firefox34 --- affected
firefox35 --- affected
firefox-esr31 --- affected

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached image screenshot
The problem happens since Firefox24.
The problem does not happen in Firefox23 and Chrome37.

testcase
https://dl.dropboxusercontent.com/u/33246373/20140922031026.7z

Steps To Reproduce:
1. Open testcase index.html
2. Wait for tab throbber stop
3. Scroll up and down by dragging thumb 

Actual Results:
Image is not displayed correctly

Expected Results:
Images should be displayed properly
Version: 34 Branch → 24 Branch
That's because we are trying the image after it has only been partially decoded. It happens because we no longer keep the decoded version of every image on a page around any more (to save memory). The tradeoff is that you will sometimes see an image before it is fully decoded.
Good:
http://hg.mozilla.org/mozilla-central/rev/c233837cce08
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130224 Firefox/22.0 ID:20130225010544
Bad:
http://hg.mozilla.org/mozilla-central/rev/06935f2db267
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130225 Firefox/22.0 ID:20130225111636
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=c233837cce08&tochange=06935f2db267

Regressed by: Bug 689623
Blocks: 689623
Component: ImageLib → Layout
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: