Bug Tracker

Opened 7 years ago

Closed 7 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 7 years ago by dmethvin

Component: unfiledattributes

comment:2 Changed 7 years ago by john

Resolution: fixed
Status: newclosed

This was fixed in the CSS rewrite that just landed.

Note: See TracTickets for help on using tickets.