Ticket #314 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

IE chokes in getStyle (sometimes?) with elem.filters test

Reported by: sky@columbia.edu Assigned to: cederberg@gmail.com
Priority: normal Milestone: MochiKit 1.4
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

IE was giving me a 'Member not found' error when it got to elem.filters on line 99 of Style.js This fixes it:

-        if (cssProperty == 'opacity' && elem.filters) {
+        if (cssProperty == 'opacity' && typeof(elem.filters) != 'undefined') {

specifically this was triggered when using D&D.

A quick test for this is:

is(getStyle(DIV(),'opacity'),1,'test filters property in IE');

Change History

07/03/08 01:47:38 changed by cederberg@gmail.com

  • owner changed from somebody to cederberg@gmail.com.
  • milestone set to MochiKit 1.4.

Ok, thanks for a great bug report. Will fix soon.

07/16/08 04:33:41 changed by cederberg@gmail.com

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [1392]. Sorry about the delay. Summer vacation and poor internet access currently.