Opened 14 years ago
Closed 13 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: | [email protected]… |
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 14 years ago by
comment:3 Changed 14 years ago by
need: | Commit → Test Case |
---|
Please submit a small html file that contains the script and html showing the problem described here.
comment:4 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please reopen if you have a test case.
Note: See
TracTickets for help on using
tickets.
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.