aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* CSS: Add an integration test for issue gh-1764Michał Gołębiowski2015-07-084-0/+172
| | | | | | Refs gh-1764 Refs gh-2401 Closes gh-2425
* CSS: Make .css("width") & .css("height") return fractional valuesMichał Gołębiowski2015-07-072-16/+69
| | | | | Fixes gh-1724 Closes gh-2439
* Deferred: add .catch handlerTimmy Willison2015-07-061-0/+36
| | | | Fixes gh-2102
* Tests: Lower the checks rounding errorCorey Frang2015-06-261-1/+1
| | | | The CSS value rounding error was causig failures on FF and IE.
* Effects: Adding unit tests for jQuery.AnimationCorey Frang2015-06-262-0/+231
| | | | Closes gh-2326
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-264-4/+305
|
* Offset: add tests for hidden elements + scrollTimmy Willison2015-06-162-1/+15
| | | | | - Also add comments to hidden/disconnected tests noting this is to ensure consistency between branches
* Offset: return zeros for disconnected/hidden elementsTimmy Willison2015-06-161-14/+8
| | | | | Fixes gh-2310 Close gh-2396
* Revert "Offset: allow offset setter to throw for disconnected elements"Timmy Willison2015-06-161-1/+9
| | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3.
* Tests: Remove test/data/ua.txtMichał Gołębiowski2015-06-161-272/+0
| | | | | | | The file was used by $.browser tests but $.browser now doesn't exists in Core and this file hasn't been updated for a few years. Fixes gh-2398
* Tests: Remove Edge version from the user agentMichał Gołębiowski2015-06-161-1/+1
| | | | | | The version will change in the future, matching by /edge\//i is enough Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded
* Tests: Add Microsoft Edge results (from Windows 10 build 10130)Michał Gołębiowski2015-06-141-4/+22
| | | | | The Microsoft Edge user agent contains "Chrome" so it needs to be checked before Chrome.
* Tests: Correct a typo in the regex matching Safari 8Michał Gołębiowski2015-06-141-1/+1
|
* 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