aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Core: Update tested jsdom, drop obsolete workaroundsMichał Gołębiowski2015-03-251-2/+1
| | | | | | | | | | | The latest version supporting Node.js is 3.1.2; some workarounds are not needed for this version. For example, in jsdom 3.1.2 a document created via document.implementation.createHTMLDocument( "" ) has a body. (partially cherry-picked from 95c0a10e15477a5031185e2d656d896905562afa) Fixes gh-2153 Closes gh-2154
* 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. (cherry-picked from 62ae2d0fb7ac011bf2ad778f8158de408e785927) Fixes gh-2147
* Deferred: Backwards-compatible standards interoperabilityRichard Gibson2015-03-201-82/+418
| | | | | | | Fixes gh-1722 Closes gh-1996 (cherry picked from commit 555a50d340706e3e1e0de09231050493d0ad841e)
* Tests: Expand CSS relative adjustment tolerance for IERichard Gibson2015-03-161-2/+2
| | | | | | | Ref 48be675200e817f40fa8ec25da1be2ab0839d28d Ref 4a8000b51a9854e21361e435e4c9b9cbd8ac458a (cherry picked from commit e22ef5d9017c44cad97ae541fefce76cc455edcb)
* Tests: Fix CSS relative adjustment test for round-down browsersRichard Gibson2015-03-161-7/+19
| | | | | | | Ref 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17 Ref 6fb2cefc602cf8bd8b85373f480e978bb8978e37 (cherry picked from commit 48be675200e817f40fa8ec25da1be2ab0839d28d)
* 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 Conflicts: test/unit/attributes.js
* CSS: Support relative adjustment in any applicable unitMr212015-03-091-0/+52
| | | | | | | | | | | Fixes gh-1711 Closes gh-2011 (cherry picked from commit 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17) Conflicts: src/css.js src/effects.js
* Ajax: remove deprecated extensions from ajax promiseOleg Gaidarenko2015-02-171-6/+6
| | | | | | (cherry-picked from 9d1b989f20b550af3590691723b0620f6914626e) 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 (cherry-picked from 8b6aeae52d4c53a53468678ccd45e9dda9665004) Ref db31206d36a3a75c011310e282e0fdc9a0f3d99d
* Ajax: make jQuery#load "type" field explicitOleg Gaidarenko2015-02-151-1/+12
| | | | | | | | | * Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264 Ref 4ef120d3f2578fe3d52eb6c0d0641df945991391
* Core: simplify "each" stylesheet iteration testOleg Gaidarenko2015-02-151-1/+1
| | | | | (cherry-picked from fcb6c4d1d6552c7e54df16a36b171858bdf0553f) Closes gh-2089
* Offset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0Oleg Gaidarenko2015-02-111-5/+8
| | | | | | | | | | | | | Android 2.3 resize the iframe by its content meaning it's not possible to scroll the iframe only its parent element. It seems (not confirmed) in android 4.0 it's not possible to scroll iframes from the code (cherry-picked from 0c466438d1feaec302fec13eafeeb063bbfd6a19) Fixes gh-1981 Ref 4ab8603669e2bbc8644e402927c33ce422d7aaa3
* Manipulation: don't auto-insert tbodyOleg Gaidarenko2015-02-111-0/+75
| | | | | | Fixes gh-1835 Closes gh-2021 Ref e984d1c79cc476062818e03df04a366baa13d197
* Manipulation: simplify html wrappersOleg Gaidarenko2015-02-111-1/+12
| | | | | | | | | | Take advantage of html serialization for html wrappers - saves 26 bytes Plus add additional test for "col" element (cherry-picked from 0ea342a6a6dce793c1b0f14f051c2573f40f4e44) Closes gh-2031 Fixes gh-2002
* CSS: Add a support test for the hack for .css('marginRight') etc.Michał Gołębiowski2015-02-051-0/+11
| | | | | | | | | | | | | This hack turns out to be needed by Android 4.0-4.3. Add a support test so that the hack is invoked only where needed. Refs 3747cc642a48d2a5a8ac83069f66bddd33bea301 Refs gh-1815 Refs gh-1820 Refs gh-1842 Closes gh-2061
* Data: Use a PDF object instead of a Java applet for acceptData testingMichał Gołębiowski2015-01-291-4/+4
| | | | | | | | | This should fix "Java out of date" errors on BrowserStack. (cherry-picked from 087d280ad1160de53a45ea96184911194f7b46e0) Fixes gh-1938 Closes gh-2028
* Ajax: Run the PATCH test only in IE8 on TestSwarmMichał Gołębiowski2015-01-291-10/+13
| | | | | Fixes gh-1994 Closes gh-2026
* Core: Return empty array instead of null for parseHTML("")Timo Tijhof2015-01-191-4/+9
| | | | | | | | Fixes gh-1997 Close gh-1998 Conflicts: test/unit/core.js
* Manipulation: increase delay of data-URI testOleg Gaidarenko2015-01-151-1/+1
| | | | | | For Safar7/Opera - shot in the dark, can't reproduce this locally Ref gh-1993
* Event: HTML5 drop events inherit from MouseEventDave Methvin2015-01-141-7/+12
| | | | | | | | | Fixes gh-2009 Ref gh-1925 (cherry picked from commit d7e5fcee519e5f3e840beef9e67a536e75133df9) Conflicts: test/unit/event.js
* Manipulation: blacklist IE8 from running tests for tag-hyphenated elemsOleg Gaidarenko2015-01-141-0/+7
| | | | | | | IE8 supports only HTML elements it knows about, but if user uses custom elements a.k.a. tag-hyphenated, we assume it doesn't try to use them with IE8 Ref 5d522f5c740f1f919a630a5f6ec3d40fad840ff7
* Manipulation: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-0/+17
| | | | | Ref #1987 Ref 85ffc6d973865a031ded170934e0acfc2e97cb11
* Core: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-0/+13
| | | | | Ref #1987 Ref 534f13025aeb59a7d5893ce62efafa0b066a4934
* Core: Remove deprecated context and selector propertiesDave Methvin2015-01-112-47/+4
| | | | | | Fixes gh-1908 Closes gh-2000 (cherry picked from commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8)
* Ajax: $.post and $.get can now take an options objectGeorge Mauer2015-01-111-0/+20
| | | | | | Fixes gh-1986 Closes gh-1995 (cherry picked from commit 89ce0af2cf7f001647e74fc1de92ce94a51fd5c2)
* Callbacks: Don't abort execution on .lock()Richard Gibson2015-01-101-4/+12
| | | | | Fixes gh-1990 Closes gh-1991
* Callbacks: No object starts out lockedRichard Gibson2015-01-101-6/+9
| | | | Fixes gh-1989
* Ajax: Fix cross-domain detection test for non-default portVictor Homyakov2015-01-061-1/+1
| | | | Closes gh-1954
* Event: Normalize mouse event properties in drag eventsAditya Raghavan2015-01-051-0/+19
| | | | | | | | DragEvent is a superset of MouseEvent, so we want to fix up mouse properties like pageX and pageY. Fixes gh-1925 (cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)
* Deferred: Fix $.when with resolved deferred and progress callbacksNicolas HENRY2014-12-251-0/+22
| | | | Ref ab20d9d24f0a95df382c02e9ef3dcc4adb86e4f1
* Offset: fix iframe scrollTop/Left test for IE8 and iPhoneOleg Gaidarenko2014-12-251-8/+22
| | | | | | | | | | | | | | * IE8 need a doctype, otherwise IE will scroll it, but will still show old values. It wasn't noticable before, since IE8 will update values if in the dev tools you swtich to "Quirks mode" and then back again, then this tab will always show the correct values even if you update it * iPhone resize the iframe by its content regardless of the width, height values, meaning it's not possible to scroll the iframe only its parent element Ref ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8
* Offset: fix iframe scrollTop/Left test for IE8Oleg Gaidarenko2014-12-241-0/+1
| | | | Ref ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8
* CSS: simplify hack of css getter for the computed valuesOleg Gaidarenko2014-12-241-0/+11
| | | | Ref gh-1906
* Manipulation: make wrapAll funarg execute only onceOleg Gaidarenko2014-12-241-0/+60
| | | | Ref 359b03cac74d7336676a6992f14b7ccab9b28659
* CSS: Add unit tests for negative margins and positioningAditya Raghavan2014-12-241-0/+15
| | | | Ref 1b932bb7867924b98529537f8ccd35db979ae22a
* Event: add test for window scrollTop/Left logic in iframesAditya Raghavan2014-12-241-0/+15
| | | | Ref d21edb599d8f5f80a3f3ecba5b62311b9cd1a3e6
* README: various text fixesOleg Gaidarenko2014-12-151-1/+1
| | | | | | Thank you @essamjoubori, @bcbcb, @namlede Ref 31b63fc23674ede657f019783ad7b942bb83f9c3
* Support: Correct iOS 8 support test results, re-arrange entriesMichał Gołębiowski2014-12-131-5/+36
|
* Ajax: use anchor tag for parsing urlsBen Toews2014-12-111-1/+5
| | | | | | | | | Fixes gh-1875 Closes gh-1880 (cherry picked from commit 5a75278e4c5359e07303fc4d8e78a1cf94f6ad65) Conflicts: src/ajax.js
* Data: use removeAttribute in cleanData to bypass Chrome bugJason Bedard2014-12-102-10/+12
| | | | | | | Related: https://code.google.com/p/chromium/issues/detail?id=378607 Fixes gh-1664
* Build: fix tests in AMD modeTimmy Willison2014-12-101-13/+16
|
* Core: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left outTimmy Willison2014-12-102-1/+56
| | | | Close gh-1506
* Event: Empty namespaces should be uneventfully ignoredDave Methvin2014-12-091-0/+11
| | | | | | | Thanks @hamishdickson for the report! Closes gh-1769 (cherry picked from commit 8653068dd6b8a515f5c1d8a0fda4479e9534103e)
* Css: Remove non-functional unit test for negative marginDave Methvin2014-12-091-4/+1
| | | | | | | | Thanks @MatthewMueller Closes gh-1474 Ref gh-1918 (cherry picked from commit 30b3b33251abc38386b787c64494265177302b86)
* Support: Re-organize browser order, add Safari 8Michał Gołębiowski2014-12-091-67/+9
| | | | | | | | | | Most browsers were put in order newest to oldest, Android was treated differently; this has been fixed. Also, browsers that share test results between different versions were grouped together. (refs 43faf6d1f922ba44a84c93f4ff2461d208b2bf48)
* Attributes: Simplify the option val hook; backport a test from masterMichał Gołębiowski2014-12-081-0/+5
| | | | | | | | | | | | | The hook is still defined; not using it could cause issues in IE<11. Backport the test from the master branch. Also, IE10 no longer throws when value not set but it still doesn't trim the value. IE11 has all those issues fixed; support comments are updated. (cherry-picked from f6302b0b53d61dfe1adbfaf6612be5cbced5bbc1) Fixes gh-1902 Closes gh-1901
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-12-0812-535/+146
| | | | | | | | | | That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Fixes gh-1836 Fixes gh-1701 Refs gh-1815 Refs gh-1820
* Manipulation: improve test for data-URIOleg Gaidarenko2014-12-081-11/+24
| | | | | Some environments do not support data-uri in "src" attribute of script element. Mitigate it with equality assertion