Skip to main content

Bug Tracker

Side navigation

#14847 closed bug (cantfix)

Opened March 05, 2014 12:32AM UTC

Closed March 08, 2014 04:07PM UTC

Animate function broken with margin

Reported by: BrodaNoel Owned by:
Priority: undecided Milestone: None
Component: css Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:

Hi guys.

Try this:

When we have an element centered (with margin: 0 auto;) and then we set the new margin-left:xxx; with animate function, the animation is broken in Firefox and Safari, but not in Chrome.

I'm ussing:

/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | */

Attachments (0)
Change History (1)

Changed March 08, 2014 04:07PM UTC by gibson042 comment:1

component: unfiledcss
resolution: → cantfix
status: newclosed

This is yet another manifestation of the Firefox getComputedStyle "0px" results for margin: auto elements. From

So, firefox incorrectly reports 0px. It's actually a well known bug that I've advocated for fixing for a while. I just poked them about it. The bug reports are here: