Commit Graph

2122 Commits

Author SHA1 Message Date
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
Timmy Willison
7b9b98d6e3 CSS: elements are hidden when either offsetWidth or offsetHeight is zero
- Note: this is a breaking change that has been delayed for several versions.

Fixes #10406
Fixes #13132

Conflicts:
	src/css/hiddenVisibleSelectors.js
2014-07-17 17:33:29 -07:00
Timmy Willison
91e06e9aeb Build: update grunt-jscs-checker and pass with the new rules
Conflicts:
	build/tasks/build.js
	src/ajax/xhr.js
	src/attributes/classes.js
	src/attributes/prop.js
	src/attributes/val.js
	src/core/init.js
	src/core/ready.js
	src/css.js
	src/css/curCSS.js
	src/css/defaultDisplay.js
	src/data.js
	src/data/var/dataPriv.js
	src/data/var/dataUser.js
	src/dimensions.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/queue.js
	src/selector-native.js
	test/data/testrunner.js
2014-07-17 11:08:37 -07:00
Oleg Gaidarenko
d0f27a73a1 Build: Correct indentation issue 2014-07-03 18:00:45 +04:00
Michał Gołębiowski
41f522ace1 Selector: Remove "#" exception for identifier tokens
Port Sizzle test change from:
f204a61122

(cherry-picked from 86e62d8b37)
2014-06-30 18:17:11 +02:00
Scott González
72e6192517 Build: Move all external libraries to external directory
Closes gh-1593

Conflicts:
	Gruntfile.js
	test/index.html
