zlfera / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

Semi-transparent png backgrounds don't go well with opacity #298

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
-----------------------------------------------------------
1. Create an element with a png background image (with semi-transparent areas).
2. Give the element, or a parent element opacity. Any value (even 1) will do.

What is the expected output? What do you see instead?
-----------------------------------------------------------
The elements contents and background display faded, but the background image's 
transparent areas are blackened. If opacity is removed, the bg image displays 
fine.

What version of the product are you using? On what operating system?
-----------------------------------------------------------
IE9.js@2.1(beta4), Windows Vista, IE7

Please provide any additional information below.
-----------------------------------------------------------
I've created an example page at nblogin.se/ie7-js.bg+opacity.html

Original issue reported on code.google.com by svar...@gmail.com on 12 Jan 2011 at 2:00

GoogleCodeExporter commented 8 years ago
I can confirm this Bug. In my Case I'm using IE6 with -trans.png fix and 
opacity. The trans fix is working fine, bug the opacity not. Even a -ms-filter 
is not working in this usecase.

Original comment by goo...@pascalcrott.de on 9 Sep 2011 at 12:09