aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Core:CSS: Attach test nodes to documentElement, not bodyMichał Gołębiowski2015-08-163-26/+6
| | | | | | | | | | | | Attaching test divs to document.documentElement instead of document.body used to cause issues in jQuery 1.x; jQuery Compat doesn't execute any tests on document ready, though so it could be aligned with master. This makes jQuery Compat support tests work correctly even if jQuery is included & used in head before body even exists - making it similar to the master behavior. Fixes gh-2502
* Event: Reduce differences from masterRichard Gibson2015-08-101-7/+6
|
* Core: Don't expose jQuery.accessMichał Gołębiowski2015-08-041-1/+1
| | | | | | | jQuery.access was never documented, there is no need to keep it exposed. Fixes gh-2513 Closes gh-2524
* Build: Add a comment explaining why the es3 option is neededMichał Gołębiowski2015-08-031-0/+3
| | | | | | | | | | | | It might not be obvious to everyone that IE 9 & Android 4.0 are not ES5-compliant browsers (by a large margin) so it's better to add a support comment. This requires slight changes in parsing the config file as it's not a pure JSON anymore. JSHint understands such files without problems. (cherry-picked from 669cb16d763cb5486dadd56ec15a17b2b0303571) Closes gh-2520
* Event: Update support comments for mouseenter/mouseleave implementationMichał Gołębiowski2015-07-271-7/+4
| | | | | | | | | | | Custom mouseenter/mouseleave implementation was needed because of: 1. Safari 6 not implementing mouseenter/mouseleave at all. 2. Chrome sending mouseenter too often. The second issue has been fixed in Chrome but exists now in Safari 7 (it's fixed in Safari 8) so we have to keep it for now, unfortunately. (cherry-picked from 2792845534e36c39dbb9c8369ed96aaefa560081)
* Core: Adjust comments & tests after dropping Safari 6 supportMichał Gołębiowski2015-07-272-1/+2
| | | | | | | | | | Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. (cherry-picked from 93bee4701d14202045a88aab156da0daf9418430) Refs gh-2482
* Core: .each/.map should accept an undefined/null valueThomas Tortorini2015-07-271-11/+9
| | | | | | | (cherry-picked from bf48c21d225c31f0f9b5441d95f73615ca3dcfdb) Fixes gh-2267 Closes gh-2363
* Core: Add a support comment for Safari 8Michał Gołębiowski2015-07-201-0/+5
| | | | | | | | | | Related issue: https://bugs.webkit.org/show_bug.cgi?id=137337 Thanks @phistuck! (cherry-picked from d24275372624bac897c4131fd1507a58c09a1483) Refs cfe468f29c4cbe1a457d0feb17dec90dcfd7c280
* Ajax: Remove jsonp callbacks through "jQuery#removeProp" methodOleg Gaidarenko2015-07-131-2/+8
| | | | | | Fixes gh-2323 Closes gh-2464 Ref a2ae215d999637e8d9d0906abcbf6b1ca35c8e6e
* CSS: Make .css("width") & .css("height") return fractional valuesMichał Gołębiowski2015-07-072-11/+35
| | | | | | Fixes gh-1724 Closes gh-2454 Refs gh-2439
* Deferred: add .catch handlerTimmy Willison2015-07-061-0/+3
| | | | Fixes gh-2102
* CSS: Improve a comment explaining IE11 fullscreen bugMichał Gołębiowski2015-07-011-1/+2
| | | | (cherry-picked from 8e4aac8cb03ffb88373ea99629165d82ff5eccdd)
* Tests: Fix merge conflictCorey Frang2015-06-261-3/+0
| | | | | | Introduced in 6b10f9d7e9fb6d062d2bbda49196544cd059b05c originally. Had a rebase conflict that I fixed but forgot to ⌘-s. ☹
* Effects: Adding unit tests for jQuery.AnimationCorey Frang2015-06-261-18/+29
| | | | | | | | | Closes gh-2340 (cherry picked from commit b3b2d6c3dd51fbdc69e1942e9af75cc99a1834c2) Conflicts: src/effects.js
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-261-3/+5
| | | | | | | Conflicts: src/selector-native.js test/index.html test/unit/effects.js
* CSS: make the getStyles function more readableThomas Tortorini2015-06-251-3/+5
| | | | | | (cherry-picked from 3a0d582cf63b6e8f77150d9c38d2bf34d0c7790e) Closes gh-2393
* Attributes: fix IE8 issuesGilad Peleg2015-06-252-24/+105
| | | | Follow-up for d0388e9e806ca3b30e7bbaaa1c336b7c98dc5f88
* Core: organize prop & attr code to be similarGilad Peleg2015-06-232-154/+81
| | | | | Ref 5153b5334eb2c8317372b46209bd9d092a91afdc Closes gh-2426
* CSS: Work around an IE11 fullscreen dimensions bugMartin Naumann2015-06-231-0/+11
| | | | | | | (cherry-picked from 90d828bad0d6d318d73d6cf6209d9dc7ac13878c) Fixes gh-1764 Closes gh-2401
* Core: Change support.ownLast to support.ownFirstMichał Gołębiowski2015-06-232-2/+2
| | | | | | | | jQuery.support.ownLast was the only support test that was supposed to be false when it succeeded. It was confusing. Fixes gh-2406 Closes gh-2408
* Offset: add tests for hidden elements + scrollTimmy Willison2015-06-161-7/+13
| | | | | - Also add comments to hidden/disconnected tests noting this is to ensure consistency between branches
* 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-161-1/+4
| | | | | Fixes gh-2310 Close gh-2396
* Revert "Offset: allow offset setter to throw for disconnected elements"Timmy Willison2015-06-161-1/+1
| | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3.
* 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-131-0/+10
| | | | | | | | | | | | 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-131-0/+1
| | | | | | | 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)
* 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
* 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-011-9/+7
| | | | | | | | | | | | | | | | | | | 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-291-6/+12
| | | | | Ref 6df669f0fb87cd9975a18bf6bbe3c3548afa4fee Ref gh-2336
* 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-191-2/+2
| | | | | | | (Cherry-picked from 0705be475092aede1eddae01319ec931fb9c65fc) Fixes gh-2286 Closes gh-2287 Ref trac-11733
* Event: provide verbose info for focus(in | out) & rename support propsOleg Gaidarenko2015-05-192-13/+20
| | | | | 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-181-9/+23
| | | | | | | | | 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
* Offset: account for scroll when calculating positionRichard McDaniel2015-05-121-2/+5
| | | | | Fixes gh-1708 Close gh-1714
* Core: remove custom ready eventTimmy Willison2015-05-121-7/+0
| | | | | Fixes gh-2264 Close gh-2265
* Attributes: add SVG class manipulationTimmy Willison2015-05-121-33/+47
| | | | | | | | | - 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
* CSS: fix :visible/:hidden selectors for inline element w/ contentTimmy Willison2015-05-121-6/+4
| | | | | | | | | | | - 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-114-202/+150
| | | | | | | | | | | | | | | | 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-071-1/+1
| | | | | Fixes gh-2269 Close gh-2270
* Manipulation: privatize internal domManip() functionTimmy Willison2015-05-051-101/+100
| | | | Fixes gh-2225