aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Blacklist one effects test in Chrome 31Michał Gołębiowski2014-01-211-3/+17
| | | | | | Chrome 31 reports incorrect offsetWidth on a table cell with fixed width. This is fixed in Chrome 32 so let’s just skip the failing test in Chrome 31. See https://code.google.com/p/chromium/issues/detail?id=290399
* Effects: First step() call should match :animated selectorDave Methvin2014-01-071-0/+15
| | | | | Fixes #14623 Closes gh-1473
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2013-12-231-2/+0
| | | | | Fix #14040 Close gh-1457
* Effects: Integrate sinon fake timers into tests. Close gh-1377.John Paul2013-11-241-290/+204
|
* Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.Michał Gołębiowski2013-11-111-26/+8
|
* No ticket: Improve line-height animation test stabilityRichard Gibson2013-09-171-23/+31
|
* Ensure display: inline-block when animating width/height on inline elements. ↵Timmy Willison2013-09-101-3/+7
| | | | Fixes #14344.
* Fix #14318: Cherry-pick interrupted animation fix from master ↵Richard Gibson2013-08-301-7/+12
| | | | ea5c22ec12e6a548b1ec2d7b0dcd9f71bea8d5dd
* No ticket: improve line-height animation test robustnessRichard Gibson2013-08-271-11/+26
| | | | (cherry picked from commit 2b6a7b1caf5f95034e0324a44ca9e3f27956ff64)
* Correct typos in the test assertionOleg2013-08-101-1/+1
|
* Fix test of #13855 for Opera 12.1 and IE10Oleg2013-08-101-5/+5
|
* Improve test stability for #13855 ticket. Close gh-1328.Oleg2013-08-081-11/+8
|
* Fix test for #13937 ticket. Close gh-1299Oleg2013-07-011-1/+5
|
* Fix #13937: Correctly scope .finish() following multi-element .animate(). ↵Richard Gibson2013-05-281-4/+30
| | | | | | Thanks @gnarf37. Close gh-1279. (cherry picked from commit ae9e05e9f3cb071232b056005755acb5926e403e)
* Fix #13939: Same-unit relative animationsRichard Gibson2013-05-261-0/+40
| | | | (cherry picked from commit 00231d5d94d3374d53bfe79e04ba253250c73087)
* Ref 3971c2eb: Sync with 1.x-masterRichard Gibson2013-05-131-2/+2
|
* Fix #13855: line-height animations. Close gh-1265.Richard Gibson2013-05-131-0/+38
|
* Fix #13483. Let slideDown() work after stop(). Close gh-1205.Renato Oliveira dos Santos2013-04-161-0/+60
|
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-75/+85
| | | | in tests. Fixes #13755.
* Move size() test to deprecated.js and avoid in other tests. Close gh-1237.Michał Gołębiowski2013-04-081-19/+17
|
* Ref #13283, move .andSelf() to deprecated.js. Close gh-1170.Nguyen Phuc Lam2013-02-261-1/+1
|
* No ticket: Revise unit tests in anticipation of Sizzle-free buildsRichard Gibson2013-02-221-9/+20
|
* Fix #12846. Restore overflow when animation is stopped.Dave Methvin2013-01-261-2/+4
|
* Fix #13183: Wrong animation initial value calc. Ref gh-1136.Mike Sherov2013-01-151-7/+24
|
* Adding some more test coverage for .finish()Corey Frang2013-01-081-1/+72
|
* Fix #13103. Add .finish() method. Close gh-1118.Corey Frang2013-01-081-0/+49
|
* Remove inlineBlockNeedsLayout and shrinkWrapBlocks.Dave Methvin2013-01-031-61/+32
|
* Fix #12803. Add jQuery.fx.start as a hook point. Close gh-1024.Corey Frang2012-11-251-0/+27
|
* No ticket: speedup effects testsRichard Gibson2012-11-121-88/+50
|
* No ticket: speedup test suite. Close gh-1020.Richard Gibson2012-11-081-75/+72
|
* Rewriting unit test to be less sticky based on time issuesCorey Frang2012-11-071-18/+27
|
* Fixing unitsCorey Frang2012-11-071-3/+3
|
* Keep track of a hiding state for toggle based animations - Fixes #8685Corey Frang2012-11-071-0/+44
| | | | Closes gh-1018
* Ensure each tick gets it's own fxNow - Fixes #12837 - Thanks @chadparryCorey Frang2012-11-071-0/+29
| | | | | Closes gh-1022 Closes gh-1021
* No ticket: fix effects test failure in IE6. Close gh-1012.Timo Tijhof2012-10-311-1/+5
|
* Implement expectation test instead of using _removeData. Close gh-997.Timo Tijhof2012-10-281-52/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed inline usage of QUnit.reset() because it is messing with the expectation model as reset does .empty() which does a recursive cleanData on everything in #qunit-fixture, so any expectJqData above .reset() would fail negatively. Instead of calling reset inline, either updated the following assertions to take previous assertions' state into account, or broke the test() up into 2 tests at the point where it would call QUnit.reset. * After introducing the new memory leak discovery a whole bunch of tests were failing as they didn't clean up everything. However I didn't (yet) add QUnit.expectJqData calls all over the place because in most if not all of these cases it is valid data storage. For example in test "data()", there will be an internal data key for "parsedAttrs". This particular test isn't intending to test for memory leaks, so therefor I made the new discovery system only push failures when the test contains at least 1 call to QUnit.expectJqData. When not, we'll assume that whatever data is being stored is acceptable because the relevant elements still exist in the DOM anyway (QUnit.reset will remove the elements and clean up the data automatically). I did add a "Always check jQuery.data" mode in the test suite that will trigger it everywhere. Maybe one day we'll include a call to everywhere, but for now I'm keeping the status quo: Only consider data left in storage to be a problem if the test says so ("opt-in"). * Had to move #fx-tests inside the fixture because ".remove()" test would otherwise remove stuff permanently and cause random other tests to fail as "#hide div" would yield an empty collection. (Why wasn't this in the fixture in the first place?) As a result moving fx-tests into the fixture a whole bunch of tests failed that relied on arbitrary stuff about the document-wide or fixture-wide state (e.g. number of divs etc.). So I had to adjust various tests to limit their sample data to not be so variable and unlimited... * Moved out tests for expando cleanup into a separate test. * Fixed implied global variable 'pass' in effects.js that was causing "TypeError: boolean is not a function" in *UNRELATED* dimensions.js that uses a global variable "pass = function () {};" ... * Removed spurious calls to _removeData. The new test exposed various failures e.g. where div[0] isn't being assigned any data anyway. (queue.js and attributes.js toggleClass). * Removed spurious clean up at the bottom of test() functions that are already covered by the teardown (calling QUnit.reset or removeClass to supposedly undo any changes). * Documented the parentheses-less magic line in toggleClass. It appeared that it would always keep the current class name if there was any (since the assignment started with "this.className || ...". Adding parentheses + spacing is 8 bytes (though only 1 in gzip apparently). Only added the comment for now, though I prefer clarity with logical operators, I'd rather not face the yayMinPD[1] in this test-related commit. * Updated QUnit urlConfig to the new format (raw string is deprecated). * Clean up odd htmlentities in test titles, QUnit escapes this. (^\s+test\(.*)(&gt\;) → $1> (^\s+test\(.*)(&lt\;) → $1< [1] jQuery MinJsGz Release Police Department (do the same, download less)
* Convert all jQuery.removeData(foo, bar, true) calls to jQuery._remove(foo, bar)Rick Waldron2012-10-161-4/+4
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* enforce double quotes via JSHint. Closes gh-975Mike Sherov2012-10-161-9/+9
|
* Enforce expects in effects.js ↵James Huston2012-10-151-0/+2
| | | | (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-960
* Fix #12537, element.css('filter') returns undefined in IE9. Close gh-942.Mike Sherov2012-09-301-1/+1
|
* Fix #12273. Don't call easing functions for duration 0 animations. Close gh-895.Corey Frang2012-08-191-0/+18
|
* Wait for both .stop() tests to finish, don't count on timing.Dave Methvin2012-08-091-7/+13
|
* Adding a check for double progress call in effects unitsCorey Frang2012-07-251-0/+4
|
* Give .stop() queue animations more leeway for Stutterin' Swarmy.Dave Methvin2012-07-251-2/+2
| | | | This test sometimes fails with only 2 animations left in the queue, so this extends the first animation in case we're running afoul of the one-second rule for background windows.
* This should repair the unitCorey Frang2012-07-251-23/+21
|
* Trying to repair a unitCorey Frang2012-07-251-19/+23
|
* Fix the logic to set overflow:hidden on width & height animations - Fixes ↵Corey Frang2012-07-201-0/+14
| | | | #12117 - Closes gh-869
* You can't hurry tests, no, you just have to wait.Dave Methvin2012-07-101-2/+2
| | | | The 100ms here is just too fast and flakey, it causes random fails in swarmy runs.
* Fix #11971 unit test in browsers lacking backgroundPositionX.Richard Gibson2012-07-091-0/+7
| | | | Closes gh-850.
* Fix #11971: force numeric animation start to be numeric, closes gh-836.Richard Gibson2012-07-051-3/+36
|