Commit Graph

128 Commits

Author SHA1 Message Date
Corey Frang
6bf3f20d4e Fix #7157. Animation callbacks shouldn't see an element as :animated.
Unless of course, there are other animations to be done! Closes gh-775.
2012-05-18 13:48:24 -04:00
Mike Sherov
c4e22ad8b5 Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.
This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope.

For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
2012-05-15 23:29:20 -04:00
Richard Gibson
afb34fe227 Scalarize [value, easing] before css-expanding; closes gh-750. 2012-05-11 16:22:00 -04:00
Corey Frang
58ed62ed12 Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson042 2012-04-23 15:05:12 -04:00
Sindre Sorhus
fdf37de778 Followup to #11469; add test case and clarify code. 2012-04-04 23:30:13 -04:00
louisremi
07c8a9b244 Fix #11469. Exclude margins from the negative property check. 2012-03-21 12:28:10 -07:00
Dave Methvin
56426261f0 Fix #11415: Stop non-negative prop undershoot on animation.
This doesn't fix *all* of them (see the ticket for a supposedly complete list) but these were already handy so it was relatively cheap to fix them. If you need others fixed, add a custom step function as was done here. Thanks @scott_gonzalez!
2012-03-01 22:31:17 -05:00
Mike Sherov
a52391aa1d Fix #7986. $.support.boxModel shan't be fooled by page-level CSS. 2012-02-24 00:14:15 -05:00
Scott González
8618487c53 Easing: Only use the state to calculate the value. Fixes #11284 - Simplify easings to only rely on the state. 2012-02-09 21:37:54 -05:00
timmywil
e8673ae1aa When stopping a show, save showing end state instead of start state to fix animation toggling issue. Fixes #10848. 2012-01-20 14:17:19 -05:00
Oleg
cc5e8e3866 Fix #10006: Allow .show() to work on detached elements. 2012-01-12 19:57:04 -05:00
Mike Sherov
8f5f1b2e6c Fix #8498. Add cssHooks[prop].expand for use by animate(). 2011-12-08 20:01:23 -05:00
Dave Methvin
3586ea28a8 Revert "Landing pull request 581. Updates original patch by Orkel. Fixes #10006."
This reverts commit 299bc655c9.
2011-11-21 20:53:56 -05:00
Rick Waldron
299bc655c9 Landing pull request 581. Updates original patch by Orkel. Fixes #10006.
More Details:
 - https://github.com/jquery/jquery/pull/581
 - http://bugs.jquery.com/ticket/10006
2011-11-21 13:25:46 -05:00
Corey Frang
499d7e409c Ensuring that nulls in private data object won't cause errors on stop() - Fixes #10750 2011-11-14 11:36:36 -05:00
timmywil
1e677f30f6 Add back unit in the width/height step function. Fixes #10669. 2011-11-07 10:47:09 -05:00
timmywil
52afe20860 Fix a failing effects test in IE; minor style changes in effects 2011-11-01 09:46:20 -04:00
timmywil
0752687612 Revert "Landing pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls. Fixes #10416." Fixes #10622.
This reverts commit 22f2e8b3dc.
2011-10-31 17:31:46 -04:00
Corey Frang
0191e98934 Renaming 'runner' to 'hooks' - makes it a little more obvious whats happening 2011-10-31 09:47:19 -04:00
Rick Waldron
0b4ac1d2be Cleanup spacing in effects.js. Fixes #10601 2011-10-27 15:30:12 -04:00
Rick Waldron
9ff4f26cf9 Cleanup spacing. Fixes #10601 2011-10-27 15:07:21 -04:00
Corey Frang
6c4ca13d69 Squashed commit of the following:
commit af3fd32f207ed080084f10d76f89c07c414baa05
Merge: 83c08ff fdd60f8
Author: Dave Methvin <dave.methvin@gmail.com>
Date:   Tue Oct 11 21:17:56 2011 -0400

    Merge branch 'stop' of https://github.com/gnarf37/jquery into pull-541-stop

commit fdd60f8705
Author: Corey Frang <gnarf@gnarf.net>
Date:   Mon Oct 10 13:51:59 2011 -0500

    .stop( [queue,] clearQueue, gotoEnd )
2011-10-11 21:21:59 -04:00
Corey Frang
1ba0f9c3ed Effects - Allow queue: true - Fixes #10445 2011-10-07 10:16:38 -05:00
Rick Waldron
22f2e8b3dc Landing pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls. Fixes #10416.
More Details:
 - https://github.com/jquery/jquery/pull/530
 - http://bugs.jquery.com/ticket/10416
2011-10-04 15:53:19 -04:00
Corey Frang
8dda57f82f Landing pull request 520. Unset the complete function just before calling it to avoid an exception creating a loop. Fixes #5684.
More Details:
 - https://github.com/jquery/jquery/pull/520
 - http://bugs.jquery.com/ticket/5684
