Skip to main content

Bug Tracker

Side navigation

#4258 closed bug (invalid)

Opened February 26, 2009 06:23PM UTC

Closed October 03, 2009 02:20AM UTC

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@di-ve.com
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}}

Attachments (0)
Change History (4)

Changed February 27, 2009 12:59AM UTC by dmethvin comment:1

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.

Changed February 27, 2009 11:18AM UTC by simofacc comment:2

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

Changed May 10, 2009 03:46AM UTC by dmethvin comment:3

need: CommitTest Case

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

Changed October 03, 2009 02:20AM UTC by dmethvin comment:4

resolution: → invalid
status: newclosed

Please reopen if you have a test case.