Bug Tracker

Modify

Ticket #4707 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

fix.txt Download (1.5 KB) - added by aheckmann 4 years ago.
The fix
jQuery.style.patch Download (754 bytes) - added by aheckmann 4 years ago.
Attaching the patch for jQuery.style

Change History

Changed 4 years ago by aheckmann

The fix

Changed 4 years ago by aheckmann

Attaching the patch for jQuery.style

comment:1 Changed 4 years ago by john

  • Component changed from unfilled to core

comment:2 Changed 3 years ago by yehuda

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 3 years ago by snover

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.