Commit Graph

5535 Commits

Author SHA1 Message Date
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
1e1ebfbf3c Build: Add lint task 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
6c41d16b4e Build: set default testswarm timeout to 15 minutes
We're not testing on IE6-7 anymore.

(cherry-picked from a0568b07d8)
2014-04-15 11:48:57 +02:00
Michał Gołębiowski
a43000a185 Build: use browserSets from config file; allow to override
(cherry-picked from 7869891a97)
2014-04-15 11:45:22 +02:00
Jörn Zaefferer
0f3cb601ad Build: Set npmTags and use exec properly 2014-04-14 19:08:21 +02:00
Michał Gołębiowski
f9ede07be2 Build: change .gitattributes; use system line ends for non-JS files
(cherry-picked from 99d735ab46)
2014-04-04 15:16:45 +02:00
Michał Gołębiowski
6b87914758 Support: Add Android support tests results 2014-03-31 23:07:24 +02:00
Richard Gibson
8072d25e6f Effects: Fix inline element animations
Ref 80cf965e02
Ref #14848
2014-03-24 12:36:15 -04:00
Scott González
e04c465b64 Build: Update release script for new jquery-release API
Closes gh-1544
(cherry picked from commit 5265cdac3d)
2014-03-21 12:33:58 -04: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
Michał Gołębiowski
98b5275c12 Event: Remove redundant fallback to getPreventDefault()
Android 2.3 is happy with returnValue already used for oldIE;
the getPreventDefault() fallback is not needed.

Closes gh-1546
2014-03-20 23:10:36 -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
Rodrigo Rosenfeld Rosas
5a1db91bf3 CSS: window.getDefaultComputedStyle may return null
Fixes #14736
Closes gh-1501
(cherry picked from commit 51910ba8a5aff4cd1a811f1fdb76a6c62a09a666)
2014-03-20 14:44:25 -04:00
Benjy Cui
17d8df8eec Core: Fix comments for .get() method
Closes gh-1547
(cherry picked from commit ca0086b55a)
2014-03-20 12:52:22 -04:00
Dave Methvin
c51f9f7650 Tests: Remove obsolete speed directory
Closes gh-1551
(cherry picked from commit 9ad6e7e93e)

Conflicts:
	speed/event.html
	speed/slice.vs.concat.html
2014-03-20 12:40:05 -04:00
Jörn Zaefferer
fe8904c213 Build: Add commitplease for commit msg checking
Closes gh-1523
(cherry picked from commit 176a2913260b4ec890118137ccc9a290064a59be)

Conflicts:
	package.json
2014-03-20 12:33:57 -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
be565d1cdb Build: Change the timeout for the weekly job from 4h to 1h
(cherry-picked from c1e9bb9e61)
2014-03-18 11:56:29 +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
louisremi
64d7c168c8 Event: Treat Pointer events like mouse events, #14741
Ref #14741
Ref gh-1503
(cherry picked from commit e06f428f6e)
2014-03-16 11:01:09 -04:00
Dave Methvin
f25a5b43d9 Readme: Fix subsection titles and grammar, thanks @robgraeber
Fixes gh-1540
(cherry picked from commit 44247b1cf2)
2014-03-16 10:22:02 -04:00
Michał Gołębiowski
c84835633a Build: Refactor testswarm Grunt task options
Add a possibility to specify the project name. Infer browserSets & timeout
out of it instead of defining it in the Jenkins configuration.

(cherry-picked from aa951a3184)
2014-03-16 04:14:48 +01:00
Roman Rei_
045aeda1e3 CSS: Add flex-grow and flex-shrink to cssNumber
Fixes #14888
Closes gh-1536
(cherry picked from commit c29e9c4db1)
2014-03-13 23:14:55 -04:00
Leonardo Balter
4e786a9326 Readme: updating QUnit information
updates QUnit reference site and method naming.

Closes gh-1493
(cherry picked from commit 594687abdc)
2014-03-13 22:37:28 -04:00
S. Andrew Sheppard
6d761984eb AMD: Note on AMD best practices
Fixes #14687
Closes gh-1478
(cherry picked from commit 19220c0f29fa60d80a2beb76f048ffc8b972ba35)

Conflicts:
	AUTHORS.txt
2014-03-12 23:21:30 -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
Jörn Zaefferer
59c4adbaff Build: Fix testswarm task, use API correctly
(cherry-picked from 22c515c671)
2014-03-12 12:24:58 +01:00
Michał Gołębiowski
c601eae7f6 Build: Allow to specify timeout in the testswarm task
(cherry-picked from a81dbc4ed8)
2014-03-11 21:15:01 +01:00
Michał Gołębiowski
a59a1cd17a Build: Make it possible to change browserSets in the testswarm task
(cherry-picked from 14872941f9)
2014-03-10 20:57:28 +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