Bug Tracker

Modify

Ticket #10521 (closed bug: duplicate)

Opened 20 months ago

Last modified 12 months ago

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

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

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/

Change History

comment:1 Changed 19 months ago by timmywil

  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to effects

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

comment:2 Changed 12 months ago by mikesherov

  • Status changed from open to closed
  • Resolution set to duplicate

comment:3 Changed 12 months ago by mikesherov

Duplicate of #9505.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.