Bug Tracker

Ticket #6523 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

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

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

comment:1 Changed 4 years ago by dmethvin

  • Component changed from unfiled to attributes

comment:2 Changed 4 years ago by john

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

This was fixed in the CSS rewrite that just landed.

Note: See TracTickets for help on using tickets.