Skip to main content

Bug Tracker

Side navigation

#4707 closed bug (fixed)

Opened May 31, 2009 06:29PM UTC

Closed December 01, 2009 07:41PM UTC

Last modified September 30, 2010 04:04AM UTC

Updating opacity in Internet Explorer breaks other currently used filters

Reported by: aheckmann Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: opacity css curCSS filter Cc:
Blocked by: Blocking:
Description

In jQuery 1.3.3pre and previous, there exists a bug in how opacity is set in Internet Explorer. If there are other filters besides alpha(opacity) being used on the element, they are overwritten.

The fix is to change jQuery.style (1.3.3pre) to first check if there are filters being used and then apply the regx replace on the result. If changeset 6349 is included we'll get the ability to not overwrite filters added inline or in the stylesheet too.

http://aaronheckmann.net:8080/jQuery/bug/iefilter/

http://dev.jquery.com/changeset/6349

Attachments (2)
  • fix.txt (1.5 KB) - added by aheckmann May 31, 2009 06:35PM UTC.

    The fix

  • jQuery.style.patch (0.7 KB) - added by aheckmann May 31, 2009 07:02PM UTC.

    Attaching the patch for jQuery.style

Change History (3)

Changed November 11, 2009 08:18PM UTC by john comment:1

component: unfilledcore

Changed December 01, 2009 07:41PM UTC by yehuda comment:2

resolution: → fixed
status: newclosed

Closed in 64e4a879f9f92053ac4d58a3fffc0bbff6900b6e

Changed September 30, 2010 04:04AM UTC by snover comment:3

#7101 is a duplicate of this. Seems the original patch did not quite catch all potential clobbering situations.