Bug Tracker

Modify

Ticket #2850 (closed bug: invalid)

Opened 6 years ago

Last modified 2 years ago

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

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.

Change History

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

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

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