Apply the workaround for the Firefox "blinking element" opacity=1 bug only to Firefox 1.5.

This commit is contained in:
Thomas Fuchs 2007-10-29 23:06:15 +00:00
parent bb66a5eb9b
commit 916cbbaf4c
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* Apply the workaround for the Firefox "blinking element" opacity=1 bug only to Firefox 1.5. [Thomas Fuchs]
* Add event.stopped, a boolean that is set to `true` when Event#stop is called. [Andrew Dupont, sam]
* Reset the browser's dimensions to their original settings after running the DOM viewport tests. [sam]

View File

@ -847,7 +847,7 @@ else if (Prototype.Browser.IE) {
})(Element._attributeTranslations.read.values);
}
else if (Prototype.Browser.Gecko) {
else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) {
Element.Methods.setOpacity = function(element, value) {
element = $(element);
element.style.opacity = (value == 1) ? 0.999999 :