Oleg Gaidarenko
4543815eed
Tests: Partially use new qunit interface
...
http://qunitjs.com/upgrade-guide-2.x/
For most of the boring work was used
https://github.com/apsdehal/qunit-migrate package
However, it can't update local qunit helpers, plus in some places
old QUnit.asyncTest signature is still used
Ref b930d14ce6
Fixes gh-2540
2015-09-07 20:14:59 +03:00
Oleg Gaidarenko
20ddbe4f59
Build: Update jscs and lint files
...
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +03:00
Oleg Gaidarenko
b8b111e337
Tests: don't use deprecated argument in test declaration
...
Ref aabe94edb4
2015-07-30 20:48:26 +03:00
Michał Gołębiowski
29561bca8f
Effects: Fix tests
...
Refs 6b10f9d7e9
Refs gh-2340
2015-06-28 22:42:03 +02:00
Corey Frang
d07774ae06
Tests: Fix merge conflict
...
Introduced in 6b10f9d7e9
originally.
Had a rebase conflict that I fixed but forgot to ⌘-s. ☹
2015-06-26 20:30:56 -04:00
Corey Frang
6b10f9d7e9
Effects: Add tests for jQuery.Tween
...
Conflicts:
src/selector-native.js
test/index.html
test/unit/effects.js
2015-06-26 20:11:55 -04:00
Timmy Willison
cbd51c50b3
Tests: fix tests in accordance with new :visible behavior
2015-05-12 10:06:42 -04:00
Richard Gibson
9df8bd205a
CSS: Ignore the CSS cascade in show()/hide()/etc.
...
Fixes gh-1767
Fixes gh-2071
Closes gh-2180
(cherry picked from commit 86419b10bf
)
Conflicts:
src/css.js
src/css/defaultDisplay.js
src/effects.js
test/data/testsuite.css
test/unit/css.js
test/unit/effects.js
2015-05-11 13:01:13 -04:00
Timmy Willison
b9b5c23fd7
Effects: add tests for jQuery.easing._default in Animation and Tween
...
Ref gh-2219
2015-05-05 11:26:14 -07:00
Timmy Willison
b7f9e62642
Effects: set default easing using jQuery.easing._default
...
Fixes gh-2219
Close gh-2218
2015-05-05 10:26:02 -07:00
Michał Gołębiowski
90d7cc1d8b
Misc: Drop support for older browsers; update support comments
...
That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820
2014-12-08 21:12:33 +01:00
Richard Gibson
f6f8848fbe
Tests: Minor updates for QUnit 1.16 compatibility
...
More to come later.
2014-12-05 12:32:49 -05:00
Michał Gołębiowski
2ea57c1002
Test: Switch leftover andSelf to addBack
2014-10-30 14:19:03 +01:00
Michał Gołębiowski
da84cb6b7a
Css: Fix the "sanity check" test
...
The #dl element has 0 height so it's now considered hidden regardless
of its width.
(cherry-picked from 995f70777a
)
2014-07-28 18:47:19 +02:00
Oleg Gaidarenko
9dc29a2b13
Effects: Improve raf logic
...
* Make animation behave as if jQuery.fx.off = true if document is hidden
* Use cancelAnimationFrame in jQuery.fx.stop
Ref 708764f47b
2014-06-16 03:21:53 +04:00
Oleg Gaidarenko
06a4540696
Effects: Reintroduce use of requestAnimationFrame
...
Same as before, just use don't use prefixes, since they pretty match useless now
and use page visibility API to determine if animation should start.
Also null the requestAnimationFrame attribute in window for tests since
sinon does not provide fake method for it.
Fixes #15147
Ref 72119e0023
2014-06-16 03:21:48 +04:00
Oleg Gaidarenko
13040b655a
Effects: Remove needless operations in tests
...
Ref 10024c2582
2014-06-16 03:21:44 +04:00
Oleg Gaidarenko
f833c9af57
Effects: Respect display value on inline elements
...
Take "olddisplay" value into the account
Fixes #14824
Closes gh-1566
Ref 73fe17299a
(cherry-picked from c34dbf5a8d
)
Conflicts:
src/effects.js
2014-04-30 17:14:22 +04:00
Richard Gibson
80cf965e02
Effects: Don't overwrite display:none when .hide()ing hidden elements
...
Fixes #14848
Closes gh-1548
(cherry picked from commit 890d441aa5
)
Conflicts:
src/effects.js
2014-03-20 23:01:39 -04:00
Michał Gołębiowski
10e654218a
Ajax, Effects: Disable Chrome 31 workarounds
2014-03-10 15:03:03 +01:00
Michał Gołębiowski
a96ff1c3a8
Effects: Don't check fill-opacity in Android 2.3, it's not supported
...
(cherry-picked from 70ac4485f3
)
2014-02-13 16:13:15 -08:00
Michał Gołębiowski
345a598653
Build: Upgrade QUnit to 1.14.0
...
(cherry-picked from 95b21c6ec2
)
2014-02-05 15:47:20 +01:00
Michał Gołębiowski
05c108ecbd
Tests: Blacklist one effects test in Chrome 31
...
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
(cherry-picked from c11becbb69
)
2014-01-21 12:16:10 +01:00
Oleg
3fbbe933ea
Tests: Fix another issue with sinon timers
2014-01-14 20:58:10 +04:00
Oleg
f1af3c23f9
Tests: Fix sinon timers for oldIE
2014-01-13 22:22:51 +04:00
Dave Methvin
09b28534fa
Effects: First step() call should match :animated selector
...
(cherry picked from commit 085814474e
)
Fixes #14623
Closes gh-1473
2014-01-09 22:29:05 -05:00
Dave Methvin
ab1224dd2d
Tests: Fix test broken by previous cherry-pick
2014-01-09 22:26:25 -05:00
John Paul
2d6da2da6c
Effects: Integrate sinon fake timers into tests
...
(cherry picked from commit b407bddea2
)
Closes gh-1377
2014-01-09 22:03:24 -05:00
cjqed
305eefe6ab
Tests: Avoid use of QUnit.reset() in tests by splitting them
...
Closes gh-1470
Ref #1457
2014-01-03 08:01:46 +04:00
Richard Gibson
d16fe84d80
No ticket: Improve line-height animation test stability
2013-09-17 09:55:53 -04:00
Timmy Willison
812319093a
Ensure display: inline-block when animating width/height on inline elements. Fixes #14344 .
2013-09-10 15:09:58 -05:00
Michał Gołębiowski
badcd1b6f3
Fix #10814 . Fix #14084 . Make support tests lazy and broken out to components.
2013-09-06 03:40:49 +02:00
Richard Gibson
5cd6868365
Fix #14318 : Cherry-pick interrupted animation fix from master ea5c22ec12
2013-08-30 12:38:43 -04:00
Richard Gibson
2b6a7b1caf
No ticket: improve line-height animation test robustness
2013-08-26 16:36:55 -04:00
Oleg
032ef3525c
Correct typos in the test assertion
2013-08-10 10:57:00 +04:00
Oleg
4b74fe1a6e
Fix test of #13855 for Opera 12.1 and IE10
2013-08-10 08:00:09 +04:00
Oleg
34cc465792
Improve test stability for #13855 ticket. Close gh-1328.
2013-08-08 09:45:28 -04:00
Oleg
48a948f4c0
Fix test for #13937 ticket. Close gh-1299
...
(cherry picked from commit 308980ee2a
)
2013-07-01 22:42:25 +04:00
Richard Gibson
ae9e05e9f3
Fix #13937 : Correctly scope .finish() following multi-element .animate(). Thanks @gnarf37. Close gh-1279.
2013-05-28 16:48:55 -04:00
Richard Gibson
00231d5d94
Fix #13939 : Same-unit relative animations
2013-05-26 19:52:28 -04:00
Richard Gibson
42c25656d1
Fix #13855 : line-height animations. Close gh-1265.
...
(cherry picked from commit 3971c2ebb2
)
2013-05-13 20:33:28 -04:00
Renato Oliveira dos Santos
e0f59600a4
Ref #13483 : Cherry-pick tests from master ea5c22ec12
2013-05-13 19:13:14 -04:00
Timmy Willison
d2435ead36
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755 .
...
Conflicts:
src/.jshintrc
src/data.js
test/unit/attributes.js
test/unit/core.js
test/unit/data.js
test/unit/event.js
test/unit/manipulation.js
test/unit/queue.js
test/unit/traversing.js
test/unit/wrap.js
2013-04-09 12:21:54 -04:00
Richard Gibson
1f76536650
No ticket: Revise unit tests in anticipation of Sizzle-free builds
...
(cherry picked from commit 59f5adb622
)
2013-02-22 20:33:00 -05:00
Dave Methvin
fbce702f4b
Ref #12846 and 3b6d8941d8. Fix unit test for IE6.
2013-02-02 22:18:33 -05:00
Dave Methvin
3f9f2b1dbc
Fix #12846 . Restore overflow when animation is stopped.
...
(Cherry picked from a6c358d
)
2013-01-26 22:05:08 -05:00
Mike Sherov
65df32dc21
Fix #13183 : Wrong animation initial value calc. Close gh-1136.
2013-01-15 23:28:56 -05:00
Corey Frang
58003c44ff
Adding some more test coverage for .finish()
2013-01-09 11:40:33 -06:00
Corey Frang
c27d8e2988
Fix #13103 . Add .finish() method. Cherry picked from b6abb31df4
.
2013-01-08 01:23:22 +00:00
Corey Frang
516a7a8792
Fix #12803 . Add jQuery.fx.start as a hook point. Close gh-1024.
2012-11-25 15:23:02 -05:00