aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
Commit message (Collapse)AuthorAgeFilesLines
* Landing pull request 374. .animate() Callbacks should fire in correct order ↵louisremi2011-05-101-0/+16
|\ | | | | | | | | | | | | | | (unit test included). Fixes #9100. More Details: - https://github.com/jquery/jquery/pull/374 - https://github.com/jquery/jquery/issues/9100
| * oops consolelouisremi2011-05-101-1/+0
| |
| * oops unit testlouisremi2011-05-091-0/+17
| |
* | Call extend on prop to avoid changing original properties so that ↵timmywil2011-05-071-7/+10
| | | | | | | | per-property easing is not lost in multiple animations with the same props
* | Set val before hide/show check and fix easing setting; also update ↵timmywil2011-05-071-15/+12
| | | | | | | | | | | | attributes test for autofocus - The object passed should not change so it can be used in future animates, updated src and tests accordingly.
* | Fix per-property easing. Fixes #9067Daniel Pihlstrom2011-05-071-4/+12
| |
* | Landing pull request 372. Test for numeric properties was using wrong ↵gnarf2011-05-071-3/+31
|/ | | | | | | variable. Fixes #9074. More Details: - https://github.com/jquery/jquery/pull/372
* Merge branch 'qunit_fixture'timmywil2011-04-171-10/+10
|\
| * Switch QUnit div from depreceted #main to #qunit-fixturetimmywil2011-04-171-10/+10
| |
* | Make sure that hide or show don't fail when operating on non-Element nodes. ↵John Resig2011-04-171-0/+4
|/ | | | Fixes #6135.
* Ticket #8099 Performance tweaking, creditsrwldrn2011-04-131-10/+10
|
* Ticket #8099 Updates per reviewrwldrn2011-04-131-2/+7
|
* Ticket #8099 Conditional iframe approache, caches both iframe and iframedoc ↵rwldrn2011-04-131-2/+6
| | | | for reuse
* Ticket 8099, Reattempt with iframerwldrn2011-04-121-0/+13
|
* merge with master and resolve more conflictslouisremi2011-04-121-1/+1
|\
| * Bug fixes in queue.js: type in dequeue could be undefined which lead to a ↵jaubourg2011-04-121-1/+1
| | | | | | | | wrong data key, which would then have undesirable data left dangling on elements. Also adds missing semicolon in effects unit.
* | third batchlouisremi2011-04-121-48/+48
|/
* Adds fn.promise as a mean to observe the completion of animations on a set ↵jaubourg2011-04-071-18/+23
| | | | of elements. Only queued animations are handled for now, non-queued animations support coming soon. Effects unit tests updated to test the feature (needs more testing though).
* Fix a some inaccuracies in the original test case for #7912.Anton M2011-02-171-16/+26
| | | | | | | - Use fresh div instead of one outside the test-fixture - make sure the empty string test tests actually that (not 0% 0%) - actually test for < -10000 (#7193) - fixed some whitespace issues
* Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs ↵louisremi2011-02-171-15/+38
| | | | | | | | to ("", auto, undefined, null). This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn't a number, number-alike or a value that needs a fallback to 0. This way fx.start doesn't need to be recalculated for complex values.
* Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into ↵Anton M2011-02-151-12/+0
| | | | | | | | | | | rwldrn-8099" This reverts commit bb9408516aa0fc8892f4e07a99b1a47bce06081b, reversing changes made to 3ad8dd242acec1066f43a9349f4c1a352680d37b. Conflicts: src/effects.js
* Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099jeresig2011-02-141-0/+12
|\
| * Bug #8099 - Always restore to correct display value based on element's ↵rwldrn2011-01-311-0/+12
| | | | | | | | expected default display
* | Fix breaking test in Chrome.Anton M2011-02-141-1/+1
| |
* | Don't add "px" to unit-less properties when animating them. Fixes #4966.Anton M2011-02-131-0/+10
| |
* | Clean up whitespace in test/unit/effects.jsAnton M2011-02-131-44/+37
|/
* Update unit tests with a leak detection mechanism for the various jQuery ↵Colin Snover2011-01-091-11/+20
| | | | globals and fix all leaks in the tests.
* Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-091-2/+2
| | | | collision between user data and internal data. Fixes #6968.
* Remove patch for very early versions of Opera 9 that made it impossible to ↵Colin Snover2010-12-301-0/+17
| | | | animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case.
* Clean trailing whitespace from all files.Colin Snover2010-12-301-13/+13
|
* Updating #7397 unit tests to correctly test for a persisted display valuerwldrn2010-11-101-11/+15
|
* Fixes #7397; 4 supporting unit testsrwldrn2010-11-091-0/+35
|
* Limit the scope of the CSS 'auto' change to just height/width. Fixes #7393.jeresig2010-11-031-1/+5
|
* Calling .hide().show() on a stylesheet-hidden element wasn't bringing it ↵jeresig2010-10-271-1/+9
| | | | back. Fixes #7331.
* For .show() with no arguments, only set display of elements in the second ↵Karl Swedberg2010-10-261-1/+14
| | | | loop if they don't have style.display already set or if style.display isn't none. Fixes #7315.
* fadeToggle(). as suggested by Karl Swedberg in his jQcon talk. patched live! omgPaul Irish2010-10-171-0/+7
|
* Don't test inline-block in browsers that don't support it (or an ↵jeresig2010-10-141-17/+46
| | | | approximation of it, like IE).
* Fix olddisplay was inappropriately set when calling hide on an already ↵Colin Snover2010-10-111-0/+30
| | | | hidden element. Fixes #7141.
* Fixed code convention issues. Reduced size of overflow reset code. Fixed ↵Colin Snover2010-10-081-9/+8
| | | | broken show() test cases.
* Update $.fn.animate to only keep overflow set to hidden after an animation ↵Colin Snover2010-10-051-18/+14
| | | | in IE6 when it is needed (width/height change) and update unit tests to reflect when overflow does not get reset.
* IE6 will shrink-wrap elements with layout instead of allowing content to ↵Colin Snover2010-10-051-46/+85
| | | | flow outside of the border-box. Add a test for this and do not remove the overflow property after an animation in IE6.
* Update $.fn.animate to change display mode only when necessary (inline, ↵Colin Snover2010-10-051-1/+74
| | | | non-floated elements), and to use a more proper display mode for those elements. Fixes #2185.
* Make sure that opacity is being reset properly on a show animation. ↵jeresig2010-09-271-9/+5
| | | | Additionally expose jQuery.isNaN from the data module.
* Discovered that another effects bug was fixed with the recent CSS changes ↵jeresig2010-09-221-1/+6
| | | | (namely that show animations always went to auto, even if they weren't supposed to). Test suite adjusted accordingly.
* e3463946e19f2eb53d909fc2b59cc1c8636d21bd actually fixed a previously ↵jeresig2010-09-221-1/+1
| | | | undicovered but with setting auto, adjust the effects test suite accordingly. Thanks to @bugbegone for the catch.
* Added full support for easing in all shorthand effects methods (hide, show, ↵Karl Swedberg2010-09-221-1/+13
| | | | toggle, fadeTo, slideUp, etc.). Previously, these methods could only be used with two of the three (speed, easing, callback) arguments, or, in the case of fadeTo, 3 of the 4 (speed, opacity, easing, callback) arguments. Added three more sets of tests to the series of "Chain" tests. Fixes #7014
* jQuery.css() returns a string value - handle this properly in the animation ↵John Resig2010-09-171-7/+6
| | | | code.
* Fixed some sloppy checks in the effects test suite, makes it more apparent ↵John Resig2010-09-171-5/+8
| | | | where issues are happening.
* Split apart jQuery.css into jQuery.css (computed values) and jQuery.style ↵jeresig2010-09-161-5/+5
| | | | (currently set values).
* Removing leftover debug code.jeresig2010-09-141-1/+1
|