Side navigation
#2850 closed bug (invalid)
Opened May 13, 2008 12:51PM UTC
Closed June 23, 2010 03:18AM UTC
Last modified March 14, 2012 04:22PM UTC
.animate with left & top from percentage to pixel wrong in IE
Reported by: | Leonidas | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | effects | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Ok, so I have a div, #container, with an img #pointer positioned inside of that. #pointer is set to be positioned absolutely. Now, when I let it animate, it works fine in Firefox. I guess the position is being translated into pixel values and everything works. Now, when viewing this in IE (7), the animation works, but before the animation starts, the #pointer is being moved to a wrong place (it jumps to some, always the same position) and the animation starts from the wrong starting point.
When top: 50% and left: 50%, it looks in IE as if he would put it roughly in 60% and 60% instead. When using some pixel value it works properly.
I suspect it is the calculation in trunk/jquery/src/fx.js line 113 that's broken somehow (or uhm, it's equivalen in version 1.2.3). The calculation just does not yield the proper results on IE.