aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Manipulation: Restore _evalUrl jQuery.ajax calls to dataType: scriptRichard Gibson2018-12-131-4/+8
| | | | | | IE and iOS <10 XHR transport does not succeed on data: URIs Ref gh-4243 Ref gh-4126 Closes gh-4258
* Manipulation: Only evaluate HTTP-successful script srcRichard Gibson2018-12-121-2/+7
| | | | | Fixes gh-4126 Closes gh-4243
* Core: Tiny efficiency fix to jQuery.extend / jQuery.fn.extend (#4246)Marja Hölttä2018-12-121-6/+8
| | | | | | | | | Read target[name] only when it's needed. In addition to doing the property read-only when needed, this avoids a slow path in V8 (see the issue for more details). Fixes gh-4245 Closes gh-4246
* Dimensions: fall back to offsetWidth/Height for border-box in IETimmy Willison2018-11-271-15/+18
| | | | | | | | - Use getClientRects() to explicitly detect hidden/disconnected elements Close gh-4223 Fixes gh-4102
* Ajax: Fix getResponseHeader(key) for IE11Andrei Fangli2018-11-261-3/+5
| | | | | | | | | | | - getResponseHeader(key) combines all header values for the provided key into a single result where values are concatenated by ', '. This does not happen for IE11 since multiple values for the same header are returned on separate lines. This makes the function only return the last value of the header for IE11. - Updated ajax headers test to better cover Object.prototype collisions Close gh-4173 Fixes gh-3403
* Core: Recognize Shadow DOM in attachment checksSaptak Sengupta2018-11-096-15/+26
| | | | | | | Allow `isAttached` to check Shadow DOM for attachment. Fixes gh-3504 Closes gh-3996 Ref gh-3977
* CSS: Don't read styles.position in the width/height cssHook unless necessaryMichał Gołębiowski-Owczarek2018-10-082-4/+8
| | | | | | | | | | | | Current width/height cssHook reads the computed position style even if not necessary as the browser passes the scrollboxSize support test. That has been changed. This commit also makes the scrollboxSize support test in line with all others (i.e. only return true or false) and changes the variable name in the hook to make the code clearer. Fixes gh-4185 Closes gh-4187
* CSS: Don't auto-append "px" to possibly-unitless CSS grid propertiesBert Zhang2018-08-291-0/+7
| | | | | | This commit adds some CSS grid-related properties to jQuery.cssNumber. Fixes gh-4007
* Manipulation: Properly detect HTML elements with single-character namesRichard Gibson2018-07-132-2/+6
| | | | Fixes gh-4124 Closes gh-4125
* Dimensions: fix computing outerWidth on SVGsJason Bedard2018-06-201-1/+4
| | | | Fixes gh-3964 Closes gh-4096
* Serialize: jQuery.param: return empty string when given null/undefinedTimmy Willison2018-06-201-0/+4
| | | | Fixes gh-2633 Close gh-4108
* Build: Remove unnecessary ESLint exceptionEd S2018-06-181-3/+0
| | | | | The linked-to issue was fixed 2 years ago. Closes gh-4095
* CSS: Don't auto-append "px" to CSS variables (#4064)Michał Gołębiowski-Owczarek2018-06-041-1/+3
| | | | Fixes gh-4063 Closes gh-4064
* squash! Set attributes all at once, src lastDave Methvin2018-05-141-8/+5
|
* Ajax: Allow custom attributes when script transport is usedDave Methvin2018-05-141-3/+3
| | | | | | | Fixes gh-3028 Ref gh-2612 Useful, for example, to add `nonce`, `integrity`, or `crossorigin`.
* Traversing: $.fn.contents() support for objectLuis Emilio Velasco Sanchez2018-05-141-12/+12
| | | | | Fixes gh-4045 Closes gh-4046
* CSS: Correctly detect scrollbox support with non-default zoomRichard Gibson2018-05-072-8/+12
| | | | Fixes gh-4029 Closes gh-4030
* CSS: Skip the px-appending logic for animations of non-element propsMichał Gołębiowski-Owczarek2018-04-301-1/+2
| | | | | | | Without this change animating properties from jQuery.cssNumber on non-elements throws an error. Ref gh-4055 Closes gh-4061
* Event: Add "code" property to Event objecttmybr112018-04-171-0/+1
| | | | | Fixes gh-3978 Closes gh-3998
* Dimensions: avoid fetching boxSizing when setting width/heightJason Bedard2018-03-251-2/+7
| | | | | | - this avoids forcing a reflow in some cases Fixes #3991
* CSS: Avoid filling jQuery.cssPropsDave Methvin2018-03-193-39/+48
| | | | | | | | Fixes gh-3986 Closes gh-4005 Avoids filling jQuery.cssProps by introducing a second internal prop cache. This allows jQuery Migrate to detect external usage.
* Core: Use isAttached to check for attachment of elementSaptak Sengupta2018-03-055-14/+27
| | | | | | | This change replaces the use of contains to check for attachment by isAttached function Closes gh-3977 Ref gh-3504
* Filter: Use direct filter in winnowSaptak Sengupta2018-01-171-12/+2
| | | | | | | for both simple and complex selectors Fixes gh-3272 Closes gh-3910
* Tests: fix tests in AMD modeTimmy Willison2018-01-162-7/+7
|
* Manipulation: Add support for scripts with module typebasil.belokon2018-01-163-5/+19
| | | | | Fixes gh-3871 Close gh-3869
* Core: deprecate jQuery.typeJason Bedard2018-01-167-23/+39
| | | | | Fixes gh-3605 Close gh-3895
* Core: deprecate jQuery.isNumericJason Bedard2018-01-152-14/+14
| | | | | Fixes gh-2960 Closes gh-3888
* Ajax: Don't process non-string data property on no-entity-body requestsDave Methvin2018-01-151-2/+2
| | | | | Fixes gh-3438 Closes gh-3781
* Event: Move event aliases to deprecatedDave Methvin2018-01-152-2/+3
| | | | Fixes gh-3214
* Core: deprecate jQuery.isFunctionJason Bedard2018-01-1521-78/+104
| | | | Fixes gh-3609
* Attributes: allow array param in add/remove/toggleClassTimmy Willison2018-01-081-8/+19
| | | | | | | | | +30 bytes instead of +182 Thanks to @faisaliyk for the first pass on this feature. Fixes gh-3532 Close gh-3917
* Manipulation: use `.children` to select tbody elementsTimmy Willison2018-01-081-1/+1
| | | | | - selectors beginning with a child combinator are not valid natively. This fixes the tests when using selector-native.js
* Core: deprecate jQuery.proxy (not slated for removal)Timmy Willison2018-01-083-32/+35
| | | | | Fixes gh-2958 Close gh-3885
* Core: deprecate jQuery.nowTimmy Willison2018-01-085-9/+7
| | | | | Fixes gh-2959 Close gh-3884
* Core: adjust data tests to ensure proper camelCasingTimmy Willison2018-01-081-1/+3
| | | | | - Add back camelCase to the public object (deprecate not remove) Ref #3384
* Core: make camelCase function available only for internal usageNilton Cesar2018-01-086-31/+42
| | | | | Close gh-3604 Fixes gh-3384
* CSS: Correctly set support properties with non-default zoomSaptak Sengupta2017-12-051-3/+7
| | | | Fixes gh-3808 Closes gh-3872
* Manipulation: Reduce size by eliminating single-use variableRichard Gibson2017-11-221-5/+2
| | | Closes gh-3851
* CSS: Detect more WebKit styles erroneously reported as percentagesRichard Gibson2017-09-185-19/+20
| | | | | Ref 692f9d4db30c9c6c4f6bc76005cf153586202fa6 Fixes gh-3777 Closes gh-3778
* CSS: Avoid unit-conversion interference from CSS upper boundsRichard Gibson2017-08-281-17/+19
| | | | Fixes gh-2144 Closes gh-3745
* Dimensions: Don't trust non-pixel computed width/heightRichard Gibson2017-08-071-2/+6
| | | | Fixes gh-3611 Closes gh-3741
* Dimensions: Improve offsetWidth/offsetHeight fallbackRichard Gibson2017-07-311-2/+9
| | | | | Fixes gh-3698 Fixes gh-3602 Closes gh-3738
* Ajax: add an ontimeout handler to all requestsErik Lax2017-07-241-2/+3
| | | | | Fixes gh-3586 Close gh-3590
* Support: Properly check for IE9 absolute scrollbox mishandlingRichard Gibson2017-07-182-23/+23
| | | | | | Ref gh-3589 Fixes gh-3699 Fixes gh-3730 Closes gh-3729
* Dimensions: Detect and account for content-box dimension mishandlingRichard Gibson2017-07-102-11/+32
| | | | Fixes gh-3699 Closes gh-3700
* Offset: fix error from bad merge in #3695Jason Bedard2017-07-101-2/+2
|
* Revert "Offset: Resolve strict mode ClientRect "no setter" exception"Jason Bedard2017-07-101-4/+2
| | | | This reverts commit 3befe5911af0cf516896482bb9ddf197c8cb8a8e.
* Core: Deprecate jQuery.isWindowShashanka Nataraj2017-07-106-17/+25
| | | | | Fixes gh-3629 Close gh-3702
* Event: `stopPropagation()` on native event-handlerPierre Spring2017-07-101-4/+17
| | | | | Fixes gh-3693 Close gh-3694
* Deferred: fix memory leak of promise callbacksJason Bedard2017-06-201-1/+8
| | | | Fixes gh-3606 Closes gh-3657