Fix #9505, percentage position values in Webkit, closes gh-825.

This commit is contained in:
Mike Sherov
2012-06-15 21:20:41 -04:00
committed by Dave Methvin
parent a101e81bde
commit 0b352f6cb5
4 changed files with 46 additions and 17 deletions

2
src/effects.js vendored
View File

@@ -21,7 +21,7 @@ var fxNow, timerId,
// Iteratively approximate from a nonzero starting point
// Prefer the current property, because this process will be trivial if it uses the same units
// Fallback to end or a simple constant
start = parseFloat( jQuery.style( tween.elem, prop ) ) || end || 1;
start = parseFloat( jQuery.css( tween.elem, prop ) ) || end || 1;
do {
// If previous iteration zeroed out, double until we get *something*