Bug Tracker

Opened 15 years ago

Closed 13 years ago

Last modified 11 years ago

#2850 closed bug (invalid)

.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:


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.

Change History (2)

comment:1 Changed 15 years ago by Leonidas

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.

comment:2 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

No test case.

Note: See TracTickets for help on using tickets.