Bug Tracker

Opened 6 years ago

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

  • Component changed from unfiled to attributes

comment:2 Changed 5 years ago by john

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

This was fixed in the CSS rewrite that just landed.

Note: See TracTickets for help on using tickets.