mootools/mootools-core — comment on commit ef71402244944f512645266c826a7af74c3d9b6a
File: Source/Element/Element.Style.js line 49
By jbgithub:

@arian Hi Arain, I was coming here to create a new issue for opacity==1 in IE7 but I found you added a fix for it already on line 48 above.

May I suggest an alternate solution (see below) since your fix doesn't restore the code from v1.4.3 that handles values larger than 1.

Before:
====
Line #48: if (opacity == null || opacity == 1) opacity = '';
Line #49: else opacity = 'alpha(opacity=' + (opacity * 100).limit(0, 100).round() + ')';
====

After: The last two lines are from v1.4.3.
====
if (opacity == null) opacity = 1;
opacity = (opacity * 100).limit(0, 100).round();
opacity = (opacity == 100) ? '' : 'alpha(opacity=' + opacity + ')';
====