aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Offset: getBounding doesn't return width/height in IE8. Fixes test.Timmy Willison2015-06-161-14/+7
|
* Offset: no need to check for ownerDocumentTimmy Willison2015-06-161-4/+4
|
* Offset: revert to jQuery.contains for IE8's sake (compat only)Timmy Willison2015-06-161-7/+10
| | | | - getClientRects() throws on disconnected elements in IE8 only
* Offset: return before getBoundingClientRect to avoid error in IE8-11Timmy Willison2015-06-161-2/+9
|
* Offset: return zeros for disconnected/hidden elementsTimmy Willison2015-06-162-15/+12
| | | | | Fixes gh-2310 Close gh-2396
* Revert "Offset: allow offset setter to throw for disconnected elements"Timmy Willison2015-06-162-2/+10
| | | | 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. (cherry-picked from e831856490d2212bdbaff4cd76137b93ccf26d92) 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 (cherry-picked from 5a1217e40193c8884155ccaf415091d326ddb52a) Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded
* Tests: Add Microsoft Edge results (from Windows 10 build 10130)Michał Gołębiowski2015-06-141-4/+36
| | | | | | | The Microsoft Edge user agent contains "Chrome" so it needs to be checked before Chrome. Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded
* Tests: Correct a typo in the regex matching Safari 8Michał Gołębiowski2015-06-141-1/+1
| | | | (cherry-picked from c17543fd3c14ff86c448dbb90f9fe1223661a73b)
* Manipulation: Remove an internal argument to the remove methodMichał Gołębiowski2015-06-141-26/+30
| | | | | | | (cherry-picked from 349edbd6c53aa93d4fd207d3c0c4c24a7b0314dd) Fixes gh-2301 Closes gh-2366
* Event: Remove an internal argument to the on methodMichał Gołębiowski2015-06-141-51/+55
| | | | | | (cherry-picked from 04a29696e5b176ac66401120e433d52425222f0f) Refs gh-2301
* Core: Make jQuery objects iterableMichał Gołębiowski2015-06-133-0/+31
| | | | | | | | | | | | Make iterating over jQuery objects possible using ES 2015 for-of: for ( node of $( "<div id=narwhal>" ) ) { console.log( node.id ); // "narwhal" } (partially cherry-picked from bb026fc12c3c2ad37f47f0919e484bddcdc3d291) Fixes gh-1693
* Build: Update grunt-contrib-jshintMichał Gołębiowski2015-06-133-1/+4
| | | | | | | JSON needed to be added to JSHint globals as it's not implied by the es3 setting and yet all our supported browsers have it implemented. (cherry-picked from 1556c4661af647e355a9a5c0a814012955e231bc)
* Build: remove bower.json lint targetOleg Gaidarenko2015-06-111-4/+0
| | | | | (Cherry-picked from 285cfbfccc4c61d50ee8e0fe6e23695dc663e166) Ref 26eca143c2dd857b9e3d1c446a467fed16e903d2
* Event: correct an unfinished commentOleg Gaidarenko2015-06-051-1/+1
|
* Event: remove preDispatch hook & simplify "simulate" signatureOleg Gaidarenko2015-06-051-11/+9
| | | | Ref 3655c4e1908cc3ee49487e7e26e8cfca9fe8146d
* CSS: Don't name the anonymous swap functionMichał Gołębiowski2015-06-011-1/+1
| | | | | | | | | | IE8 doesn't like named anonymous expressions. Not naming the function expression reduces the gzipped size by 5 bytes. In ECMAScript 2015 the function will get the name inferred from the variable name (here: swap) anyway. Refs 02a9d9f94b623ea8664b7b39fd57feb7de6c6a14
* Build: Update the license attributeGilad Peleg2015-06-011-6/+1
| | | | | | | | | | | | Specifying the type and URL is deprecated: https://docs.npmjs.com/files/package.json#license http://npm1k.org/ (cherry-picked from 8e92e1ea3c533f3be82c99bbafaaf74b5bdedecc) Fixes gh-2331 Closes gh-2330
* Ajax: Remove remnants of the load event alias handlingMichał Gołębiowski2015-06-011-10/+1
| | | | | | | | (cherry-picked from 38a669735d08bcbd28cfb0d77eee82c67aa89eeb) Refs 0705be475092aede1eddae01319ec931fb9c65fc Refs gh-2287 Closes gh-2362
* CSS: Don't cache unrecognized CSS property namesMichał Gołębiowski2015-06-012-9/+87
| | | | | | | | | | | | | | | | | | | 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. (cherry-picked from d471842b3e3af83c9a1be06b5d16f75bfa96af8c) Fixes gh-2015 Closes gh-2298
* Event: improve originalEvent hackOleg Gaidarenko2015-05-292-6/+141
| | | | | Ref 6df669f0fb87cd9975a18bf6bbe3c3548afa4fee Ref gh-2336
* Docs: remove redundant instruction from the readmeOleg Gaidarenko2015-05-291-1/+1
| | | | | | | (Cherry-picked from 3c9277086742fe3a38a268ef97184be34e294655) Thanks @elas7 Fixes gh-2359
* Build: update requirejs dependency to 2.1.17Oleg Gaidarenko2015-05-191-1/+1
| | | | | Fixes gh-2290 Ref a644101ed04d0beacea864ce805e0c4f86ba1cd1
* Ajax: Fix the XHR fallback logic for IE8Michał Gołębiowski2015-05-191-5/+2
| | | | | | | | | The logic for IE8 has been incorrectly reversed: every non-local request outside of the whitelist was run via the native XHR. This commit reverses this logic and adds back a fallback to the ActiveX XHR if the native one fails even after the regex detection. Refs 61f812b7e7b88dd6e0078c241e4c88905ea51562
* Event: remove deprecated event aliasesOleg Gaidarenko2015-05-192-10/+3
| | | | | | | (Cherry-picked from 0705be475092aede1eddae01319ec931fb9c65fc) Fixes gh-2286 Closes gh-2287 Ref trac-11733
* Attributes: don't test SVG CSS-class manipulation in IE8Oleg Gaidarenko2015-05-191-0/+12
| | | | Ref 20aaed367f993f3c2aa204183d82d0d73efa114f
* Event: provide verbose info for focus(in | out) & rename support propsOleg Gaidarenko2015-05-193-46/+53
| | | | | Ref c074006a69db73a116dc04ec78844468a8cea7d3 Ref gh-2312
* Ajax: Rename Spartan to Edge in a commentMichał Gołębiowski2015-05-181-2/+2
|
* Ajax: Use the native XHR for all non-local requests in IE9+Michał Gołębiowski2015-05-183-11/+79
| | | | | | | | | IE throws an error on cross-domain PATCH requests if issued via the ActiveX interface. This commit switches the logic to use the native XHR in all non-local requests. Fixes gh-1684 Closes gh-2183
* Build: bower.json: remove moot `version` fieldChris Rebert2015-05-131-1/+0
| | | | | | | Related: https://github.com/bower/bower.json-spec/commit/a325da3d79baab018c572d75dc1781b12322f6cd Close gh-2304
* Offset: account for scroll when calculating positionRichard McDaniel2015-05-122-3/+17
| | | | | Fixes gh-1708 Close gh-1714
* Core: remove custom ready eventTimmy Willison2015-05-122-40/+30
| | | | | Fixes gh-2264 Close gh-2265
* Attributes: add SVG class manipulationTimmy Willison2015-05-122-33/+75
| | | | | | | | | - 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
* 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-122-13/+17
| | | | | | | | | | | - 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
* Core: Align code in intro.js with masterMichał Gołębiowski2015-05-121-8/+8
| | | | | | | | | | Since we're testing the factory code from intro.js on master only it's best to have those two files almost identical. This commit leaves only one difference between them: "jQuery Compat" vs. "jQuery" in the second line. Closes gh-2294
* CSS: Ignore the CSS cascade in show()/hide()/etc.Richard Gibson2015-05-118-443/+396
| | | | | | | | | | | | | | | | Fixes gh-1767 Fixes gh-2071 Closes gh-2180 (cherry picked from commit 86419b10bfa5e3b71a7d416288ab806d47a31d1f) Conflicts: src/css.js src/css/defaultDisplay.js src/effects.js test/data/testsuite.css test/unit/css.js test/unit/effects.js
* Build: append "+compat" to tag version and jQuery.fn.jqueryTimmy Willison2015-05-072-3/+3
| | | | | Fixes gh-2269 Close gh-2270
* Manipulation: privatize internal domManip() functionTimmy Willison2015-05-051-101/+100
| | | | Fixes gh-2225
* Manipulation: privatize buildFragment() functionTimmy Willison2015-05-0511-202/+265
| | | | Fixes gh-2224
* 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-053-18/+42
| | | | | Fixes gh-2219 Close gh-2218
* Core: remove isArraylike check for nodesMu Haibao2015-05-051-4/+0
| | | | | Fixes gh-2238 Close gh-2243
* Build: Remove npm from dependenciesCalvin Metcalf2015-05-051-1/+0
| | | | Close gh-2254
* Offset: allow offset setter to throw for disconnected elementsTimmy Willison2015-05-052-10/+2
| | | | Fixes gh-2114
* Offset: remove ownerDocument check in offset getterTimmy Willison2015-05-052-14/+6
| | | | Fixes gh-2115
* Offset: Fix .offset() to correctly work with ShadowDOMArthur Stolyar2015-05-052-19/+37
| | | | | 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-045-9/+9
| | | | Fixes gh-2228