Commit Graph

6079 Commits

Author SHA1 Message Date
Timmy Willison
5f5aee3b58 Release: use chalk instead of colors for terminal colors 2015-11-12 13:23:53 -05:00
Timmy Willison
88046440da Selector: pass jQuery unit tests with selector-native
- Ignore certain tests that obviously are not supported
- Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions

Fixes gh-1742
Fixes gh-2048
Close gh-2703
2015-11-11 10:10:10 -05:00
Timmy Willison
ab06be561e Effects: fix loading showHide in AMD mode 2015-11-10 12:44:35 -05:00
Dave Methvin
2937019060 Offset: offsetLeft/Top on empty set returns undefined
Fixes gh-2319
Closes gh-2702
Ref gh-2701
2015-11-10 10:01:45 -05:00
Dave Methvin
97d79ecf6b Dimensions: Empty sets should return undefined
Ref gh-2319
Closes gh-2701
2015-11-10 09:59:48 -05:00
Timmy Willison
75b3cdd509 Dimensions: properly manipulate non-px values
Fixes gh-1712
Close gh-2695
2015-11-09 17:38:00 -05:00
Timmy Willison
22449eb968 Manipulation: execute scripts from iframe in the iframe's context
Fixes gh-1757
Close gh-2696
2015-11-09 14:14:30 -05:00
Dave Methvin
67fa2eab6e Event: Move VML test out of event alias test
Ref gh-2693
2015-11-07 15:51:03 -05:00
Dave Methvin
7d44d7f9e7 Dimensions: outerWidth/Height include scrollbar
Fixes gh-1729
Closes gh-2694
2015-11-07 15:13:31 -05:00
Dave Methvin
2cb8ebadcb Event: Make event aliases optional in unit tests 2015-11-06 10:00:46 -05:00
Dave Methvin
c9935b6d2d Event: Separate trigger/simulate into its own module
Fixes gh-1864
Closes gh-2692

This also pulls the focusin/out special event into its own module, since that
depends on simulate(). NB: The ajax module triggers events pretty heavily.
2015-11-06 09:36:48 -05:00
Timmy Willison
1da144867f Tests: make editorconfig match css style 2015-11-05 18:13:00 -05:00
Timmy Willison
79fc806e85 Attributes: return empty array for select-multiple with no values
Fixes gh-2562
Close gh-2689
2015-11-05 17:41:49 -05:00
Dave Methvin
e05c63e17a Event: Add basic unit tests for event aliases
Fixes gh-2302
Closes gh-2687

At the moment it's not possible to run the full event unit tests without aliases
so this was just tested with a custom build by running this one test.
2015-11-05 14:14:36 -05:00
Timmy Willison
493b0fd7f5 Event: Ensure delegation doesn't error on comment nodes
Fixes gh-2055
Close gh-2659
2015-11-04 18:09:33 -05:00
Dave Methvin
769446c697 Ajax: Don't throw exceptions on binary data response
Fixes gh-2498
Closes gh-2682

The added unit test shows how this could be used to support an
ArrayBuffer return, but $.ajax does not support it natively.
The goal with this change was to avoid the exception.
2015-11-04 12:47:16 -05:00
Timmy Willison
76e9a95dbe Ajax: trigger error callback on native abort
- IE9 does not have onabort. Use onreadystatechange instead.

Fixes gh-2079
Close gh-2684
2015-11-03 12:34:04 -05:00
Dave Methvin
70605c8e56 Ajax: Only form-encode requests with a body
Fixes #2658
Closes #2671
2015-11-02 13:14:46 -05:00
Michał Gołębiowski
015d16c02d Tests: Make regexes for iOS devices more rigid 2015-10-30 19:17:07 +01:00
Michał Gołębiowski
47e2aa6593 Tests: Remove Safari 7.0 & iOS 6 support tests results 2015-10-30 19:17:01 +01:00
Michał Gołębiowski
1c2b5362ef Tests: Add iOS 9 support tests results 2015-10-30 19:13:56 +01:00
Michał Gołębiowski
cbe5b2b79a Build: Test on Node 5 2015-10-30 01:34:33 +01:00
Timmy Willison
7bb39f3511 Release: remove antiquated release-notes.js 2015-10-29 15:21:46 -04:00
Timmy Willison
dabd5ba96c Core: use interactive to evaluate dom ready, barring IE9-10
Fixes gh-2100
2015-10-29 10:21:50 -04:00
Timmy Willison
87bd130289 Attributes: remove flakey test for selected attribute
- The change is already covered by the "checked" test.
  Since this test is redundant, just drop it.
