aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-112-210/+226
| | | | | | 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
* 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-201-82/+418
| | | | | 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
* 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
* 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-151-1/+12
| | | | | | | | * Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264
* Core: simplify "each" stylesheet iteration testOleg Gaidarenko2015-02-151-1/+1
| | | | 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 Fixes gh-1981 Ref 4ab8603669e2bbc8644e402927c33ce422d7aaa3
* Manipulation: don't auto-insert tbodyOleg Gaidarenko2015-02-111-0/+75
| | | | | Fixes gh-1835 Closes gh-2021
* Manipulation: simplify html wrappersOleg Gaidarenko2015-02-101-0/+12
| | | | | | | | Take advantage of html serialization for html wrappers - saves 26 bytes Plus add additional test for "col" element Closes gh-2031 Fixes gh-2002
* CSS: Restore the hack to get pixels for .css('width') etc.Michał Gołębiowski2015-02-041-0/+10
| | | | | | | | | | 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 gh-1815 Refs gh-1820 Closes gh-1842
* 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. Fixes gh-1938 Closes gh-2028
* Manipulation: increase delay of data-URI testOleg Gaidarenko2015-01-261-1/+1
| | | | | | | For Safar7/Opera - shot in the dark, can't reproduce this locally Fixes gh-1993 (cherry-picked from 30ace26c42954497e44f19e8c7fa100de45c489e)
* Core: Return empty array instead of null for parseHTML("")Timo Tijhof2015-01-191-4/+9
| | | | | Fixes gh-1997 Close gh-1998
* Event: HTML5 drop events inherit from MouseEventDave Methvin2015-01-141-6/+13
| | | | | Fixes gh-2009 Ref gh-1925
* Manipulation: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-0/+17
| | | | | Fixes #1987 Closes gh-1988
* Core: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-0/+13
| | | | Ref #1987
* Core: Remove deprecated context and selector propertiesDave Methvin2015-01-112-47/+4
| | | | | Fixes gh-1908 Closes gh-2000
* Ajax: $.post and $.get can now take an options objectGeorge Mauer2015-01-111-0/+20
| | | | | Fixes gh-1986 Closes gh-1995
* Callbacks: Don't abort execution on .lock()Richard Gibson2015-01-101-4/+12
| | | | | | | Fixes gh-1990 Closes gh-1991 (cherry picked from commit fc7477f4927100f23f83c22b5142a42d1eac8502)
* Callbacks: No object starts out lockedRichard Gibson2015-01-101-6/+9
| | | | | | Fixes gh-1989 (cherry picked from commit f5a8c649b54e8b7fde6253bd56972347f9bbe012)
* 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/+14
| | | | | | | DragEvent is a superset of MouseEvent, so we want to fix up mouse properties like pageX and pageY. Fixes gh-1925