Skip to main content

Bug Tracker

Side navigation

#7638 closed bug (duplicate)

Opened November 26, 2010 12:27PM UTC

Closed December 01, 2010 02:29AM UTC

Last modified March 04, 2014 10:51AM UTC

Incorrect animate behaviour in WebKit

Reported by: tbicr.by@gmail.com Owned by: tbicr.by@gmail.com
Priority: low Milestone: 1.5
Component: effects Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

Hi!

I use jQuery animation as following:

selector.animate({top: '-=' + pageHeight}, time, callback);

selector.animate({ 'margin-left': '-=' + windowWidth }, time, callback);

In InternetExplorer, FireFox everything is all right.

In Google Chrome when zoom equals 100% all right too, but when set other zoom (not equal 100%),

animation occurs in spurts and in result 'top' and 'margin-left' values set incorrect (proportional zoom-level).

Chrome version 7.0.517.44

Attachments (0)
Change History (13)

Changed November 26, 2010 12:31PM UTC by tbicr.by@gmail.com comment:1

Hi!

I use jQuery animation as following:

selector.animate({top: '-=' + pageHeight}, time, callback); selector.animate({ 'margin-left': '-=' + windowWidth }, time, callback);

In InternetExplorer, FireFox everything is all right. In Google Chrome when zoom equals 100% all right too, but when set other zoom (not equal 100%), animation occurs in spurts and in result 'top' and 'margin-left' values set incorrect (proportional zoom-level).

Chrome version 7.0.517.44

Changed November 26, 2010 01:01PM UTC by jitter comment:2

owner: → tbicr.by@gmail.com
status: newpending

Thanks for taking the time to contribute to the jQuery project by writing a bug report!

Please submit a reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. So that we can investigate this issue further.

Changed November 30, 2010 09:59AM UTC by tbicr.by@gmail.com comment:3

status: pendingnew

See example:

http://jsfiddle.net/HRuKA/

Try to zoom in and click some times up/down buttons in Chrome browser

And compare results using Firefox or Chrome when zoom is 100%

Changed November 30, 2010 05:27PM UTC by tbicr.by@gmail.com comment:4

Most likely it depends on incorrect work function $(selector).css(name) in chrome when zoom isn't 100%

Changed December 01, 2010 02:28AM UTC by jitter comment:5

component: unfiledeffects
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed December 01, 2010 02:28AM UTC by jitter comment:6

#7638 is a duplicate of this ticket.

Changed December 01, 2010 02:28AM UTC by jitter comment:7

Duplicate of #7638.

Changed December 01, 2010 02:29AM UTC by jitter comment:8

resolution: duplicate
status: closedreopened

Changed December 01, 2010 02:29AM UTC by jitter comment:9

resolution: → duplicate
status: reopenedclosed

Changed December 01, 2010 02:29AM UTC by jitter comment:10

Duplicate of #5565.

Changed June 20, 2013 05:43PM UTC by maciekpaprocki@gmail.com comment:11

ok I have this same problem in webkit browsers (safari and chrome). Everything works fine until I zoom site.

this same example, because it shows everything. http://jsfiddle.net/HRuKA/

works fine in IE and MF.

Changed July 09, 2013 04:56PM UTC by anonymous comment:12

I can confirm I have seen this behavior as well.

Changed March 04, 2014 10:51AM UTC by kulshreshtha.somil007@gmail.com comment:13

yes same happen to me also