Ticket #5337 (closed bug: worksforme)
left/right/top/bottom css property can't be toggled in FF
| Reported by: | gminuses | Owned by: | gminuses |
|---|---|---|---|
| Priority: | low | Milestone: | 1.4 |
| Component: | effects | Version: | 1.3.2 |
| Keywords: | animate toggle | Cc: | |
| Blocking: | Blocked by: |
Description
$('div').animate({left: 'toggle'}) is not working properly(the same for right/top/bottom) in FF 3.0-3.5(haven't tested lower version).
When the property's value is being reduced to zero, it work fine, but when it is being restored, it doesn't increase, and after the animation is finished, the value is suddenly restored.
Attachments
Change History
Changed 4 years ago by gminuses
-
attachment
index.html
added
comment:2 Changed 2 years ago by rwaldron
- Owner set to gminuses
- Priority changed from major to undecided
- Status changed from open to pending
Please confirm this issue still exists
comment:3 Changed 2 years ago by gminuses
- Status changed from pending to new
Just tested it again. This issue still exists in FF 3.6.16.
comment:4 Changed 2 years ago by rwaldron
- Priority changed from undecided to low
- Status changed from new to closed
- Resolution set to worksforme
Using dmethvin's test case, this cannot be reproduced.
http://jsfiddle.net/rwaldron/XcsPE/
Tested
- FF 3.0.12, 3.6.16, 4.0
- Chrome 9, 10, 12
comment:5 Changed 2 years ago by gminuses
See the screen record here: (tested under FF 3.6.16) http://www.screenr.com/uDe
This issue appears when you click the toggle link the second time. It works fine when you just click it just once.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

A test case for this bug