Skip to main content

Bug Tracker

Side navigation

#6523 closed enhancement (fixed)

Opened May 04, 2010 02:06PM UTC

Closed September 22, 2010 05:02PM UTC

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 ) {

...

Attachments (0)
Change History (2)

Changed June 12, 2010 02:07AM UTC by dmethvin comment:1

component: unfiledattributes

Changed September 22, 2010 05:02PM UTC by john comment:2

resolution: → fixed
status: newclosed

This was fixed in the CSS rewrite that just landed.