Closed Bug 605568 Opened 15 years ago Closed 15 years ago

Animated GIF with transparency over loading iframe flashes opaque background as iframe loads

Categories

(Core :: General, defect)

x86
macOS
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: lawdavis, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 When an animated GIF with transparency is positioned absolutely above an iframe, and one changes the src of the iframe, transparency will be there until the moment before the iframe refreshes its content, at which point the normally transparent area in the GIF will flash white (or other background color) for under a second. In this case, YUI is being used to display a modal overlay with an animated "loading" spinner to show a process is in progress. Removing the GIF from the overlay causes the problem to go away. Reproducible: Always Steps to Reproduce: 1. Create a HTML document with an iframe and an absolutely positioned div with an animated gif and write some javascript to change the iframe source onclick (or any event). 2. Click the document body Actual Results: Transparency will be there until the moment before the iframe refreshes its content, at which point the normally transparent area in the GIF will flash white (or other background color) for under a second. Expected Results: Smooth transition between pages despite presence of animated GIF.
I suppose I should note this only seems to affect certain websites, as switching from blackle.com to bing.com doesn't cause the problem :-\ (test case is bing.com -> apple.com)
Is this a problem on trunk?
I figured it might be nice to have an example of a similar situation in which the bug is not experienced. I wonder why...
@Boris: Our QA team at Adobe caught this in FF 3.6.10 and I checked it out and determined it was a FF specific behavior, but didn't put much time into testing. If I have time later I will test with trunk, but the attached test cases should give you quick insight.
Larry, in 3.6.10 subframes have native widgets. On trunk they don't. For what it's worth, your first testcase shows the problem for me in 1.9.2 builds, but not on trunk.
Great, Thanks Boris!
Larry -> Has this issue been resolved in Firefox > 4?
Yes, the problem is gone, tested in Firefox 5.0.1. Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: