Commit Graph

5909 Commits

Author SHA1 Message Date
Philip Jägenstedt
2c2c93c7cb Selector: Use Element.matches in selector-native if available
Spec:
http://dom.spec.whatwg.org/#dom-element-matches

Support in Chromium:
https://code.google.com/p/chromium/issues/detail?id=326652

Fixes #14902
Closes gh-1524
2014-03-20 23:32:40 -04:00
Michał Gołębiowski
ad032d3c7d Event: Fix isDefaultPrevented for bubbled events in Android 2.3
Fixes #14897
Closes gh-1545
2014-03-20 23:16:30 -04:00
Richard Gibson
890d441aa5 Effects: Don't overwrite display:none when .hide()ing hidden elements
Fixes #14848
Closes gh-1548
2014-03-20 22:54:38 -04:00
Oleg Gaidarenko
5a8f769332 CSS: jQuery#hide should always save display value
Fixes #14750
Closes gh-1509
2014-03-20 22:37:05 -04:00
Jonathan Sampson
85af4e6412 Manipulation: Change support test to be WWA-friendly
Setting the innerHTML property in an unsafe manner raises issues in
Windows Web Applications. Strings being passed into innerHTML cannot
include the name attribute.

Closes gh-1537
2014-03-20 16:54:37 -04:00
John Hoven
541e7349b6 Attributes: Trim whitespace from option text when returned as a value
Fixes #14858
Ref #14686
Closes gh-1531
(cherry picked from commit 9ec429cf62)

Conflicts:
	src/attributes/val.js
2014-03-20 15:47:35 -04:00
Rodrigo Rosenfeld Rosas
e547a2775f CSS: window.getDefaultComputedStyle may return null
Fixes #14736
Closes gh-1501
(cherry picked from commit 51910ba8a5aff4cd1a811f1fdb76a6c62a09a666)
2014-03-20 14:42:44 -04:00
Benjy Cui
ca0086b55a Core: Fix comments for .get() method
Closes gh-1547
2014-03-20 12:50:52 -04:00
Dave Methvin
9ad6e7e93e Tests: Remove obsolete speed directory
Closes gh-1551
2014-03-20 12:38:00 -04:00
Jörn Zaefferer
d3c1ce9c24 Build: Add commitplease for commit msg checking
Closes gh-1523
2014-03-20 12:33:07 -04:00
Jörn Zaefferer
3ffd95bdb1 Package: Sort devDependencies 2014-03-20 12:33:06 -04:00
Michał Gołębiowski
a10aa3aac5 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.
2014-03-19 02:29:04 +01:00
Michał Gołębiowski
55c196e837 Event: Simplify the logic behind blacklisting Android 2.3 on one test 2014-03-18 20:59:33 +01:00
Michał Gołębiowski
14e0a632a0 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 20:55:50 +01:00
Michał Gołębiowski
b5074944b0 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.
2014-03-18 16:50:04 +01:00
Michał Gołębiowski
c1e9bb9e61 Build: Change the timeout for the weekly job from 4h to 1h 2014-03-18 11:55:06 +01:00
Michał Gołębiowski
551578eb36 Core: Blacklist the ready test on async-loaded jQuery in iOS7
Fixes #14882
2014-03-17 18:13:00 +01:00
Dave Methvin
472f70a9df Event: Unit test for #14741 fix
Fixes #14741
Closes gh-1503
2014-03-16 10:54:12 -04:00
louisremi
e06f428f6e Event: Treat Pointer events like mouse events, #14741
Ref #14741
Ref gh-1503
2014-03-16 10:49:57 -04:00
Dave Methvin
44247b1cf2 Readme: Fix subsection titles and grammar, thanks @robgraeber
Fixes gh-1540
2014-03-16 10:19:51 -04:00
Michał Gołębiowski
aa951a3184 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.
2014-03-16 04:14:03 +01:00
Roman Rei_
c29e9c4db1 CSS: Add flex-grow and flex-shrink to cssNumber
Fixes #14888
Closes gh-1536
2014-03-13 23:12:40 -04:00
Leonardo Balter
594687abdc Readme: updating QUnit information
updates QUnit reference site and method naming.