2014-06-25 13:48:49 -04:00
Oleg Gaidarenko
9953ae4c88 Build: Move test to appropriate module
Ref fbdbb6fd43
2014-06-16 03:21:58 +04: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
37f0f7f42c Ajax: Always use script injection in globalEval
Fixes #14757
Ref bbdfbb4ee8
2014-06-16 03:21:39 +04:00
Oleg Gaidarenko
76294e1e9e CSS: Do not throw on frame elements in FF
IE9-10 throws on elements created in popups (see #14150), FF meanwhile throws
on frame elements through "defaultView.getComputedStyle" (see #15098)

Use "defaultView" if in the popup which would fix IE issue,
use "window.getComputedStyle" which would fix FF issue.

And everybody wins, except performance, but who cares right?

Fixes #15098
Ref e488d985cf
2014-06-16 03:21:34 +04:00
Richard Gibson
d05f4bda1c Tests: Clean up isNumeric tests 2014-06-07 14:33:36 -04:00
Richard Gibson
b6e99eb43c Core: Work around loss of precision from parseFloat
Fixes #15100
2014-06-07 14:22:49 -04:00
TJ VanToll
479e37f436 Ajax: Support usage without jQuery.event
Fixes #15118
Closes gh-1588
2014-06-02 16:41:00 -04:00
Oleg Gaidarenko
369add5f1d Selector: Use jQuery reference not Sizzle
(Cherry-picked from 3b9057a18d)
2014-05-29 21:55:15 +04:00
Oleg Gaidarenko
9e5f49fde3 Selector: Fix test iframe submission for firefox
Ref jquery/sizzle@20fbadb087
(Cherry-picked from efc4f8d781)
2014-05-29 21:49:53 +04:00
Michał Gołębiowski
1bd576a3c4 Ajax, Manipulation: don't test cross-document manip in Android 2.3
(cherry-picked from 213b9604f3da654e4281eeea56fcb169f88ffd19)

Fixes #14796
Closes gh-1572
2014-05-07 23:22:24 +02:00
Michał Gołębiowski
6738117383 Core: Correct the number of expected tests
(cherry-picked from da148f158f)
2014-05-02 16:04:46 +02:00
Liang Peng
7cf9ceaebc Core: Remove repeated test
(cherry-picked from 69d4a48ff6)

Closes gh-1570
2014-05-02 15:50:31 +02:00
Dave Methvin
062a7d63e4 Data: Work around IE11 bug with onpageshow attribute
Fixes #14894
(cherry picked from commit b8133e282c)

Conflicts:
	src/data.js
	test/unit/data.js
2014-04-30 11:00:14 -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
Michał Gołębiowski
e848b46cfc Css: Use only positive integers as values for widows/orphans
According to http://www.w3.org/TR/CSS2/page.html#propdef-orphans, widows
and orphans can take only positive integer values. Together with a Chrome 34
regression this caused the test to fail.

(cherry-picked from def4841cfa)

Fixes #15016
Closes gh-1563
2014-04-18 16:24:18 +02:00
Oleg Gaidarenko
3dc5504237 Tests: Comply the style guide 2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
d89c278a33 Tests: Fix failing ajax tests in oldIE 2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
4d5596e3e4 Tests: Remove unused variables 2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
0837e41509 Tests: Copy some Sizzle combinators tests 2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
a4e83764f4 Tests: Add more tests for Sizzle attributes 2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
510c002ff7 Tests: Add test for selectors with commas 2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
1c596165bc Tests: Copy Sizzle.uniqueSort tests 2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
10d92e3dce Tests: Copy Sizzle.contains tests 2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
6e4f75fea7 Tests: Move some of the Sizzle tests to selector 2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
1c04178939 Tests: Improve jsonp tests
Since global variable for callback always would be equal to undefined value
it better to check for boolean instead
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
9cdaa75b86 Tests: Correct logic of a broken assertion 2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
f5ea571753 Build: Use jscs to check test helpers
Also fix issues found by jscs

Conflicts:
	test/data/testrunner.js
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
6cd81b8802 Tests: Remove Sizzle intergration tests
Fixes #14818

Conflicts:
	test/data/testrunner.js
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
d5399193d4 Tests: Simplify "testTimeout" option 2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
270a1ebd8d Tests: Remove QUnit start hook
Conflicts:
	test/data/testrunner.js
2014-04-15 17:46:25 +04:00
Michał Gołębiowski
6b87914758 Support: Add Android support tests results 2014-03-31 23:07:24 +02:00
Michał Gołębiowski
10d7d5ce9d Css: change boxSizingReliable in IE<9.
Change boxSizingReliable test value to false in all IE versions.
Modify support comments to argument getComputedStyle guards
with oldIE support and not node.js which is not supported in 1.x.

Closes gh-1498
2014-03-21 08:30:41 -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
Oleg Gaidarenko
6dcca6da36 CSS: jQuery#hide should always save display value
Fixes #14750
Closes gh-1509
(cherry picked from commit 5a8f769332)

Conflicts:
	src/css.js
2014-03-20 22:47:35 -04:00
John Hoven
9ec429cf62 Attributes: Trim whitespace from option text when returned as a value
Fixes #14858
Ref #14686
Closes gh-1531
2014-03-20 15:44:09 -04:00
Michał Gołębiowski
c10af6be17 Core: Change the sleep time in dont_return.php from 100s to 30s
Half a minute is more than enough for the test to finish even in the slowest
browsers and in case of starving the PHP FPM process pool, one has to wait
for only half a minute to try again.

(cherry-picked from a10aa3aac5)
2014-03-19 02:29:38 +01:00
Michał Gołębiowski
7326c0467e Event: Don't test stopImmediatePropagation in Android 2.3
Android 2.3 doesn't support stopImmediatePropagation; jQuery fallbacks
to stopPropagation in such a case.
2014-03-18 21:00:42 +01:00
Michał Gołębiowski
7f5a0df20c Core: Change the sleep time in dont_return.php to a sane value
PHP sleep function accepts time in seconds, not milliseconds; the previous
value was starving the PHP FPM process pool.

(cherry-picked from b5074944b0)
2014-03-18 16:50:55 +01:00
Michał Gołębiowski
835d64e81a Core: Blacklist the ready test on async-loaded jQuery in iOS7
(cherry-picked from 551578eb36)

Fixes #14882
2014-03-17 18:13:49 +01:00
Dave Methvin
3be4f13dc5 Event: Unit test for #14741 fix
Fixes #14741
Closes gh-1503
(cherry picked from commit 472f70a9df)
2014-03-16 11:02:17 -04:00
Michał Gołębiowski
85ba301d09 Core: Bump timeouts to stabilize doc ready test
The "document ready when jQuery loaded asynchronously" test fails all the time
in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help
these other browsers to be less flakey here.

(cherry-picked from 854d242db4)
2014-03-13 03:28:04 +01:00
Dave Methvin
4c68d107b5 Event: Call underlying stopImmediatePropagation when present
Fixes #13997
(cherry picked from commit 6a89db86ed)
2014-03-12 21:45:50 -04:00
Michał Gołębiowski
725cdebd39 Core: Add test for jQuery.ready.promise fallback load
Fix #13655
Close gh-1209
Ref 32b066d380
2014-03-13 02:18:29 +01:00
Michał Gołębiowski
412555a0b0 Support: Make the support matrix for iOS 6 match iOS 7 as well
(cherry-picked from 26ce217862)
2014-03-13 01:48:35 +01:00
Michał Gołębiowski
7ade83391e Css: Fix tests
It's not easy to find a CSS property that is implemented even in
ancient browsers and that returns a consistent result among browsers
when passed through .css(). color didn't work since Firefox normalizes
it an empty value to rgb(0, 0, 0).

(cherry-picked from 0c12cb3910)
2014-03-10 20:02:59 +01:00
Michał Gołębiowski
b5050dc489 Support: Simplify the box-sizing test
Don't require body in the support.boxSizing test.
2014-03-10 19:25:25 +01:00
Michał Gołębiowski
4a6d1631ea Css: Revert 24e587929f
The workaround to be able to change !important styles broke the browser
keeping the old CSS value if the new one was rejected. Patching it would
involve a significant perf hit (~33%) so the initial patch needs to be
reverted instead.

Tests by m_gol & gibson042.

(cherry-picked from 10e654218a)

Fixes #14836
Closes gh-1532
2014-03-10 19:20:54 +01:00
Michał Gołębiowski
10e654218a Ajax, Effects: Disable Chrome 31 workarounds 2014-03-10 15:03:03 +01:00
Dave Methvin
80e3dfa6ba Core: Do not run window.onready when ready
Fixes #14802
(cherry picked from commit 2df1aad6a1)
2014-03-04 21:50:43 -05:00
Dave Methvin
4adc5b2217 CSS: Return values should be numbers
Fixes #14792
(cherry picked from commit f4b37d8982)
2014-03-04 21:50:42 -05:00
Dave Methvin
93fdfa2d8c Event: Allow triggerHandler(beforeunload)
Fixes #14791
(cherry picked from commit 06adf7c95d)

Conflicts:
	src/event.js
2014-03-04 21:50:41 -05:00
Dave Methvin
48837b92b0 Ajax: .load() should trim its selector
Fixes #14773
(cherry picked from commit 3a68c114e3)

Conflicts:
	src/ajax/load.js
2014-03-04 21:50:40 -05:00
Dave Methvin
c93b174b92 Core: Arrays like [42] should fail .isNumeric()
Fixes #14179
(cherry picked from commit 10efa1f5b4)
2014-03-04 21:50:39 -05: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
92361f3351 Event: Blacklist the onbeforeunload test in Android 2.3
Similarly to iOS, Android 2.3 has the onbeforeunload property on window
but doesn't support the event. This commit blacklists the test there as well.

(cherry-picked from 6d2ab64df7)
2014-02-13 16:01:43 -08:00
Michał Gołębiowski
a0677d54a6 Css: Don't check fill-opacity in Android 2.3, it's not supported
(cherry-picked from de75b3cc62)
2014-02-13 16:01:09 -08:00
Michał Gołębiowski
63f5486007 Docs: Add support comments for prefixed box-sizing 2014-02-05 15:59:38 +01: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
2f202b034f Build: Switch to explicit dependencies versions in bower.json
(cherry-picked from cd4e25e991)
2014-02-02 22:20:00 +01:00
Michał Gołębiowski
3c6cf3d62d Support: Add iOS6 support tests results 2014-01-27 21:26:06 +01:00
Michał Gołębiowski
42b740bc02 Tests: Blacklist beforeunload test in iOS
iOS has the window.onbeforeunload field but doesn't support the beforeunload
handler making it impossible to feature-detect the support.

(cherry-picked from 988d99ad27)

Fixes #14717
Closes gh-1496
2014-01-27 18:55:53 +01:00
Dave Methvin
f345291209 Manipulation: Use textarea for missing IE defaultValue check
IE11 fixed the checkbox defaultValue issue but not textarea. Rather than
creating a new detect name I'm reusing the old one to protect anyone who
is unwisely using this externally. Re-fixing the defaultValue when it
doesn't need to be done is not a problem, so leave that code for IE11.

Fixes #14716
Closes gh-1495
2014-01-23 14:14:44 -05:00
Michał Gołębiowski
49b03cf702 Tests: Fix appendChecked support value for Safari 5.1 2014-01-22 22:33:22 +01:00
Michał Gołębiowski
838bbe6d43 Tests: fix Safari userAgent detection
(cherry-picked from 3f3f458974)
2014-01-22 21:49:53 +01:00
Michał Gołębiowski
8366f60c7e Support: Add expected support results for Safari 7 & IE11 2014-01-22 21:35:31 +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
Richard Gibson
0765822b31 Traversing: Check all pairwise element combinations for .find( els )
(cherry picked from commit 391c21b15d)

Ref b8d0d54a3c
Fixes #14701
2014-01-17 01:09:32 -05:00
Oleg
2b98a2636b Tests: Fix code style issues
(cherry-picked from a2250b0f4c)
2014-01-16 07:05:11 +04:00
Oleg
f601dd4d23 Attrs: Restore ability to pass array to jQuery#val
Thanks @gibson042
2014-01-16 06:55:56 +04:00
Oleg
92cbf5362c Attrs: Fix valHook for option element
Fixes #14686
2014-01-16 03:21:25 +04:00
Oleg
a3cd88f14b Tests: Remove one of the checks for memory leak
This check is redundant since jQuery.fragments object does not exist anymore
(cherry-picked from 38c122a73a)
2014-01-14 22:02:21 +04:00
Oleg
3fbbe933ea Tests: Fix another issue with sinon timers 2014-01-14 20:58:10 +04:00
Oleg
06ee2c16f1 Ajax: support non-RFC2616 methods for oldIE
Closes gh-1466
Fixes #13240
2014-01-14 00:38:38 +04:00
Oleg
f1af3c23f9 Tests: Fix sinon timers for oldIE 2014-01-13 22:22:51 +04:00
Dave Methvin
f4a3587a65 Tests: Straighten out sinon dependencies
* Cherry-pick took the wrong lines for a couple of things.
* Update and commit dependencies after `grunt bower`
2014-01-10 10:24:57 -05: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
Timo Tijhof
1828c9856e traversing: Optimise .add by not using makeArray
(cherry picked from commit b39ee05b69)

Closes gh-1430
2013-12-30 12:36:31 -05:00
Michał Gołębiowski
c536e7e19e Ajax: don’t test jQuery.ajax() on beforeunload in Chrome 31
Chrome 31 doesn't fire Ajax requests in beforeunload event handler.
There is no way for us to workaround it and it's been fixed in Chrome 32
so let's just blacklist Chrome 31 as long as it's in TestSwarm.
See https://code.google.com/p/chromium/issues/detail?id=321241

(cherry-picked from fd0bce0758)
2013-12-18 15:11:18 +01:00
Timmy Willison
c2e0dbdaa5 Manage bower dependencies with grunt-bowercopy
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.

When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.

Fixes #14615.
Closes gh-1452.

Conflicts:
	bower.json
	test/index.html
2013-12-06 16:14:27 -05:00
Corey Frang
d6684dc3aa Ajax: Use weak ETag header in tests
See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation

Close gh-1448
(cherry picked from commit d2aa969206)
2013-11-26 14:16:12 -05:00
Jakob Stoeck
d14f617886 Add unit tests for .html( number ). Close gh-1447.
(cherry picked from commit ed291938c2)
2013-11-26 10:14:45 -05:00
Michał Gołębiowski
62cebacdcb Add es3: true to test/.jshintrc. Make tests conform to that jsHint setting. 2013-11-15 12:54:40 +01:00
Richard Gibson
936126f10d Ref 27b22f4e: Remove oldIE-unfriendly trailing comma 2013-11-15 00:18:46 -05:00
Richard Gibson
8dc0f2ea84 Ref 27b22f4e: Don't try to outsmart Apache 2013-11-14 23:50:53 -05:00
hongymagic
27b22f4ef5 Fix #14503: Cast to string before setting XHR header. Close gh-1427. 2013-11-14 20:32:56 -05:00
Dave Methvin
5f325b1bee Ref #14180, let focusin/out work on non-element targets.
(cherry picked from commit c2aca17d45)

Conflicts:
	src/event.js
2013-11-14 16:40:22 -05:00
Timmy Willison
a9f5946294 Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:18:12 -05:00
Dave Methvin
97d53838e0 Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.
(cherry picked from commit ebdb467761d756d4e52608a0df4a4d9b17da8092)
(conflicts with .data() resolved manually)
2013-11-12 21:24:20 -05:00
Richard Gibson
60a6178131 Fix #14492: More correct jQuery.parseJSON. Close gh-1419. 2013-11-12 00:07:28 -05:00
Michał Gołębiowski
ef7f8f1ead No ticket. Remove version sniffing from test/unit/support.js, browsers got updated. 2013-11-11 00:43:18 +01:00
Michał Gołębiowski
b349731e57 No ticket. Restore some parsing tests in core. (cherry-picked from 650f325d8e) 2013-11-10 21:15:07 +01:00
Oleg
7f829752e6 Don't execute focus tests in Firefox
Cherry picked from 45be91e398 commit
2013-11-08 16:07:26 +01:00
Oleg
d6fc713e26 Use full version of jQuery 1.9.1
Had some weird failures in IE with xhr build of 1.9.1.
Cherry picked from 626cbde7f8 commit
2013-11-08 01:07:09 +01:00
Oleg
9e3d0f3109 Fix #14422 and add more thorough check for CSP violations
Close gh-1413
2013-11-07 22:08:50 +01:00
Richard Gibson
ba2a8fb01e Ref c66a5e70: Synchronize unit tests with master 2013-11-07 11:59:56 -05:00
Richard Gibson
126d596b56 Fix #14074: element id="nodeName". Close gh-1389. 2013-11-07 11:37:52 -05:00
Chris Antaki
d0b8f9fa93 Ref fb2e0a0c: Synchronize unit tests with master 2013-11-07 11:37:15 -05:00
Corey Frang
075763b71a Fix #14101: $().data() should be undefined, not null
- Backported 30eee925db for 1.x
2013-11-06 11:07:52 -05:00
Richard Gibson
faed51b2e9 Ref f9d41ac6: Opera-compatible form target
(cherry picked from commit d5b7139abc)
2013-11-04 09:41:34 -05:00
Richard Gibson
26705c6c5b Fix #14379: AJAX requests on unload
(cherry picked from commit f9d41ac641)

Conflicts:

	src/ajax/xhr.js
2013-11-04 09:41:19 -05:00
Richard Gibson
d8576139c1 Fix #14459: Use jQuery.parseJSON instead of JSON.parse
(cherry picked from commit ced9d155f0)
2013-10-28 11:39:43 -04:00
Michał Gołębiowski
4743f017a6 Add tests for class manipulation on jQuery object containing more than one element. Close gh-1404. (cherry-picked from 35b2b94979) 2013-10-25 00:50:55 +02:00
Dave Methvin
469150a27e Revert "Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369."
This reverts commit bba8366af4.

Because cross-frame focus sucks.
2013-10-22 22:47:34 -04:00
Dave Methvin
bba8366af4 Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.
(cherry picked from commit 6d5dfa0eda2c19e8838930fafff83b596654eca2)
Manually edited for conflicts.
2013-10-22 21:48:50 -04:00
Ronny Springer
aa70819598 Ref 2263134b: Better identify potential JSON. Close gh-1401.
(cherry picked from commit 083edd60a6)

Conflicts:

	src/data.js
2013-10-16 08:50:13 -04:00
Lihan Li
a5063ee2a1 Fix #14394: Changing style !important in webkit. Close gh-1385.
(cherry picked from commit 24e587929f)

Conflicts:

	src/css.js
2013-10-15 16:38:38 -04:00
Richard Gibson
1ceecf4c64 No ticket: Test cleanup
(cherry picked from commit 8df348e9eb)

Conflicts:

	test/unit/css.js
2013-10-15 15:51:08 -04:00
George Kats
32d61d75e5 Fix #14432: Always return string from .css("z-index"). Close gh-1395.
(cherry picked from commit 5ce4b06c28)

Conflicts:

	src/css/curCSS.js
2013-10-15 13:58:06 -04:00
Richard Gibson
3774ee49e0 No ticket: Fix subproject iframe tests
(cherry picked from commit 13d58a9bec)
2013-10-11 15:08:58 -04:00
Dave Methvin
b7da3b0043 Fix #13993. Save result of native inline handlers. Close gh-1368.
(cherry picked from commit 3bcd04f528)
2013-10-06 17:58:28 -04:00
Oleg
908d88cc70 Add setup function for the event module
(cherry picked from the commit 2c0b9027de)
2013-09-30 21:17:10 +04:00
Oleg
b2f27632eb Focus on the body before running focus test 2013-09-30 20:23:21 +04:00
Oleg
c809736db2 Try to fix focus test again 2013-09-30 19:20:08 +04:00
Oleg
0b9a182ecd Run focus test only if document has focus 2013-09-23 20:50:31 +04:00
Richard Gibson
3d6ed4483e No ticket: Fix IE focus test failures 2013-09-23 12:00:57 -04:00
Oleg
94a9a4f1c2 Correct test assertion of #10227 ticket for IE8 2013-09-17 18:21:26 +04:00
Richard Gibson
d16fe84d80 No ticket: Improve line-height animation test stability 2013-09-17 09:55:53 -04:00
Oleg
ff156d77b2 Fix memory leaks in tests for css module 2013-09-17 17:53:26 +04:00
Oleg
fd2964237f Fix #12723 and simplification and optmization of defaultDisplay helper
(cherry picked from commit a25343001e)
2013-09-17 16:16:47 +04:00
Oleg
303e41d996 Simplify replaceWith method. Closes gh-1276
(cherry picked from commit 642e9a4557)
2013-09-17 14:21:34 +04:00
Timmy Willison
53aa2e0c8b Use charAt instead of string indexing for oldIE's sake. Fixes #14356. 2013-09-12 15:49:53 -05:00
Timmy Willison
c6b4230d5c Adjust prefilter test to error on string indexing in oldIE 2013-09-12 15:49:53 -05:00
Amey Sakhadeo
b61a64224b Add unit tests for jQuery.grep. Close gh-1345. 2013-09-12 11:23:21 -05:00
Timmy Willison
1a9f8d9bb1 Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE) 2013-09-11 17:23:17 -05:00
Timmy Willison
d092a88e85 Set the input type for firefox. Fix a support test. 2013-09-11 15:35:50 -05:00
Michał Gołębiowski
baa8dff023 Restore support for Firefox < 23, Chrome < 28 and Safari 5.1. 2013-09-11 03:36:18 +02:00
Timmy Willison
5fbf4a4fe3 Map Sizzle to a path with config to allow users to put Sizzle wherever they want 2013-09-10 18:48:53 -05: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
ac0e7a1ba7 No ticket. Restore support for Safari 5.1 in test/unit/support.js for now. (cherry-picked from badcd1b6f3) 2013-09-07 02:31:04 +02:00
Timmy Willison
be1e4eee60 Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm)
Conflicts:
	test/data/testinit.js
	test/data/testrunner.js
