Commit Graph

1982 Commits

Author SHA1 Message Date
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