Created attachment 8648398 [details] bug1194255_radial.png It appears that this isn't actually a PDF.js bug, but rather related to HWA (hardware acceleration) being enabled; see the attached image. Tested using: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 ID:20150814030208 CSet: 4e883591bb5dff021c108d3e30198a99547eed1e.
Created attachment 8648405 [details] bug1194255_radial.html I've extracted the canvas drawing operations into a standalone test-case, which clearly demonstrates that this is a *not* a bug in the PDF viewer, but rather a bug with HWA canvas rendering.
Probably old bug, it doesn't work i FF8.
My computer and display don't allow me to turn off Hardware Acceleration so I can't test it without Hardware Acceleration. I will try to find another computer. I used to program Windows graphics programs and sometimes ran into problems with hardware acceleration. It is sad that I can't seem to get away from such problems. But if I use the Adobe reader on the same computer, the radial gradient transparency works. Doesn't adobe also have to use the same hardware acceleration? Cheers, Roger
You can disable HWA directly in about:config: gfx.direct2d.disabled=false layers.acceleration.disabled=false then restart FF.
This is most likely a duplicate of bug 1164912.
Indeed, confirmed by mozreg: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=97012a02db93&tochange=518a79e90444