Ticket #9505 (closed bug: fixed)
animate() issue when mixing percentages and pixels in WebKit
|Reported by:||robert.klep@…||Owned by:||mikesherov|
[ testcase at http://jsfiddle.net/AdrwK/1/ (watch console output) ]
When performing animation on an element which is positioned by percentage with CSS, running an animation on it using a pixel value causes problems.
fx.start is set to the percentual value (for instance '-10' when the element is positioned '-10%'), but fx.unit is px. So fx.start is interpreted as being a pixel value instead of a percentage, which causes jumps.
Issue seems to be related to WebKit (tested on Chrome 11.0.696.71 and Safari 5.0.5-6533.21.1), FF 4.0.1 and Opera 11.11 aren't affected (fx.start contains a pixel value as well).
- Priority changed from undecided to low
- Component changed from unfiled to effects
- Owner set to mikesherov
- Status changed from open to assigned
- Milestone changed from 1.next to 1.8
comment:12 Changed 21 months ago by Mike Sherov
- Status changed from assigned to closed
- Resolution set to fixed