Closed Bug 1222670 Opened 10 years ago Closed 9 years ago

On the first instance of <img>.src being changed by a script, it will flicker when rendering

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox45 --- affected

People

(Reporter: sgiles, Assigned: eflores)

Details

(Whiteboard: [gfx-noted])

I've reproduced on a nightly build (Mac OSX 10.10.5 with Intel Iris Pro 1536 MB) Follow the steps to reproduce here: https://people.mozilla.org/~sgiles/sandbox/imgels/flicker.html Not sure if this occurs on other platforms.
I can reproduce the flicker (on first button-press) on Linux Nightly, FWIW.
Component: Layout: Images → ImageLib
OS: Mac OS X → All
Hardware: x86_64 → All
Version: 45 Branch → Trunk
Whiteboard: [gfx-noted]
Assignee: nobody → edwin
We might not fix this; in bug 1253995 we're changing nsImageFrame to use the stale image if it has the same intrinsic size, but in this particular test case the images are different sizes. Although it does make sense to do the same thing if width and height are fixed. Either way, this is either a WONTFIX or a dupe of bug 1253995.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
fwiw, the observable effect wasn't fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1253995
You need to log in before you can comment on or make changes to this bug.