Bug Tracker

Opened 11 years ago

Closed 10 years ago

#4258 closed bug (invalid)

Jquery framework IE7 bug - Get Elemnt size

Reported by: simofacc Owned by: brandon
Priority: major Milestone: 1.4
Component: dimensions Version: 1.3.2
Keywords: element, size, ie7, bug, fix Cc: siman@…
Blocked by: Blocking:

Description

Bug in IE7 which occurs when hovering fast and getting the element size.

Sometimes E.now returns a negative number which throws an exception.Just added an if statement to check that E.now is greater than 0.

New code below:

if(E.elem.style&&E.elem.style[E.prop]!=null){mye=0; if(E.now>0){mye=E.now}E.elem.style[E.prop]=mye+E.unit}else{E.elem[E.prop]=E.now}}

Change History (4)

comment:1 Changed 11 years ago by dmethvin

Can you post a full test case? Also, was your test done with a minified copy of jQuery? The actual code appears to be in fx, not dimensions, but the code above is minified.

comment:2 Changed 11 years ago by simofacc

So what exactly should I submit? What files/code do you need?

comment:3 Changed 11 years ago by dmethvin

need: CommitTest Case

Please submit a small html file that contains the script and html showing the problem described here.

comment:4 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please reopen if you have a test case.

Note: See TracTickets for help on using tickets.