Closed Bug 922228 Opened 11 years ago Closed 8 years ago

3d transformed + z-indexed "full screen" div with animated GIF as background sometimes fails to render

Categories

(Core :: Layout, defect)

21 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox25 --- affected
firefox26 --- affected
firefox27 --- affected
firefox28 --- affected
firefox-esr17 --- unaffected
firefox-esr24 --- affected

People

(Reporter: sole, Unassigned)

References

Details

(Keywords: regression, testcase)

Each time the image is tapped we should get a new "cute" image, but sometimes it fails to load (?) although the network seems to have completed its duty, and the entire screen goes blank until the image is clicked again.

online test case:
http://people.mozilla.org/~spenades/test_cases/gif_white/

It seems to happen more often when using file:/// urls, so I uploaded the whole test as a zip file: http://people.mozilla.org/~spenades/test_cases/gif_white/gif_white.zip

If I disable the z-index or the transform properties the problem goes away.

(This is extracted from a way more complex example)
Confirmed with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 ID:20131207030203 CSet: 42b2a2adda8f.

If I move the cursor a bit the GIF gets displayed properly with a slight delay.

Does not happen with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0 ID:20131113153432 CSet: 04f4b34ae3ae

Does happen with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 ID:20131112155850 CSet: 3ae70b747d85

=> Regression within Firefox 17 <-> 24.
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
Summary: 3d transformed + z-indexed "full screen" div with animated GIF as background sometimes fails to load → 3d transformed + z-indexed "full screen" div with animated GIF as background sometimes fails to render
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/2902b3e73b92
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130214 Firefox/21.0 ID:20130214141230
Bad:
http://hg.mozilla.org/mozilla-central/rev/a373379d43cf
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130214 Firefox/21.0 ID:20130214141732

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2902b3e73b92&tochange=a373379d43cf



Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/a0928943de65
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130214 Firefox/21.0 ID:20130214025826
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/6b975147c015
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130214 Firefox/21.0 ID:20130214031033
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a0928943de65&tochange=6b975147c015

Suspected :
e941e0df729c	Robert O'Callahan — Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow


It seems to work fine if specify the background-color css:

#cute {
background-color: black; /*any of color may ok*/
}
Blocks: 815591
Component: General → Layout
Version: Trunk → 22 Branch
Version: 22 Branch → 21 Branch
Works today on Nightly 47 :-P
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.