I have seen this bug report for dojo which was fixed in 1.5.2, however even with dojo 1.6 I still cannot get get opacity to work with dojo.style
Example: http://jsfiddle.net/EXzhA/9/
What’s the problem here?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
While not a great fix, you can try setting opacity to 1.1 or some non 1 value. As to what is going on, a very preliminary look at it seems to indicate some strange floating point stuff going on. Regardless, the DXImage filter doesn’t seem to want to accept 100 for opacity, or is unhappy with whatever value dojo cooked up. Take a look at the value when you set opacity to 1.1 : filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=110.00000000000001); zoom: 1;
Regardless, opacity values greater than 1 seem to behave reasonably in Chrome and IE9, and work okay for 0 <= opacity < 1