Open Bug 1327048 Opened 7 years ago Updated 2 years ago

Old image is still displayed when new src is set to <img> via JavaScript (until new src loads)

Categories

(Core :: Graphics: ImageLib, defect, P3)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

>>>
STR_1:
1. Open http://www.redbarrelsgames.com/games/outlast-2/#featured-content
2. Click on the 1st image in section "Images"   (selector "#game-pictures")
3. Click on the 2nd image
4. Click on the 3rd image
5. Click on the 4th image
6.(bonus) clear cache and go to Step 2 (or open devtools, disable cache and go to Step 2)

AR:
 Steps 3,4,5 - first fade-out transition (opacity transition from 1 to 0) performs,
 then fade-in transition (opacity transition from 0 to 1) performs, and only after that image changes.
ER:
 Steps 3,4,5 - when fade-out transition finishes (almost finishes), old image should be visible.
 When fade-in animation starts, new image should already be displayed instead of the old one (if it's
 already cached), or no image should be visible, until the new image loads (if it's not cached).
No longer blocks: 1277113
Component: Untriaged → General
Product: Firefox → Chat Core
Version: Trunk → trunk
Component: General → ImageLib
Product: Chat Core → Core
Version: trunk → Trunk
Likely regression from bug 1253995.
Blocks: 1253995
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.