Opened 13 years ago
Closed 12 years ago
#6523 closed enhancement (fixed)
change order of conditions checking in curCSS to avoid unnecessary lookouts
Reported by: | kowcik | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | attributes | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
cur CSS in version 1.4.2
curCSS: function( elem, name, force ) { var ret, style = elem.style, filter;
IE uses filters for opacity if ( !jQuery.support.opacity && name === "opacity" && elem.currentStyle ) { ...
it seems every time this function is called, there is a check made on jQuery.support.opacity. Proposed enhacement:
curCSS: function( elem, name, force ) { var ret, style = elem.style, filter;
IE uses filters for opacity if ( name === "opacity" && !jQuery.support.opacity && elem.currentStyle ) { ...
Change History (2)
comment:1 Changed 13 years ago by
Component: | unfiled → attributes |
---|
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This was fixed in the CSS rewrite that just landed.