Skip to main content

Bug Tracker

Side navigation

#10521 closed bug (duplicate)

Opened October 18, 2011 12:57PM UTC

Closed June 12, 2012 12:21PM UTC

Last modified June 12, 2012 12:21PM UTC

Omitting % sign after 0 in .animate property breaks animation in Chrome

Reported by: antti.ahti@gmail.com Owned by:
Priority: low Milestone: None
Component: effects Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

Here's a jsfiddle demonstration of the problem. You can see in the .bad version that when the second menu slides in, it overlaps with the first menu in Chrome. This doesn't happen in FF.

The .good version works identically in both FF and Chrome. The only difference to .bad is the % sign after 0 in the .animate property.

http://jsfiddle.net/sRpYA/

Attachments (0)
Change History (3)

Changed October 19, 2011 04:19PM UTC by timmywil comment:1

component: unfiledeffects
priority: undecidedlow
status: newopen

This is difficult. We calculate the unit based on the user's input, not at all based on the current value of the style. We could perhaps fall back to that if no unit was provided and then fall back to 'px'.

Changed June 12, 2012 12:21PM UTC by mikesherov comment:2

resolution: → duplicate
status: openclosed

Changed June 12, 2012 12:21PM UTC by mikesherov comment:3

Duplicate of #9505.