Bug Tracker

Modify

Ticket #4258 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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

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

comment:1 Changed 4 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 4 years ago by simofacc

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

comment:3 Changed 4 years ago by dmethvin

  • need changed from Commit to Test Case

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

comment:4 Changed 4 years ago by dmethvin

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

Please reopen if you have a test case.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.