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