2015-10-26 11:38:04 -04:00
Richard Gibson
f931786018 Tests: Post-Summit cleanup
Ref 67d7a2eefe
Ref c752a5030b
2015-10-25 15:25:56 -04:00
Richard Gibson
5b554cf04e Tests: Use standard external domain name
Ref 01c360f963

(cherry picked from commit 3680689165)
2015-10-23 11:56:29 -04:00
Timmy Willison
47ccf3daad Attributes: do not set properties to false when removing booleans
Fixes gh-1759
2015-10-21 16:23:44 -04:00
Timmy Willison
15ac848868 Core: make isNumeric limited to strings and numbers
Fixes gh-2662
2015-10-21 16:22:22 -04:00
Dave Methvin
1144e754a6 Build: Add "deprecated" to the Testswarm module list
Ref #1740

Yeah.
2015-10-20 12:30:01 -04:00
Michał Gołębiowski
e99a3ac706 Tests: Add Safari 9 support tests results 2015-10-18 17:26:56 -04:00
Richard Gibson
487d5ca913 CSS: Correct misrepresentation of "auto" horizontal margins as 0
Fixes gh-2237
Closes gh-2276

(cherry picked from commit 214e1634ab)

Conflicts:
	src/css.js
	src/css/support.js
	test/unit/support.js
2015-10-18 16:58:38 -04:00
Joelle Fleurantin
c752a5030b Attributes: fix tabIndex on <img> in IE11
Fixes gh-2647
Closes gh-2664
2015-10-18 16:36:52 -04:00
Timmy Willison
3689963909 CSS: use isFinite in place of redundant isNumeric 2015-10-18 15:12:42 -04:00
Liza Ramo
9090d98439 Core: add unit test for isPlainObject(Symbol)
Fixes #2645
Closes #2661
2015-10-18 15:12:13 -04:00
Timmy Willison
32cfc38a9c CSS: fix AMD mode for the new showHide module 2015-10-18 15:10:11 -04:00
Joelle Fleurantin
9f9e204bba Offset: allow small differences in offset.top
Fixes gh-2590
2015-10-18 14:01:35 -04:00
Julian Alexander Murillo
c577928d45 Tests: Change quotes according to style guidelines
Close gh-2339
2015-10-18 13:17:23 -04:00
Dave Methvin
c82a6685bb Event: Fix delegated radio events when arrow keys are used
Fixes gh-2343, gh-2410
Close gh-2617
2015-10-18 13:06:37 -04:00
Thomas Tortorini
5db1e05309 Attributes: removeClass() -> attr("class", "")
- Classes simpliciation

Close gh-2465
2015-10-18 12:46:34 -04:00
Dave Methvin
4bf1a09522 Attributes: Use simpler boolean check vs a function call
Ref gh-2491
2015-10-18 12:39:38 -04:00
Dave Methvin
53f798cf4d Attributes: Remove undocumented .toggleClass( boolean ) signature
Fixes gh-2491
Close gh-2618
2015-10-18 12:38:59 -04:00
Dave Methvin
67d7a2eefe CSS: Make show/hide/toggle methods a module
Unit test changes some uses of .show() and .hide() to .css( "display", ... ),
there was already an implicit assumption in several of the existing tests.

Fixes gh-2193
Close gh-2648
2015-10-18 12:30:00 -04:00
Timmy Willison
e271f665dd Deprecated: fix amd mode for the deprecated module 2015-10-18 11:02:16 -04:00
Richard Gibson
0fb84fa8cc Tests: Keep test iframes around for assertions
Ref 44f8239d3f
Ref gh-2644
Ref gh-2390
2015-10-17 17:41:50 -04:00
Liza Ramo
0703fd52ef Core: make isNumeric test work on Symbol
Ref #2645
Closes #2657
2015-10-17 16:50:05 -04:00
Oleg Gaidarenko
44f8239d3f Build: update Sizzle to 2.2.1
Ref #2644 - `selector` module in Edge - Waiting for Sizzle update
Fixes #2390
2015-10-17 14:18:52 -04:00
Aurelio De Rosa
67b76f5986 Tests: Account for array-like objects in jQuery.grep
Closes gh-2605
2015-10-13 03:48:14 +03:00
Oleg Gaidarenko
625bd303d9 Tests: fix code style issues
Follow-up for 8a734344f2
2015-10-13 01:22:57 +03:00
Christian Grete
8a734344f2 Core: Support Symbol wrapper objects in jQuery.type
In ECMAScript 2015 (ES6), the native typeof operator returns "symbol"
for Symbol primitives. As it is possible to wrap symbols using the
Object constructor, symbols can be objects as well as any other
primitive type in JavaScript and should be determined by jQuery.type.

Closes gh-2627
2015-10-13 01:18:20 +03:00