aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Core: Make jQuery objects iterableMichał Gołębiowski2015-06-135-0/+67
| | | | | | | | | | Make iterating over jQuery objects possible using ES 2015 for-of: for ( node of $( "<div id=narwhal>" ) ) { console.log( node.id ); // "narwhal" } Fixes gh-1693
* Build: Refactor Node smoke testsMichał Gołębiowski2015-06-136-38/+34
| | | | Utilize the assert module, avoid inline JSHint comments.
* Build: Update grunt-contrib-jshintMichał Gołębiowski2015-06-131-0/+1
|
* CSS: Don't cache unrecognized CSS property namesMichał Gołębiowski2015-06-011-0/+80
| | | | | | | | | | | | | | | | | This prevents jQuery from caching a prefixed property name if provided directly by the user, e.g. the following code: elem.css( "msTransform", "translate(5px, 2px)" ); should not prevent one from from later setting the transition directly: elem.css( "transform", "translate(5px, 2px)" ); on a browser not understanding the unprefixed version which is the case for Safari 8 & transform. Fixes gh-2015 Closes gh-2298
* Event: remove outdated originalEvent hackOleg Gaidarenko2015-05-291-16/+49
| | | | | Closes gh-2335 Ref 7475d5debeb7c53158921ed40f6c2fdb25a2cc86
* Event: Remove fake originalEvent from jQuery.Event.simulateGabriel Schulhof2015-05-292-0/+59
| | | | | Fixes gh-2300 Closes gh-2303
* Event: remove deprecated event aliasesOleg Gaidarenko2015-05-191-8/+1
| | | | | | Fixes gh-2286 Closes gh-2287 Ref trac-11733
* Event: provide verbose comment for focus(in | out) & rename support propOleg Gaidarenko2015-05-191-10/+10
| | | | Closes gh-2312
* Offset: account for scroll when calculating positionRichard McDaniel2015-05-121-1/+12
| | | | | Fixes gh-1708 Close gh-1714
* Core: remove custom ready eventTimmy Willison2015-05-121-33/+30
| | | | | Fixes gh-2264 Close gh-2265
* Attributes: add SVG class manipulationTimmy Willison2015-05-121-0/+28
| | | | | | | | | - Note: support for SVG is limited in jQuery, but this is one area where the cost vs benefit ratio was acceptable. Fixes gh-2199 Close gh-2268
* Data: remove the expando when there's no more dataTimmy Willison2015-05-122-2/+40
| | | | | Fixes gh-1760 Close gh-2271
* Tests: fix tests in accordance with new :visible behaviorTimmy Willison2015-05-122-5/+7
|
* CSS: fix :visible/:hidden selectors for inline element w/ contentTimmy Willison2015-05-121-7/+13
| | | | | | | | | | | - Reverts behavior from 10399dd, which we never released. BR and inline elements are considered visible. - The possibility of dropping .offsetWidth and .offsetHeight was debunked by this perf: http://jsperf.com/visible-hidden-and-getclientrects Fixes gh-2227 Close gh-2281
* CSS: Ignore the CSS cascade in show()/hide()/etc.Richard Gibson2015-05-113-220/+228
| | | | | | Fixes gh-1767 Fixes gh-2071 Closes gh-2180
* Effects: add tests for jQuery.easing._default in Animation and TweenTimmy Willison2015-05-051-25/+80
| | | | Ref gh-2219
* Effects: set default easing using jQuery.easing._defaultTimmy Willison2015-05-051-15/+35
| | | | | Fixes gh-2219 Close gh-2218
* Offset: allow offset setter to throw for disconnected elementsTimmy Willison2015-05-051-9/+1
| | | | Fixes gh-2114
* Offset: remove ownerDocument check in offset getterTimmy Willison2015-05-051-10/+1
| | | | Fixes gh-2115
* Offset: Fix .offset() to correctly work with ShadowDOMArthur Stolyar2015-05-051-5/+23
| | | | | Fixes gh-1784 Close gh-2043
* Selector: add test for jQuery.unique() aliasTimmy Willison2015-05-051-1/+3
|
* Selector: add jQuery.uniqueSort; deprecate jQuery.uniqueTimmy Willison2015-05-042-4/+4
| | | | Fixes gh-2228
* Data: camelCasing should not ignore caseTimmy Willison2015-05-041-0/+10
| | | | Fixes gh-2070
* Data: always camelCase keys in .data()Timmy Willison2015-05-041-5/+31
| | | | | | | - This effectively implements our "Embrace HTML5" option - Related: http://goo.gl/GcQAtn Fixes gh-2257
* Data: do not include digits when camelCasingTimmy Willison2015-05-032-5/+6
| | | | Fixes gh-1751
* Event: remove guard for falsy handler argument of jQuery#on methodOleg Gaidarenko2015-05-031-14/+0
| | | | | | | | Since we don't have this in off method and its a common perception that this is a rudiment code Ref gh-2248 Closes gh-2249
* Manipulation: Make an HTML interception pointRichard Gibson2015-04-302-48/+79
| | | | | Fixes gh-1747 Closes gh-2203
* Manipulation: Detect sneaky no-content replaceWith inputRichard Gibson2015-04-301-4/+20
| | | | | | | Fixes gh-2204 Ref 642e9a45579cfa90861b8ea71a95dd077775caaf Closes gh-1752 Closes gh-2206
* Core: add workaround for iOS JIT error in isArrayLikeTimmy Willison2015-04-291-0/+21
| | | | Fixes gh-2145
* Core: Test all factory use cases from intro.jsMichał Gołębiowski2015-04-276-5/+88
| | | | | | | | | | | | | | | | | There is a lot of logic in intro.js; now we test four cases: 1. (implicitly, via QUnit tests) A real browser with window being the global 2. Browserify where there are both global & window variables. 3. Node with jsdom where window is passed manually to the jQuery factory. 4. Pure Node with incorrect window passed; jQuery should throw then. Previously the second & fourth case was not tested and the third was tested in a way that interfered with the main test environment. We now also test if in the Browserify case we're not creating a jQuery global by default. Fixes gh-2181 Closes gh-2234
* Tests: Increase QUnit timeoutMichał Gołębiowski2015-04-271-1/+1
| | | | | | | | | | | | Android 2.3 is very slow & times out a lot in async tests, they have to be restarted multiple times to settle. Long test execution is not a huge problem as Android 2.3 is tested only periodically during the night, unstable tests are a bigger problem. This might mitigate that. In a regular scenario almost all tests should pass so increasing the timeout for all browsers shouldn't have a huge impact on overall test time. Closes gh-2232
* Deferred: Always handle progress callbacks before done/failRichard Gibson2015-04-221-0/+48
| | | | | | Fixes gh-2013 Fixes gh-2010 Closes gh-2210
* Attributes: revert returning null for non-existant attributesTimmy Willison2015-03-301-47/+38
| | | | Ref https://github.com/jquery/jquery/issues/2118
* Wrap: Support .unwrap( selector) for selective unwrappingDave Methvin2015-03-301-0/+25
| | | | | Fixes gh-1744 Closes gh-2003
* Data: Drop the tests relying on appletsMichał Gołębiowski2015-03-251-6/+3
| | | | | | | | | | BrowserStack regularly has outdated Java in their IE instances causing our data tests to hang & give no output. Skip the tests that create applets, applets are treated in the same way as an embed elements which we're already testing. Fixes gh-1938 Closes gh-2166
* Offset: Round offset value for the sake of floating errorsMichał Gołębiowski2015-03-231-2/+5
| | | | | | | | IE10+ may return not exactly the offset.top value set in an offset callback if parent has fractional top offset itself. Checking for being close to the desired result fixes the test error. Fixes gh-2147
* Deferred: Backwards-compatible standards interoperabilityRichard Gibson2015-03-203-82/+442
| | | | | Fixes gh-1722 Closes gh-1996
* Tests: Expand CSS relative adjustment tolerance for IERichard Gibson2015-03-161-2/+2
| | | | Ref 48be675200e817f40fa8ec25da1be2ab0839d28d
* Tests: Fix CSS relative adjustment test for round-down browsersRichard Gibson2015-03-161-7/+19
| | | | Ref 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17
* Attributes: revert returning null for non-elementsTimmy Willison2015-03-161-1/+1
|
* Attributes: fix failing test for new return valueTimmy Willison2015-03-161-2/+11
|
* Attributes: return null when attribute does not existWinston Howes2015-03-161-38/+38
| | | | | Fixes gh-2118 Close gh-2129
* Data: restore explicit data removal of private data in cleanData.Rick Waldron2015-03-091-0/+17
| | | | | Fixes gh-2127 Closes gh-2132
* CSS: Support relative adjustment in any applicable unitMr212015-03-091-0/+52
| | | | | Fixes gh-1711 Closes gh-2011
* Build: remove deprecated JSHint optionsStephen Edgar2015-03-081-3/+0
| | | | | | JSHint no longer supports `onevar`, `smarttabs` or `trailing` options. Closes gh-2029
* Data: move element cache to element[expando]Rick Waldron2015-03-041-7/+2
| | | | | | | | | - avoid explicit data.discard() cleanup calls - explicitly remove the data.events property, only when private data exists - reduces code footprint Fixes gh-1734 Close gh-1428
* Tests: make top of the HTML suite compliant with style guideOleg Gaidarenko2015-02-191-7/+5
| | | | | | See http://contribute.jquery.org/style-guide/html/ Closes gh-2098
* Ajax: remove deprecated extensions from ajax promiseOleg Gaidarenko2015-02-171-6/+6
| | | | | Fixes gh-2084 Closes gh-2092
* Build: fix broken assertions caused by QUnit updateOleg Gaidarenko2015-02-152-9/+9
| | | | | | | | QUnit update broke couple traversing and manipulation tests, since new qunit added another form to the test-suite while some of jQuery selectors weren't specific Ref 2d5c5d213f09fa0205d07a2d60a36581058cc40a
* Ajax: make jQuery#load "type" field explicitOleg Gaidarenko2015-02-153-1/+13
| | | | | | | | * Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264