diff --git a/CHANGELOG b/CHANGELOG index d70cd78..bba031d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Make sure setting opacity works on elements that have "no layout" in IE. [Thomas Fuchs] + * Simplify Class.create by establishing a prototype chain when subclassing. Closes #9342. [Ben Newman] * Fix Ajax.PeriodicalUpdater for compatibility with Ajax.Response. Closes #9321. [kampers] diff --git a/src/dom.js b/src/dom.js index f99c5d2..b17e1ee 100644 --- a/src/dom.js +++ b/src/dom.js @@ -780,6 +780,7 @@ else if (Prototype.Browser.IE) { return filter.replace(/alpha\([^\)]*\)/gi,''); } element = $(element); + if (!element.currentStyle.hasLayout) element.style.zoom = 1; var filter = element.getStyle('filter'), style = element.style; if (value == 1 || value === '') { (filter = stripAlpha(filter)) ?