2011-09-28 12:00:21 -04:00
Corey Frang
a3b59d7f92 Landing pull request 514. 1.7 - queue refactoring to handle delay stop - Fixes #6150.
More Details:
 - https://github.com/jquery/jquery/pull/514
 - http://bugs.jquery.com/ticket/6150
2011-09-28 11:55:29 -04:00
Corey Frang
e4c48a34b4 Landing pull request 496. 1.7 animate: allow named queues to be used by animate. Fixes #9280.
More Details:
 - https://github.com/jquery/jquery/pull/496
 - http://bugs.jquery.com/ticket/9280
2011-09-19 16:08:00 -04:00
timmywil
1878885fb7 Animation state is tracked on toggled/stopped animations using the private data cache. Fixes #8685. See full commit message for more. Fixes #6641.
- Example: http://jsfiddle.net/timmywil/gqZL5/24/

- http://bugs.jquery.com/ticket/8685

- Check the completed timer has not been removed already so other timers do not get accidentally removed. Fixes #6641.

- Style edits, code reductions, and optimizations for the effects module
2011-09-19 15:42:30 -04:00
timmywil
2053d1c621 Remove requestAnimationFrame support. Fixes #9381. 2011-08-16 11:21:53 -04:00
timmywil
ab1504f14f Set timerId to true instead of a number so that intervals set to 1 are not accidentally cleared when stopped. Fixes #9678.
- Adding a working test case would not be possible in this case, but all tests pass.
2011-06-28 11:46:03 -04:00
timmywil
db437be6e3 Check classes passed for duplicates. Fixes #9499. 2011-06-07 21:00:44 -04:00
Mathias Bynens
b43910a496 Landing pull request 352. Slightly improved defaultDisplay() and Throbber of Doom. Fixes #8994.
More Details:
 - https://github.com/jquery/jquery/pull/352
 - http://bugs.jquery.com/ticket/8994
2011-05-20 11:22:52 -04:00
timmywil
3486365062 Animation callbacks keep their place in the queue stack. Fixes #9220. 2011-05-13 11:56:55 -04:00
louisremi
521ae562da Landing pull request 374. .animate() Callbacks should fire in correct order (unit test included). Fixes #9100.
More Details:
 - https://github.com/jquery/jquery/pull/374
 - https://github.com/jquery/jquery/issues/9100
2011-05-10 11:22:12 -04:00
louisremi
076c347605 .animate() Callbacks should fire in correct order (fix #9100 + unit test) 2011-05-09 17:35:51 +02:00
timmywil
90f37aaf7a Call extend on prop to avoid changing original properties so that per-property easing is not lost in multiple animations with the same props 2011-05-07 21:26:02 -04:00
timmywil
8bb6e95b66 Set val before hide/show check and fix easing setting; also update attributes test for autofocus
- The object passed should not change so it can be used in future animates, updated src and tests accordingly.
2011-05-07 20:46:38 -04:00
Daniel Pihlstrom
3d1c27d52e Fix per-property easing. Fixes #9067 2011-05-07 19:28:07 -04:00
gnarf
31268449b9 Landing pull request 372. Test for numeric properties was using wrong variable. Fixes #9074.
More Details:
 - https://github.com/jquery/jquery/pull/372
2011-05-07 19:18:52 -04:00
timmywil
8d2d94cfba Fix test suite fails for hiding text nodes in F4 and IE9. Update for #6135. 2011-04-19 13:45:01 -04:00
timmywil
3aa46725ed Merge branch 'qunit_fixture' 2011-04-17 14:12:31 -04:00
timmywil
68cc3ad730 Update QUnit, fix visibility of #dl and pass JSLint in effects.js 2011-04-17 14:12:05 -04:00
John Resig
21c0be8496 Make sure that hide or show don't fail when operating on non-Element nodes. Fixes #6135. 2011-04-17 11:07:42 -07:00
louisremi
bcc8187b05 undefined should be as good as null here 2011-04-15 16:33:21 +02:00
louisremi
7bc8227d29 typo 2011-04-15 15:30:19 +02:00
louisremi
7666c3ef9a remove more useless code. feels good. 2011-04-15 15:18:21 +02:00
louisremi
eccf15be6c - merge master
- move private functions at the bottom
- remove duplicate code
- move more var at the top of their scope
- rewrite a loop to be more efficient
2011-04-15 14:44:55 +02:00
louisremi
7dc7070426 reduce function calls
simplify easing resolution code
+ some code cleanup
2011-04-14 15:21:08 +02:00
louisremi
8806435a77 Merge branch 'master' of http://github.com/jquery/jquery into effectsCleanup 2011-04-14 11:46:29 +02:00
rwldrn
a76decc476 Ticket #8099 Performance tweaking, credits 2011-04-13 15:43:15 -04:00