Closes gh-1493
2014-03-13 22:36:39 -04:00
S. Andrew Sheppard
2585ee5880 AMD: Note on AMD best practices
Fixes #14687
Closes gh-1478
2014-03-12 23:22:31 -04:00
Michał Gołębiowski
854d242db4 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.
2014-03-13 03:26:42 +01:00
Dave Methvin
6a89db86ed Event: Call underlying stopImmediatePropagation when present
Fixes #13997
2014-03-12 21:11:26 -04:00
Michał Gołębiowski
26ce217862 Support: Make the support matrix for iOS 6 match iOS 7 as well 2014-03-13 01:46:18 +01:00
Jörn Zaefferer
22c515c671 Build: Fix testswarm task, use API correctly 2014-03-12 11:08:16 +01:00
Michał Gołębiowski
a81dbc4ed8 Build: Allow to specify timeout in the testswarm task 2014-03-11 21:12:39 +01:00
Michał Gołębiowski
14872941f9 Build: Make it possible to change browserSets in the testswarm task 2014-03-10 20:37:11 +01:00
Michał Gołębiowski
0c12cb3910 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).
2014-03-10 19:53:50 +01:00
Michał Gołębiowski
2c180ef938 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.

Fixes #14836
Closes gh-1532
2014-03-10 19:14:44 +01:00
Michał Gołębiowski
b19d4d3450 Ajax, Effects: Disable Chrome 31 workarounds 2014-03-10 14:57:40 +01:00
Michał Gołębiowski
a96d5bed58 Manipulation: don't use Object.keys for consistency
Fixes #14659
2014-03-09 23:31:59 +01:00
Timmy Willison
984f77a930 Build: Fix AMD option for custom builds
Fixes #14859
2014-03-07 09:55:26 -05:00
Dave Methvin
2df1aad6a1 Core: Do not run window.onready when ready
Fixes #14802
2014-03-04 21:00:04 -05:00
Dave Methvin
f4b37d8982 CSS: Return values should be numbers
Fixes #14792
2014-03-04 20:58:31 -05:00
Dave Methvin
06adf7c95d Event: Allow triggerHandler(beforeunload)
Fixes #14791
2014-03-04 20:49:57 -05:00
Dave Methvin
3a68c114e3 Ajax: .load() should trim its selector
Fixes #14773
2014-03-04 20:43:14 -05:00
Dave Methvin
10efa1f5b4 Core: Arrays like [42] should fail .isNumeric()
Fixes #14179
2014-03-04 20:40:23 -05:00
Michał Gołębiowski
279913c71b Core: Remove native String#trim usage to save size
Fixes #14794
2014-03-04 23:08:35 +01:00
Timmy Willison
a35996141e Bower: stop ignoring yourself, bower
Ref #14798
Ref gh-1516
Ref gh-1338
2014-02-19 17:57:34 -05:00
Timmy Willison
027d470b57 Bower: add main property, move Sizzle to devDependencies, add license property
Fixes #14798
Close gh-1516
Ref gh-1338
2014-02-19 17:25:00 -05:00
Richard Gibson
954966e08d Support: Reduce size
Ref a7ea12a9a7
2014-02-14 07:05:47 -08:00
Richard Gibson
a7ea12a9a7 Support: Skip style-based tests when element.style is undefined
Fixes #14785
Ref #13754
Ref badcd1b6f3
2014-02-14 06:22:44 -08:00
Michał Gołębiowski
70ac4485f3 Effects: Don't check fill-opacity in Android 2.3, it's not supported 2014-02-13 16:12:06 -08:00
Michał Gołębiowski
6d2ab64df7 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.
2014-02-13 16:00:30 -08:00
Michał Gołębiowski
de75b3cc62 Css: Don't check fill-opacity in Android 2.3, it's not supported 2014-02-13 15:58:13 -08:00
Michał Gołębiowski
eda283d0e4 Core: Fix trim in Android<4.1 2014-02-13 14:48:58 -08:00
Rick Waldron
d792e40fbc Tests: remove all the empty line whitespace 2014-02-11 10:59:14 -08:00