2013-09-06 17:23:45 -04:00
Timmy Willison
d14904d083 Move test loader to testinit.js. Fix race condition with dependency loading. 2013-09-06 17:23:45 -04:00
Timmy Willison
b99972de58 Use requirejs to load the testswarm inject script 2013-09-06 17:23:45 -04: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
6a6604b785 No ticket: Hide the testing-support jQuery from tests
(cherry picked from commit 0c18520923)

Conflicts:

	test/data/testrunner.js
2013-09-03 11:13:20 -04:00
Amey Sakhadeo
ceb5b4c9a3 Ref #14313: Optimize 1.x jQuery.merge for size.
(cherry picked from commits c75c9a8ebb f66d53c856)
2013-09-03 02:02:45 -04:00
Richard Gibson
5cd6868365 Fix #14318: Cherry-pick interrupted animation fix from master ea5c22ec12 2013-08-30 12:38:43 -04:00
Timmy Willison
8e6e239256 Pass all tests (and load Sizzle fixture correctly) when loading with AMD
Conflicts:
	src/css.js
2013-08-29 16:25:44 -04:00
Timmy Willison
05d907d1b1 Fix for custom attr handles duck-punching the boolean attr handle 2013-08-28 12:12:37 -04:00
Timmy Willison
9f433d9fec Use window.QUnit to detect the top window when loading with AMD 2013-08-27 00:31:14 -04:00