Skip to main content

Bug Tracker

Side navigation

#13649 closed bug (invalid)

Opened March 22, 2013 04:34PM UTC

Closed April 09, 2013 09:08AM UTC

Animating background-position-x has different behaviors on browsers.

Reported by: me@jalcine.me Owned by: me@jalcine.me
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

Running the following code:

$(".awesome").hover(function(){

$(this).stop().animate({backgroundPositionX: $(this).width();});

},function(){

$(this).stop().animate({backgroundPositionX: 0;});

});

does the following on Chrome:

slides the background image in and out on hover.

does the following on Internet Explorer 9:

slides the background image out, but sets the position directly to 0 on hover off.

Attachments (0)
Change History (3)

Changed March 24, 2013 01:36AM UTC by m_gol comment:1

(to speed things up I'll paste here what you'd hear from core jQuery developers anyway)

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed March 25, 2013 03:17PM UTC by dmethvin comment:2

owner: → me@jalcine.me
status: newpending

Changed April 09, 2013 09:08AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!